utility-functions

Utility Functions img_as_float Convert an image to floating point format, with values in [0, 1]. img_as_uint Convert an image to unsigned integer format, with values in [0, 65535]. img_as_int Convert an image to signed integer format, with values in [-32768, 32767]. img_as_ubyte Convert an image to unsigned byte format, with values in [0, 255]. skimage.dtype_limits(image[, clip_negative]) Return intensity limits, i.e. skimage.img_as_bool(image[, force_copy]) Convert an image to boolean form

Image adjustment: transforming image content

Image adjustment: transforming image content

unwrap-phase

unwrap_phase skimage.restoration.unwrap_phase(image, wrap_around=False, seed=None) [source] Recover the original from a wrapped phase image. From an image wrapped to lie in the interval [-pi, pi), recover the original, unwrapped image. Parameters: image : 1D, 2D or 3D ndarray of floats, optionally a masked array The values should be in the range [-pi, pi). If a masked array is provided, the masked entries will not be changed, and their values will not be used to guide the unwrapping of nei

corner-subpix

corner_subpix skimage.feature.corner_subpix(image, corners, window_size=11, alpha=0.99) [source] Determine subpixel position of corners. A statistical test decides whether the corner is defined as the intersection of two edges or a single peak. Depending on the classification result, the subpixel corner location is determined based on the local covariance of the grey-values. If the significance level for either statistical test is not sufficient, the corner cannot be classified, and the outp

img-as-int

img_as_int skimage.img_as_int(image, force_copy=False) [source] Convert an image to 16-bit signed 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 The values are scaled between -32768 and 32767. If the input data-type is positive-only (e.g., uint8), then the output image will still only have positive values.

view-as-blocks

view_as_blocks skimage.util.view_as_blocks(arr_in, block_shape) [source] Block view of the input n-dimensional array (using re-striding). Blocks are non-overlapping views of the input array. Parameters: arr_in : ndarray N-d input array. block_shape : tuple The shape of the block. Each dimension must divide evenly into the corresponding dimensions of arr_in. Returns: arr_out : ndarray Block view of the input array. If arr_in is non-contiguous, a copy is made. Examples >>> i

threshold-adaptive

threshold_adaptive skimage.filters.threshold_adaptive(image, block_size, method='gaussian', offset=0, mode='reflect', param=None) [source] Applies an adaptive threshold to an array. Also known as local or dynamic thresholding where the threshold value is the weighted mean for the local neighborhood of a pixel subtracted by a constant. Alternatively the threshold can be determined dynamically by a a given function using the ‘generic’ method. Parameters: image : (N, M) ndarray Input image.

corner-moravec

corner_moravec skimage.feature.corner_moravec() Compute Moravec corner measure response image. This is one of the simplest corner detectors and is comparatively fast but has several limitations (e.g. not rotation invariant). Parameters: image : ndarray Input image. window_size : int, optional (default 1) Window size. Returns: response : ndarray Moravec response image. References [R136] http://kiwi.cs.dal.ca/~dparks/CornerDetection/moravec.htm [R137] http://en.wikipedia.org/wiki/Cor

module-skimage.util

Module: util skimage.util.apply_parallel(function, array) Map a function in parallel across an array. skimage.util.crop(ar, crop_width[, copy, order]) Crop array ar by crop_width along each dimension. skimage.util.dtype_limits(image[, clip_negative]) Return intensity limits, i.e. skimage.util.img_as_bool(image[, force_copy]) Convert an image to boolean format. skimage.util.img_as_float(image[, force_copy]) Convert an image to double-precision floating point format. skimage.util.img_as_int

text

Text class skimage.viewer.widgets.Text(name=None, text='') [source] Bases: skimage.viewer.widgets.core.BaseWidget __init__(name=None, text='') [source] text