Closed toloudis closed 4 months ago
BioImage should be able to wrap an already in memory numpy array.
This previously existed in aicsimageio and some scientists have asked for it.
Bring this implementation over: https://github.com/AllenCellModeling/aicsimageio/blob/main/aicsimageio/readers/array_like_reader.py Add it to bioio. Plugin selection can check for arraylike first and apply this reader if a numpy array is passed in instead of a path/url etc.
Feature Description
BioImage should be able to wrap an already in memory numpy array.
Use Case
This previously existed in aicsimageio and some scientists have asked for it.
Solution
Bring this implementation over: https://github.com/AllenCellModeling/aicsimageio/blob/main/aicsimageio/readers/array_like_reader.py Add it to bioio. Plugin selection can check for arraylike first and apply this reader if a numpy array is passed in instead of a path/url etc.