Giter VIP home page Giter VIP logo

Comments (5)

aous72 avatar aous72 commented on May 24, 2024

The test.j2c file employs with high-quality lossy compression. For lossless compression, the size would be around 471079. JPH is less efficient than J2K by a small amount, in the order of, I think, 5-7% (see the white paper), but it has significantly lower computational complexity.

I forgot what command line was used to obtain the lena image, but this command
../bin/ojph_compress -i lena.ppm -o test.j2c -num_decomps 5
should produce largely similar results. To obtain a lossless version of it, use
../bin/ojph_compress -i lena.ppm -o test.j2c -num_decomps 5 -reversible true

I agree that it can be useful to provide more usage examples than the two examples provided in README.MD; however, providing images is beyond the scope of the work. Images have their associated licences, and they should not be very large; perhaps you can help with providing images.

Cheers,
Aous.

from openjph.

chafey avatar chafey commented on May 24, 2024

I can help with images and will keep them small. How about a new folder at the root called /images that has the source images, j2c result images and a script to run ojph_compress with the right settings to generate the j2c result images?

from openjph.

aous72 avatar aous72 commented on May 24, 2024

This seems like a good idea. Please provide these images. I hope there are no licensing issues, and the images can be provided under the 2-clause BSD license.

Thank you Chris.

from openjph.

chafey avatar chafey commented on May 24, 2024

I have some pictures I own so will use those - no licensing issues :)

from openjph.

chafey avatar chafey commented on May 24, 2024

I extracted the RAW frames from some freely available DICOM images and converted them to J2C here:

https://github.com/chafey/openjphjs/tree/master/test/fixtures/j2c

Feel free to use them as you see fit. I don't know what license (if any) these were released under, but they were made available for the public to use

from openjph.

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.