bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / io / collection / ImageCollection / __getitem__
function
skimage.io.collection:ImageCollection.__getitem__
source: /dev/scikit-image/src/skimage/io/collection.py :284
Signature
def __getitem__ ( self , n ) Summary
Return selected image(s) in the collection.
Extended Summary
Loading is done on demand.
Parameters
n: int or sliceThe image number to be returned, or a slice selecting the images and ordering to be returned in a new ImageCollection.
Returns
img: ndarray or :class:`~.ImageCollection`The
n-th image in the collection, or a new ImageCollection with the selected images.
Aliases
-
skimage.io.ImageCollection.__getitem__