ahnlabb / BioformatsLoader.jl

A julia package to load images using bioformats
Other
17 stars 7 forks source link

Opening files with ranges. #24

Closed RainerHeintzmann closed 2 years ago

RainerHeintzmann commented 2 years ago

This code adds the capability to only open selected sets (via the optional subset argument) and ranges (via the optional subidx argument) within BioFormats. This is achieved by directly accessing only the series which matter in the dataset. This can massively reduce the required memory. For ranges in the dimensions, which are contained within one series, the extraction of the range is performed on a slice by slice basis individually after loading each slice. A function get_num_sets to retrieve the number of sets has also been added.

RainerHeintzmann commented 2 years ago

Thanks for the suggestions. I implemented these in the new version also adding get_RGB_channel_count(). Yet I did not delve into the interleave things you mentioned. Is this OK now?

ahnlabb commented 2 years ago

Thank you @RainerHeintzmann, I've merged this now and will soon release a new version that includes this feature.

RainerHeintzmann commented 2 years ago

Great! Looking forward to the new release!

On Mon, 10 Oct 2022 at 12:10, Johannes Kumra Ahnlide < @.***> wrote:

Thank you @RainerHeintzmann https://github.com/RainerHeintzmann, I've merged this now and will soon release a new version that includes this feature.

— Reply to this email directly, view it on GitHub https://github.com/ahnlabb/BioformatsLoader.jl/pull/24#issuecomment-1273082768, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZVV26P4OW6SEBHJOYRYFTWCPTS3ANCNFSM6AAAAAAQLJY2XU . You are receiving this because you were mentioned.Message ID: @.***>