Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malaterre/saj
Simple API for JPEG 2000
https://github.com/malaterre/saj
Last synced: 6 days ago
JSON representation
Simple API for JPEG 2000
- Host: GitHub
- URL: https://github.com/malaterre/saj
- Owner: malaterre
- Created: 2012-04-16T10:02:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T12:57:38.000Z (over 8 years ago)
- Last Synced: 2024-10-29T09:19:30.963Z (about 2 months ago)
- Language: C
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is the temporary location of the Simple API for JPEG 2000 project
The aim of this project is to provide an API for application programmer to
quickly retrieve meta information about a JP2 file or a J2K codestream.In the longer term this project will be merged into OpenJPEG project itself.
It only compiles on GNU/Linux so far. Once merged into OpenJPEG it will
automagically be made portableCompilation:
$ cmake .
$ makeHow to use:
$ ./jpegdump input.j2k > ref1
Compare with our own
$ ./d3tdump input.j2k > ref2
$ vimdiff ref1 ref2
If you have access to PIRL java package:
$ wget ftp://pirlftp.lpl.arizona.edu/pub/Java/PIRL.jar
for jp2 file, use:
$ java -classpath PIRL.jar PIRL.Image_Tools.JP2_Info input.jp2 > ref1
or (for J2K):
$ java -classpath PIRL.jar PIRL.Image_Tools.JPEG2000_Codestream_Info input.j2k > ref1
now compare:
$ ./pirldump input.j2k > ref2
$ vimdiff ref1 ref2
You can also download the original conformance files:
http://sourceforge.net/projects/jpeg/files/jpeg2000_images/jpeg2000_images/j2kp4files_v1_5.zip
And then use:
$ ./avdump J2KP4files/testfiles_jp2/file8.jp2 > out
now compare:
$ vimdiff out J2KP4files/descriptions_jp2/file8.desc
it works with J2K too:
$ ./avdump J2KP4files/codestreams_profile0/p0_14.j2k > out
now compare:
$ vimdiff out J2KP4files/descriptions_profile0/p0_14syntax.txt
-- Mathieu Malaterre