Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose nitf::BandInfo to python #353

Closed
ianrcooke opened this issue Sep 23, 2020 · 0 comments
Closed

Expose nitf::BandInfo to python #353

ianrcooke opened this issue Sep 23, 2020 · 0 comments

Comments

@ianrcooke
Copy link

The NITF BandInfo portion of the Image Segment Subheader is not exposed in the six sicd Python bindings and thus values in the BandInfo can't be accessed.

I'm not sure what six-library's stance is regarding exposure of NITF elements to Python, but it would be convenient to access all NITF data via one API rather than having to try to glue together different solutions, e..g opening the file both in nitro's and six-library's python bindings.

This is fairly straightforward to expose simply by %include nitf/BandInfo.hpp; and then dealing with LookupTable's lack of a default constructor, either by defining one in the .i file, or ignoring the offending method via %ignore nitf::BandInfo::getLookupTable;

See also #352 regarding access to BandInfo in the first place.

@ngageoint ngageoint locked and limited conversation to collaborators Apr 26, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants