#include <vil_nitf2_data_mask_table.h>
When present, a vil_nitf2_image_subheader() will use this class to extract the table from the file. It reads a vil_stream, via the parse() method and will return false if it failed.
Definition at line 21 of file vil_nitf2_data_mask_table.h.
Public Member Functions | |
| vil_nitf2_data_mask_table (unsigned int numBlocksX, unsigned int numBlocksY, unsigned int numBands, const vcl_string imode) | |
| bool | parse (vil_stream *stream) |
| bool | has_offset_table () const |
| If this function returns true, then you may call. | |
| bool | has_pad_pixel_table () const |
| If this function returns true, then you may call. | |
| vxl_uint_32 | blocked_image_data_offset () const |
| vxl_uint_32 | block_band_present (unsigned int block_x, unsigned int block_y, int band=-1) const |
| Returns true iff this block is present in the data. False otherwise. | |
| vxl_uint_32 | block_band_offset (unsigned int block_x, unsigned int block_y, int band=-1) const |
| if imode == "S", then the band argument is used and I will return the offset to 'band' if imode != "S", then the band argument is ignored, and I will return the offset to the beginning of the requested block | |
| vxl_uint_32 | pad_pixel (unsigned int block_x, unsigned int block_y, int band) const |
| band argument is ignored if imode != "S". | |
| vxl_uint_32 | block_band_has_pad (unsigned int block_x, unsigned int block_y, int band=-1) const |
Static Public Member Functions | |
| static void | maybe_endian_swap (char *a, unsigned sizeOfAInBytes, vil_pixel_format pixFormat) |
| static void | maybe_endian_swap (char *a, unsigned sizeOfAInBytes, unsigned int bytesPerSample) |
Protected Attributes | |
| vxl_uint_32 | IMDATOFF |
| vxl_uint_16 | BMRLNTH |
| vxl_uint_16 | TMRLNTH |
| vxl_uint_16 | TPXCDLNTH |
| vxl_uint_32 | TPXCD |
| vcl_vector< vcl_vector< vcl_vector< vxl_uint_32 > > > | BMR_n_BND_m |
| vcl_vector< vcl_vector< vcl_vector< vxl_uint_32 > > > | TMR_n_BND_m |
| unsigned int | num_blocks_x |
| unsigned int | num_blocks_y |
| unsigned int | num_bands |
| vcl_string | i_mode |
|
||||||||||||||||||||
|
Definition at line 11 of file vil_nitf2_data_mask_table.cxx. |
|
||||||||||||||||
|
Definition at line 203 of file vil_nitf2_data_mask_table.cxx. |
|
||||||||||||||||
|
if imode == "S", then the band argument is used and I will return the offset to 'band' if imode != "S", then the band argument is ignored, and I will return the offset to the beginning of the requested block
Definition at line 107 of file vil_nitf2_data_mask_table.cxx. |
|
||||||||||||||||
|
Returns true iff this block is present in the data. False otherwise. If this returns false, then there is not sense calling block_band_offset for this band/block combination. It will return 0xFFFFFFFF. If this returns false, then this entire block/band is considered to be blank. Definition at line 192 of file vil_nitf2_data_mask_table.cxx. |
|
|
Definition at line 102 of file vil_nitf2_data_mask_table.cxx. |
|
|
If this function returns true, then you may call.
Definition at line 29 of file vil_nitf2_data_mask_table.h. |
|
|
If this function returns true, then you may call.
Definition at line 32 of file vil_nitf2_data_mask_table.h. |
|
||||||||||||||||
|
Definition at line 175 of file vil_nitf2_data_mask_table.cxx. |
|
||||||||||||||||
|
Definition at line 163 of file vil_nitf2_data_mask_table.cxx. |
|
||||||||||||||||
|
band argument is ignored if imode != "S". .. i.e. all bands have the same pad pixel in that case Definition at line 120 of file vil_nitf2_data_mask_table.cxx. |
|
|
Definition at line 20 of file vil_nitf2_data_mask_table.cxx. |
|
|
Definition at line 77 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 60 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 86 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 58 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 85 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 83 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 84 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 81 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 62 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 71 of file vil_nitf2_data_mask_table.h. |
|
|
Definition at line 64 of file vil_nitf2_data_mask_table.h. |
1.4.4