ossimlabs / ossim

Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
MIT License
295 stars 142 forks source link

Support M3 compressed data. #282

Closed kjurka closed 2 years ago

kjurka commented 2 years ago

M3 data is the same as C3 (jpeg compression) with the addition of a block mask. This block mask indicates which blocks are empty and not included in the file.

Remove faulty assumption that M3 data must have a pad pixel mask even if the header says the pad pixel mask does not exist.

Remap the block offsets/sizes from masked to absolute so the normal block lookup procedure works.

Tested on the AFRL Greene 07 dataset.