skimage 0.17.2

NotesParametersBackRef

Notes

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.

Parameters

filename : str

The complete path to the image file.

conserve_memory : bool, optional

Whether to conserve memory by only caching a single frame. Default is True.

A class containing a single multi-frame image.

Examples

This example is valid syntax, but we were not able to check execution
>>> from skimage import data_dir
This example is valid syntax, but we were not able to check execution
>>> img = MultiImage(data_dir + '/multipage.tif') # doctest: +SKIP
... len(img) # doctest: +SKIP 2
This example is valid syntax, but we were not able to check execution
>>> for frame in img: # doctest: +SKIP
...  print(frame.shape) # doctest: +SKIP (15, 10) (15, 10)
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

skimage.io.collection.MultiImage

Local connectivity graph

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


File: /skimage/io/collection.py#395
type: <class 'type'>
Commit: