imsave

imsave skimage.external.tifffile.imsave(filename, data, **kwargs) [source] Write image data to TIFF file. Refer to the TiffWriter class and member functions for documentation. Parameters: filename : str Name of file to write. data : array_like Input image. The last dimensions are assumed to be image depth, height, width, and samples. kwargs : dict Parameters ‘byteorder’, ‘bigtiff’, and ‘software’ are passed to the TiffWriter class. Parameters ‘photometric’, ‘planarconfig’, ‘resolution’

imsave

imsave skimage.io.imsave(fname, arr, plugin=None, **plugin_args) [source] Save an image to file. Parameters: fname : str Target filename. arr : ndarray of shape (M,N) or (M,N,3) or (M,N,4) Image data. plugin : str Name of plugin to use. By default, the different plugins are tried (starting with the Python Imaging Library) until a suitable candidate is found. If not given and fname is a tiff file, the tifffile plugin will be used. Other Parameters: plugin_args : keywords Passed to

imread-collection

imread_collection skimage.io.imread_collection(load_pattern, conserve_memory=True, plugin=None, **plugin_args) [source] Load a collection of images. Parameters: load_pattern : str or list List of objects to load. These are usually filenames, but may vary depending on the currently active plugin. See the docstring for ImageCollection for the default behaviour of this parameter. conserve_memory : bool, optional If True, never keep more than one in memory at a specific time. Otherwise, imag

imread-collection-wrapper

imread_collection_wrapper skimage.io.imread_collection_wrapper(imread) [source]

imread

imread skimage.external.tifffile.imread(files, **kwargs) [source] Return image data from TIFF file(s) as numpy array. The first image series is returned if no arguments are provided. Parameters: files : str or list File name, glob pattern, or list of file names. key : int, slice, or sequence of page indices Defines which pages to return as array. series : int Defines which series of pages in file to return as array. multifile : bool If True (default), OME-TIFF data may include pages

imread

imread skimage.data.imread(fname, as_grey=False, plugin=None, flatten=None, **plugin_args) [source] Load an image from file. Parameters: fname : string Image file name, e.g. test.jpg or URL. as_grey : bool If True, convert color images to grey-scale (32-bit floats). Images that are already in grey-scale format are not converted. plugin : str Name of plugin to use. By default, the different plugins are tried (starting with the Python Imaging Library) until a suitable candidate is found.

imread

imread skimage.io.imread(fname, as_grey=False, plugin=None, flatten=None, **plugin_args) [source] Load an image from file. Parameters: fname : string Image file name, e.g. test.jpg or URL. as_grey : bool If True, convert color images to grey-scale (32-bit floats). Images that are already in grey-scale format are not converted. plugin : str Name of plugin to use. By default, the different plugins are tried (starting with the Python Imaging Library) until a suitable candidate is found. I

immunohistochemistry

immunohistochemistry skimage.data.immunohistochemistry() [source] Immunohistochemical (IHC) staining with hematoxylin counterstaining. This picture shows colonic glands where the IHC expression of FHL2 protein is revealed with DAB. Hematoxylin counterstaining is applied to enhance the negative parts of the tissue. This image was acquired at the Center for Microscopy And Molecular Imaging (CMMI). No known copyright restrictions.

img-as-uint

img_as_uint skimage.util.img_as_uint(image, force_copy=False) [source] Convert an image to 16-bit unsigned integer format. Parameters: image : ndarray Input image. force_copy : bool Force a copy of the data, irrespective of its current dtype. Returns: out : ndarray of uint16 Output image. Notes Negative input values will be clipped. Positive values are scaled between 0 and 65535.

img-as-ubyte

img_as_ubyte skimage.util.img_as_ubyte(image, force_copy=False) [source] Convert an image to 8-bit unsigned integer format. Parameters: image : ndarray Input image. force_copy : bool Force a copy of the data, irrespective of its current dtype. Returns: out : ndarray of ubyte (uint8) Output image. Notes Negative input values will be clipped. Positive values are scaled between 0 and 255.