Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blosc2 has recently implemented a plugin for OpenHTJ2K #147

Open
FrancescAlted opened this issue Sep 16, 2023 · 3 comments
Open

Blosc2 has recently implemented a plugin for OpenHTJ2K #147

FrancescAlted opened this issue Sep 16, 2023 · 3 comments

Comments

@FrancescAlted
Copy link

First of all, thanks for your great work in the making of OpenHTJ2K @osamu620 !

This is just to inform that Blosc2 has recently introduced support for using the OpenHTJ2K codec, with codec ID 36. With it, it is possible to use OpenHTJ2K from any Blosc2 application transparently. We are distributing binary wheels of the plugin (only for x86_64 for now) that can be used either from Python or C applications.

This is our first public version, but we plan to continue improving our support for it. For example, we have noted that OpenHTJ2K is not thread-safe, so applications on top of it (like Blosc2) cannot call it from different threads. We have been playing with internal threading support in OpenHTJ2K, but we are not seeing a lot of acceleration. Do we need to use very large images for seeing actual speed-ups?

Thanks again and keep the good work!

@osamu620
Copy link
Owner

@FrancescAlted

Thanks for letting me know. I'm happy to hear that OpenHTJ2K is supported in Blosc2.

To achieve actual speed-ups with multi-threading, the internal processing pipeline of OpenHTJ2K should be line-based, which is more cache-friendly but requires lots of work. Now I'm trying to implement the line-based algorithm.

@FrancescAlted
Copy link
Author

Great to hear that you are interested in implementing the line-based algorithm! If you need help in one way or another, do not hesitate to tell me about this. Thanks!

@FrancescAlted
Copy link
Author

FWIW, here are the slides for the first public presentation of the OpenHTJ2K plugin for Blosc2: https://www.blosc.org/docs/2023-European-HUG-HDF5-Blosc2.pdf
As you can see, we are quite excited about your library :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants