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

New plugin based on BSDF #316

Merged
merged 5 commits into from
Mar 12, 2018
Merged

New plugin based on BSDF #316

merged 5 commits into from
Mar 12, 2018

Conversation

almarklein
Copy link
Member

This adds a plugin to store image data in BSDF files. BSDF is a generic data format capable of storing ndarrays. We make use of an extension to add semantics to such an nd array (whether its 2D or 3D to be precise) and add meta data. In this way, we can store singleton images/volumes, as well as series thereof.

BSDF is a simple format and implemented in pure Python. It allows lazy loading of data and streaming. For imageio this means that you can stream a series of images from a remote url, or open a single file containing multiple images and read only a few, without the whole file being read.

BSDF also has implementation in Matlab and JS, so this could be a good way to e.g. send images to JS over a websocket.

Closes #14

@coveralls
Copy link

coveralls commented Mar 12, 2018

Coverage Status

Coverage decreased (-1.3%) to 91.784% when pulling 21955ed on bsdf into abf4a63 on master.

@almarklein almarklein merged commit 368c724 into master Mar 12, 2018
@jni
Copy link
Contributor

jni commented Mar 13, 2018

@almarklein sorry that I haven't contributed here for a very long time, but just wanted to say 👏👏👏! This looks very nice! =) The proliferation of formats is annoying but it is heavily mitigated if they come with corresponding parsers that make it into "standard" IO libraries. =)

@almarklein almarklein deleted the bsdf branch March 13, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants