rgb2xyz

rgb2xyz skimage.color.rgb2xyz(rgb) [source] RGB to XYZ color space conversion. Parameters: rgb : array_like The image in RGB format, in a 3- or 4-D array of shape (.., ..,[ ..,] 3). Returns: out : ndarray The image in XYZ format, in a 3- or 4-D array of shape (.., ..,[ ..,] 3). Raises: ValueError If rgb is not a 3- or 4-D array of shape (.., ..,[ ..,] 3). Notes The CIE XYZ color space is derived from the CIE RGB color space. Note however that this function converts from sRGB. Ref

threshold-li

threshold_li skimage.filters.threshold_li(image) [source] Return threshold value based on adaptation of Li’s Minimum Cross Entropy method. Parameters: image : array Input image. Returns: threshold : float Upper threshold value. All pixels intensities more than this value are assumed to be foreground. References [R202] Li C.H. and Lee C.K. (1993) “Minimum Cross Entropy Thresholding” Pattern Recognition, 26(4): 617-625 [R203] Li C.H. and Tam P.K.S. (1998) “An Iterative Algorithm for Mi

module-skimage.novice

skimage.novice A special Python image submodule for beginners. Description skimage.novice provides a simple image manipulation interface for beginners. It allows for easy loading, manipulating, and saving of image files. This module is primarily intended for teaching and differs significantly from the normal, array-oriented image functions used by scikit-image. Note This module uses the Cartesian coordinate system, where the origin is at the lower-left corner instead of the upper-right and the

module-skimage.viewer.utils

Module: viewer.utils skimage.viewer.utils.figimage(image[, ...]) Return figure and axes with figure tightly surrounding image. skimage.viewer.utils.init_qtapp() Initialize QAppliction. skimage.viewer.utils.new_plot([parent, ...]) Return new figure and axes. skimage.viewer.utils.start_qtapp([app]) Start Qt mainloop skimage.viewer.utils.update_axes_image(...) Update the image displayed by an image plot. skimage.viewer.utils.ClearColormap(rgb[, ...]) Color map that varies linearly from alpha

module-skimage.morphology

Module: morphology skimage.morphology.ball(radius[, dtype]) Generates a ball-shaped structuring element. skimage.morphology.binary_closing(image[, selem]) Return fast binary morphological closing of an image. skimage.morphology.binary_dilation(image[, ...]) Return fast binary morphological dilation of an image. skimage.morphology.binary_erosion(image[, selem]) Return fast binary morphological erosion of an image. skimage.morphology.binary_opening(image[, selem]) Return fast binary morpholo

subtract-mean-percentile

subtract_mean_percentile skimage.filters.rank.subtract_mean_percentile(image, selem, out=None, mask=None, shift_x=False, shift_y=False, p0=0, p1=1) [source] Return image subtracted from its local mean. Only greyvalues between percentiles [p0, p1] are considered in the filter. Parameters: image : 2-D array (uint8, uint16) Input image. selem : 2-D array The neighborhood expressed as a 2-D array of 1’s and 0’s. out : 2-D array (same dtype as input) If None, a new array is allocated. mask

use-plugin

use_plugin skimage.io.use_plugin(name, kind=None) [source] Set the default plugin for a specified operation. The plugin will be loaded if it hasn’t been already. Parameters: name : str Name of plugin. kind : {‘imsave’, ‘imread’, ‘imshow’, ‘imread_collection’, ‘imshow_collection’}, optional Set the plugin for this function. By default, the plugin is set for all functions. See also available_plugins List of available plugins Examples To use Matplotlib as the default image reader, you

module-skimage.data

Module: data Standard test images. For more images, see http://sipi.usc.edu/database/database.php skimage.data.astronaut() Colour image of the astronaut Eileen Collins. skimage.data.binary_blobs([length, ...]) Generate synthetic binary image with several rounded blob-like objects. skimage.data.camera() Gray-level “camera” image. skimage.data.checkerboard() Checkerboard image. skimage.data.chelsea() Chelsea the cat. skimage.data.clock() Motion blurred clock. skimage.data.coffee() Coffee

checkbox

CheckBox class skimage.viewer.widgets.CheckBox(name, value=False, alignment='center', ptype='kwarg', callback=None) [source] Bases: skimage.viewer.widgets.core.BaseWidget CheckBox widget Parameters: name : str Name of CheckBox parameter. If this parameter is passed as a keyword argument, it must match the name of that keyword argument (spaces are replaced with underscores). In addition, this name is displayed as the name of the CheckBox. value: {False, True}, optional Initial state of th

erosion

erosion skimage.morphology.erosion(image, selem=None, *args, **kwargs) [source] Return greyscale morphological erosion of an image. Morphological erosion sets a pixel at (i,j) to the minimum over all pixels in the neighborhood centered at (i,j). Erosion shrinks bright regions and enlarges dark regions. Parameters: image : ndarray Image array. selem : ndarray, optional The neighborhood expressed as an array of 1’s and 0’s. If None, use cross-shaped structuring element (connectivity=1). o