Comments (6)
Minimal support for missing marker segments added in 1.7.0. Full support to follow later ..
from jpylyzer.
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.
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.
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.
PR for plt segment here: #170, which will further this issue a bit.
from jpylyzer.
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)
- Add missing exception type HOT 1
- Check Pep8 compliance and fix HOT 1
- Report compression ratio for raw codestreams HOT 1
- maxOneCqccPerComponent and maxOneCcocPerComponent are overly restrictive HOT 1
- Check for COC and QCC markers that are not in first tile-part of a tile HOT 2
- Command line options not set correctly in 2-2-dev HOT 1
- Add file-level warnings to output file HOT 1
- Debian package build process fails HOT 4
- Debian package name of RC releases modified by Github
- Remove test CPFnumConsistentWithRsiz (and possibly also CPFnumConsistentWithPRFnum) HOT 1
- Running Debian build script results in deprecation warning
- Dockerfile issue with --install-option=\"--prefix=/install\" HOT 1
- Calculation of numberOfTilesX and numberOfTilesY subtracts xOsiz/yOsiz instead of xTOsiz/yTOsiz HOT 5
- Add more HTJ2K test files
- Docker PyPI script broken / outdated HOT 1
- Jpylyzer fails with "unknown error" HOT 1
- Adobe Photoshop images with erroneous tile-part information no longer result in validation error HOT 2
- Unit tests broken? HOT 3
- Question about new PLM marker support HOT 3
- Contribution: Validating ICC Profile HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpylyzer.