5 ms·
I work with large-scale neuroscience imaging, and this is exactly how we compress 3D image stacks (i.e. 3d volumes) captured with confocal microscopes. Since ad
by anewlanguage 5y ago
I work with large-scale neuroscience imaging, and this is exactly how we compress 3D image stacks (i.e. 3d volumes) captured with confocal microscopes. Since adjacent frames are usually quite similar, there's a ton of redundancy that H.265 can exploit, and the compression ratios are amazing. For multi-channel volumetric imaging, we use ffmpeg to encode each channel as a movie and then combine all the channels into a single HDF5 file.
- walrus01 5y agoHave you tried any of the open source AVIF image encoding tools, derived from AV1 video encoders?
- andbberger 5y agoFIJI plugin?
- anewlanguage 5y agoYes: https://github.com/fiji/H5J_Loader_Plugin https://github.com/fiji/H5J_Loader_Plugin
- andbberger 5y agoAh, I should have guessed, I've done my time on the farm
- trombonechamp 5y agoOh wow, this is a great idea. How do you deal with the lossy compression? There must be a lossless codec which uses the redundancy better than deflate?
- anewlanguage 5y agoThis format is meant for visualization in 3d, and even though it's lossy, it's "visually lossless" for humans. We to start with the archived lossless stacks (compressed with bz2) for any reprocessing. What you're suggesting with a lossless movie codec would be a great addition, we just haven't had the need for it yet.
- robocat 5y agoDo you get 3D compression artifacts? I love the idea that you rotate a spacial dimension into a time dimension, and after decompression you get artifacts from the time dimension visualised in a space dimension again.
- anewlanguage 5y agoWe don't get visible artifacts because we dialed-in the CRF value to our data. But that sounds like a neat experiment to try.