bebi103.image.simple_image_collection

bebi103.image.simple_image_collection(im_glob, load_func=<function imread>, conserve_memory=True, **load_func_kwargs)

Load a collection of images.

Parameters
  • load_pattern (string or list) – If string, uses glob to generate list of files containing images. If list, this is the list of files containing images.

  • load_func (callable, default skimage.io.imread) – Function to be called to load images.

  • conserve_memory (bool, default True) – If True, do not load all images into RAM. If False, load all into a list.

Returns

ic – ic[n] gives image n of the image collection.

Return type

SimpleImageCollection instance

Notes

Any keyword arguments except those listed above are passed into load_func as kwargs.

This is a much simplified (and therefore faster) version of skimage.io.ImageCollection.