If conserve_memory=True
the memory footprint can be reduced, however the performance can be affected because frames have to be read from file more often.
The last accessed frame is cached, all other frames will have to be read from file.
The current implementation makes use of tifffile
for Tiff files and PIL otherwise.
The complete path to the image file.
Whether to conserve memory by only caching a single frame. Default is True.
A class containing a single multi-frame image.
>>> from skimage import data_dirThis example is valid syntax, but we were not able to check execution
>>> img = MultiImage(data_dir + '/multipage.tif') # doctest: +SKIPThis example is valid syntax, but we were not able to check execution
... len(img) # doctest: +SKIP 2
>>> for frame in img: # doctest: +SKIPSee :
... print(frame.shape) # doctest: +SKIP (15, 10) (15, 10)
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.io.collection.MultiImage
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them