You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working with the NITRO library for handling NITF files and am encountering an issue when trying to populate the nitf_BandInfo **bandInfo field within ImageSubheader.
Environment:
Language: Python
Library: NITRO
Relevant Files: nitro/modules/c/nitf/include/nitf/ImageSubheader.h and nitro/modules/c/nitf/include/nitf/BandInfo.h
Issue Description:
The ImageSubheader.h file defines most image subheader fields as type nitf_Field, for example:
nitf_Field*numRows;
nitf_Field*numCols;
In Python, I have managed to populate these fields successfully:
I'm struggling with the field nitf_BandInfo **bandInfo. The nitf_BandInfo is a struct defined in nitro/modules/c/nitf/include/nitf/BandInfo.h. I've attempted to fill this field but encountered difficulties.
Questions:
How should I properly instantiate and assign values to nitf_BandInfo **bandInfo from Python?
Is there a specific method or part of the API that facilitates handling pointers to structures in Python?
The text was updated successfully, but these errors were encountered:
Hello,
I am currently working with the NITRO library for handling NITF files and am encountering an issue when trying to populate the
nitf_BandInfo **bandInfo
field withinImageSubheader
.Environment:
nitro/modules/c/nitf/include/nitf/ImageSubheader.h
andnitro/modules/c/nitf/include/nitf/BandInfo.h
Issue Description:
The
ImageSubheader.h
file defines most image subheader fields as typenitf_Field
, for example:In Python, I have managed to populate these fields successfully:
I'm struggling with the field
nitf_BandInfo **bandInfo
. Thenitf_BandInfo
is a struct defined innitro/modules/c/nitf/include/nitf/BandInfo.h
. I've attempted to fill this field but encountered difficulties.Questions:
The text was updated successfully, but these errors were encountered: