new-plot

new_plot skimage.viewer.utils.new_plot(parent=None, subplot_kw=None, **fig_kw) [source] Return new figure and axes. Parameters: parent : QtWidget Qt widget that displays the plot objects. If None, you must manually call canvas.setParent and pass the parent widget. subplot_kw : dict Keyword arguments passed matplotlib.figure.Figure.add_subplot. fig_kw : dict Keyword arguments passed matplotlib.figure.Figure.

dilation

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

tifffile

TiffFile class skimage.external.tifffile.TiffFile(arg, name=None, offset=None, size=None, multifile=True, multifile_close=True) [source] Bases: object Read image and metadata from TIFF, STK, LSM, and FluoView files. TiffFile instances must be closed using the close method, which is automatically called when using the ‘with’ statement. Examples >>> with TiffFile('test.tif') as tif: ... data = tif.asarray() ... data.shape (256, 256, 4) Attributes pages (list) All TIFF pages

hough-circle

hough_circle skimage.transform.hough_circle(image, radius, normalize=True, full_output=False) [source] Perform a circular Hough transform. Parameters: image : (M, N) ndarray Input image with nonzero values representing edges. radius : scalar or sequence of scalars Radii at which to compute the Hough transform. Floats are converted to integers. normalize : boolean, optional (default True) Normalize the accumulator with the number of pixels used to draw the radius. full_output : boolean

autolevel-percentile

autolevel_percentile skimage.filters.rank.autolevel_percentile(image, selem, out=None, mask=None, shift_x=False, shift_y=False, p0=0, p1=1) [source] Return greyscale local autolevel of an image. This filter locally stretches the histogram of greyvalues to cover the entire range of values from “white” to “black”. 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

deprecated

deprecated class skimage.data.deprecated(alt_func=None, behavior='warn') [source] Bases: object Decorator to mark deprecated functions with warning. Adapted from <http://wiki.python.org/moin/PythonDecoratorLibrary>. Parameters: alt_func : str If given, tell user what function to use instead. behavior : {‘warn’, ‘raise’} Behavior during call to deprecated function: ‘warn’ = warn user that function is deprecated; ‘raise’ = raise error. __init__(alt_func=None, behavior='warn') [sou

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

description

Module: novice

rgb2gray

rgb2gray skimage.color.rgb2gray(rgb) [source] Compute luminance of an RGB image. Parameters: rgb : array_like The image in RGB format, in a 3-D array of shape (.., .., 3), or in RGBA format with shape (.., .., 4). Returns: out : ndarray The luminance image, a 2-D array. Raises: ValueError If rgb2gray is not a 3-D array of shape (.., .., 3) or (.., .., 4). Notes The weights used in this conversion are calibrated for contemporary CRT phosphors: Y = 0.2125 R + 0.7154 G + 0.0721 B I

hubble-deep-field

hubble_deep_field skimage.data.hubble_deep_field() [source] Hubble eXtreme Deep Field. This photograph contains the Hubble Telescope’s farthest ever view of the universe. It can be useful as an example for multi-scale detection. Notes This image was downloaded from HubbleSite. The image was captured by NASA and may be freely used in the public domain.