Giter Club home page Giter Club logo

Comments (6)

bitsgalore avatar bitsgalore commented on June 5, 2024

Minimal support for missing marker segments added in 1.7.0. Full support to follow later ..

from jpylyzer.

bitsgalore avatar bitsgalore commented on June 5, 2024

Started with COC marker here. Turns out the SPCOC parameter follows the same format as SPCOD in the COD marker. So first refactor code for parsing in COD, then re-use in COC.

Similarly the QCC marker reuses things from QCD.

from jpylyzer.

bitsgalore avatar bitsgalore commented on June 5, 2024

For additional test images see JP2s in Tika Regression corpus:

http://162.242.228.174/share/jp2.tgz

Update - this yielded images with qcc, tlm and crg markers!

The openjpeg-data repo contains some more images with coc markers.

from jpylyzer.

bitsgalore avatar bitsgalore commented on June 5, 2024

UPDATE: current jpylyzer-2-dev branch now includes validation of COC, QCC, POC, RGN and CRG markers segments, which means that all delimiting (section A.4), fixed information (section A.5), functional (section A.6) and informational marker segments (section A.9) are now covered. Not included (yet) are:

  • Pointer marker segments (section A.7): TLM, PLM, PLT, PPM, PPT
  • In-bit-stream marker segments (section A.8): SOP, EPH. These are packet-level error resilience marker segments which should probably remain out of scope because including them would involve parsing the bit stream, which would probably slow down jpylyzer quite a lot and also result in overly verbose output.

Note that jpylyzer-test-files now has at least 1 test image for all of the above marker segments.

from jpylyzer.

VirtualTim avatar VirtualTim commented on June 5, 2024

PR for plt segment here: #170, which will further this issue a bit.

from jpylyzer.

bitsgalore avatar bitsgalore commented on June 5, 2024

Further update: @boxerab provided some useful pointers (sample files + code) for TLM parsing here:

Here is an example of an image with a corrupt TLM marker:

https://l3harrisgeospatial-webcontent.s3.amazonaws.com/MM_Samples/Pleiades_ORTHO_UTM_BUNDLE.zip

also, here is some code that parses a TLM marker

from jpylyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.