doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
skimage.color.rgba2rgb(rgba, background=(1, 1, 1)) [source] RGBA to RGB conversion using alpha blending [1]. Parameters rgba(…, 4) array_like The image in RGBA format. Final dimension denotes channels. backgroundarray_like The color of the background to blend the image with (3 floats between 0 to 1 - the RG...
skimage.api.skimage.color#skimage.color.rgba2rgb
skimage.color.rgbcie2rgb(rgbcie) [source] RGB CIE to RGB color space conversion. Parameters rgbcie(…, 3) array_like The image in RGB CIE format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If rgbcie is not at leas...
skimage.api.skimage.color#skimage.color.rgbcie2rgb
skimage.color.separate_stains(rgb, conv_matrix) [source] RGB to stain color space conversion. Parameters rgb(…, 3) array_like The image in RGB format. Final dimension denotes channels. conv_matrix: ndarray The stain separation matrix as described by G. Landini [1]. Returns out(…, 3) ndarray The image ...
skimage.api.skimage.color#skimage.color.separate_stains
skimage.color.xyz2lab(xyz, illuminant='D65', observer='2') [source] XYZ to CIE-LAB color space conversion. Parameters xyz(…, 3) array_like The image in XYZ format. Final dimension denotes channels. illuminant{“A”, “D50”, “D55”, “D65”, “D75”, “E”}, optional The name of the illuminant (the function is NOT cas...
skimage.api.skimage.color#skimage.color.xyz2lab
skimage.color.xyz2rgb(xyz) [source] XYZ to RGB color space conversion. Parameters xyz(…, 3) array_like The image in XYZ format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If xyz is not at least 2-D with shape (…,...
skimage.api.skimage.color#skimage.color.xyz2rgb
skimage.color.ycbcr2rgb(ycbcr) [source] YCbCr to RGB color space conversion. Parameters ycbcr(…, 3) array_like The image in YCbCr format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If ycbcr is not at least 2-D wi...
skimage.api.skimage.color#skimage.color.ycbcr2rgb
skimage.color.ydbdr2rgb(ydbdr) [source] YDbDr to RGB color space conversion. Parameters ydbdr(…, 3) array_like The image in YDbDr format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If ydbdr is not at least 2-D wi...
skimage.api.skimage.color#skimage.color.ydbdr2rgb
skimage.color.yiq2rgb(yiq) [source] YIQ to RGB color space conversion. Parameters yiq(…, 3) array_like The image in YIQ format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If yiq is not at least 2-D with shape (…,...
skimage.api.skimage.color#skimage.color.yiq2rgb
skimage.color.ypbpr2rgb(ypbpr) [source] YPbPr to RGB color space conversion. Parameters ypbpr(…, 3) array_like The image in YPbPr format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If ypbpr is not at least 2-D wi...
skimage.api.skimage.color#skimage.color.ypbpr2rgb
skimage.color.yuv2rgb(yuv) [source] YUV to RGB color space conversion. Parameters yuv(…, 3) array_like The image in YUV format. Final dimension denotes channels. Returns out(…, 3) ndarray The image in RGB format. Same dimensions as input. Raises ValueError If yuv is not at least 2-D with shape (…,...
skimage.api.skimage.color#skimage.color.yuv2rgb
Module: data Standard test images. For more images, see http://sipi.usc.edu/database/database.php skimage.data.astronaut() Color image of the astronaut Eileen Collins. skimage.data.binary_blobs([length, …]) Generate synthetic binary image with several rounded blob-like objects. skimage.data.brain() Subset of da...
skimage.api.skimage.data
skimage.data.astronaut() [source] Color image of the astronaut Eileen Collins. Photograph of Eileen Collins, an American astronaut. She was selected as an astronaut in 1992 and first piloted the space shuttle STS-63 in 1995. She retired in 2006 after spending a total of 38 days, 8 hours and 10 minutes in outer space....
skimage.api.skimage.data#skimage.data.astronaut
skimage.data.binary_blobs(length=512, blob_size_fraction=0.1, n_dim=2, volume_fraction=0.5, seed=None) [source] Generate synthetic binary image with several rounded blob-like objects. Parameters lengthint, optional Linear size of output image. blob_size_fractionfloat, optional Typical linear size of blob, a...
skimage.api.skimage.data#skimage.data.binary_blobs
skimage.data.brain() [source] Subset of data from the University of North Carolina Volume Rendering Test Data Set. The full dataset is available at [1]. Returns image(10, 256, 256) uint16 ndarray Notes The 3D volume consists of 10 layers from the larger volume. References 1 https://graphics.stanford.edu/d...
skimage.api.skimage.data#skimage.data.brain
skimage.data.brick() [source] Brick wall. Returns brick(512, 512) uint8 image A small section of a brick wall. Notes The original image was downloaded from CC0Textures and licensed under the Creative Commons CC0 License. A perspective transform was then applied to the image, prior to rotating it by 90 degre...
skimage.api.skimage.data#skimage.data.brick
skimage.data.camera() [source] Gray-level “camera” image. Can be used for segmentation and denoising examples. Returns camera(512, 512) uint8 ndarray Camera image. Notes No copyright restrictions. CC0 by the photographer (Lav Varshney). Changed in version 0.18: This image was replaced due to copyright rest...
skimage.api.skimage.data#skimage.data.camera
skimage.data.cat() [source] Chelsea the cat. An example with texture, prominent edges in horizontal and diagonal directions, as well as features of differing scales. Returns chelsea(300, 451, 3) uint8 ndarray Chelsea image. Notes No copyright restrictions. CC0 by the photographer (Stefan van der Walt).
skimage.api.skimage.data#skimage.data.cat
skimage.data.cell() [source] Cell floating in saline. This is a quantitative phase image retrieved from a digital hologram using the Python library qpformat. The image shows a cell with high phase value, above the background phase. Because of a banding pattern artifact in the background, this image is a good test of ...
skimage.api.skimage.data#skimage.data.cell
skimage.data.cells3d() [source] 3D fluorescence microscopy image of cells. The returned data is a 3D multichannel array with dimensions provided in (z, c, y, x) order. Each voxel has a size of (0.29 0.26 0.26) micrometer. Channel 0 contains cell membranes, channel 1 contains nuclei. Returns cells3d: (60, 2, 256, 2...
skimage.api.skimage.data#skimage.data.cells3d
skimage.data.checkerboard() [source] Checkerboard image. Checkerboards are often used in image calibration, since the corner-points are easy to locate. Because of the many parallel edges, they also visualise distortions particularly well. Returns checkerboard(200, 200) uint8 ndarray Checkerboard image.
skimage.api.skimage.data#skimage.data.checkerboard
skimage.data.chelsea() [source] Chelsea the cat. An example with texture, prominent edges in horizontal and diagonal directions, as well as features of differing scales. Returns chelsea(300, 451, 3) uint8 ndarray Chelsea image. Notes No copyright restrictions. CC0 by the photographer (Stefan van der Walt).
skimage.api.skimage.data#skimage.data.chelsea
skimage.data.clock() [source] Motion blurred clock. This photograph of a wall clock was taken while moving the camera in an aproximately horizontal direction. It may be used to illustrate inverse filters and deconvolution. Released into the public domain by the photographer (Stefan van der Walt). Returns clock(30...
skimage.api.skimage.data#skimage.data.clock
skimage.data.coffee() [source] Coffee cup. This photograph is courtesy of Pikolo Espresso Bar. It contains several elliptical shapes as well as varying texture (smooth porcelain to course wood grain). Returns coffee(400, 600, 3) uint8 ndarray Coffee image. Notes No copyright restrictions. CC0 by the photogr...
skimage.api.skimage.data#skimage.data.coffee
skimage.data.coins() [source] Greek coins from Pompeii. This image shows several coins outlined against a gray background. It is especially useful in, e.g. segmentation tests, where individual objects need to be identified against a background. The background shares enough grey levels with the coins that a simple seg...
skimage.api.skimage.data#skimage.data.coins
skimage.data.colorwheel() [source] Color Wheel. Returns colorwheel(370, 371, 3) uint8 image A colorwheel.
skimage.api.skimage.data#skimage.data.colorwheel
skimage.data.download_all(directory=None) [source] Download all datasets for use with scikit-image offline. Scikit-image datasets are no longer shipped with the library by default. This allows us to use higher quality datasets, while keeping the library download size small. This function requires the installation of ...
skimage.api.skimage.data#skimage.data.download_all
skimage.data.eagle() [source] A golden eagle. Suitable for examples on segmentation, Hough transforms, and corner detection. Returns eagle(2019, 1826) uint8 ndarray Eagle image. Notes No copyright restrictions. CC0 by the photographer (Dayane Machado).
skimage.api.skimage.data#skimage.data.eagle
skimage.data.grass() [source] Grass. Returns grass(512, 512) uint8 image Some grass. Notes The original image was downloaded from DeviantArt and licensed underthe Creative Commons CC0 License. The downloaded image was cropped to include a region of (512, 512) pixels around the top left corner, converted to ...
skimage.api.skimage.data#skimage.data.grass
skimage.data.gravel() [source] Gravel Returns gravel(512, 512) uint8 image Grayscale gravel sample. Notes The original image was downloaded from CC0Textures and licensed under the Creative Commons CC0 License. The downloaded image was then rescaled to (1024, 1024), then the top left (512, 512) pixel region ...
skimage.api.skimage.data#skimage.data.gravel
skimage.data.horse() [source] Black and white silhouette of a horse. This image was downloaded from openclipart No copyright restrictions. CC0 given by owner (Andreas Preuss (marauder)). Returns horse(328, 400) bool ndarray Horse image.
skimage.api.skimage.data#skimage.data.horse
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. Returns hubble_deep_field(872, 1000, 3) uint8 ndarray Hubble deep field image. Notes This image w...
skimage.api.skimage.data#skimage.data.hubble_deep_field
skimage.data.human_mitosis() [source] Image of human cells undergoing mitosis. Returns human_mitosis: (512, 512) uint8 ndimage Data of human cells undergoing mitosis taken during the preperation of the manuscript in [1]. Notes Copyright David Root. Licensed under CC-0 [2]. References 1 Moffat J, Grueneber...
skimage.api.skimage.data#skimage.data.human_mitosis
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...
skimage.api.skimage.data#skimage.data.immunohistochemistry
skimage.data.kidney() [source] Mouse kidney tissue. This biological tissue on a pre-prepared slide was imaged with confocal fluorescence microscopy (Nikon C1 inverted microscope). Image shape is (16, 512, 512, 3). That is 512x512 pixels in X-Y, 16 image slices in Z, and 3 color channels (emission wavelengths 450nm, 5...
skimage.api.skimage.data#skimage.data.kidney
skimage.data.lbp_frontal_face_cascade_filename() [source] Return the path to the XML file containing the weak classifier cascade. These classifiers were trained using LBP features. The file is part of the OpenCV repository [1]. References 1 OpenCV lbpcascade trained files https://github.com/opencv/opencv/tree/mas...
skimage.api.skimage.data#skimage.data.lbp_frontal_face_cascade_filename
skimage.data.lfw_subset() [source] Subset of data from the LFW dataset. This database is a subset of the LFW database containing: 100 faces 100 non-faces The full dataset is available at [2]. Returns images(200, 25, 25) uint8 ndarray 100 first images are faces and subsequent 100 are non-faces. Notes The f...
skimage.api.skimage.data#skimage.data.lfw_subset
skimage.data.lily() [source] Lily of the valley plant stem. This plant stem on a pre-prepared slide was imaged with confocal fluorescence microscopy (Nikon C1 inverted microscope). Image shape is (922, 922, 4). That is 922x922 pixels in X-Y, with 4 color channels. Real-space voxel size is 1.24 microns in X-Y. Data ty...
skimage.api.skimage.data#skimage.data.lily
skimage.data.logo() [source] Scikit-image logo, a RGBA image. Returns logo(500, 500, 4) uint8 ndarray Logo image.
skimage.api.skimage.data#skimage.data.logo
skimage.data.microaneurysms() [source] Gray-level “microaneurysms” image. Detail from an image of the retina (green channel). The image is a crop of image 07_dr.JPG from the High-Resolution Fundus (HRF) Image Database: https://www5.cs.fau.de/research/data/fundus-images/ Returns microaneurysms(102, 102) uint8 ndar...
skimage.api.skimage.data#skimage.data.microaneurysms
skimage.data.moon() [source] Surface of the moon. This low-contrast image of the surface of the moon is useful for illustrating histogram equalization and contrast stretching. Returns moon(512, 512) uint8 ndarray Moon image.
skimage.api.skimage.data#skimage.data.moon
skimage.data.page() [source] Scanned page. This image of printed text is useful for demonstrations requiring uneven background illumination. Returns page(191, 384) uint8 ndarray Page image.
skimage.api.skimage.data#skimage.data.page
skimage.data.retina() [source] Human retina. This image of a retina is useful for demonstrations requiring circular images. Returns retina(1411, 1411, 3) uint8 ndarray Retina image in RGB. Notes This image was downloaded from wikimedia. This file is made available under the Creative Commons CC0 1.0 Universa...
skimage.api.skimage.data#skimage.data.retina
skimage.data.rocket() [source] Launch photo of DSCOVR on Falcon 9 by SpaceX. This is the launch photo of Falcon 9 carrying DSCOVR lifted off from SpaceX’s Launch Complex 40 at Cape Canaveral Air Force Station, FL. Returns rocket(427, 640, 3) uint8 ndarray Rocket image. Notes This image was downloaded from S...
skimage.api.skimage.data#skimage.data.rocket
skimage.data.shepp_logan_phantom() [source] Shepp Logan Phantom. Returns phantom(400, 400) float64 image Image of the Shepp-Logan phantom in grayscale. References 1 L. A. Shepp and B. F. Logan, “The Fourier reconstruction of a head section,” in IEEE Transactions on Nuclear Science, vol. 21, no. 3, pp. 2...
skimage.api.skimage.data#skimage.data.shepp_logan_phantom
skimage.data.skin() [source] Microscopy image of dermis and epidermis (skin layers). Hematoxylin and eosin stained slide at 10x of normal epidermis and dermis with a benign intradermal nevus. Returns skin(960, 1280, 3) RGB image of uint8 Notes This image requires an Internet connection the first time it is ca...
skimage.api.skimage.data#skimage.data.skin
skimage.data.stereo_motorcycle() [source] Rectified stereo image pair with ground-truth disparities. The two images are rectified such that every pixel in the left image has its corresponding pixel on the same scanline in the right image. That means that both images are warped such that they have the same orientation...
skimage.api.skimage.data#skimage.data.stereo_motorcycle
skimage.data.text() [source] Gray-level “text” image used for corner detection. Returns text(172, 448) uint8 ndarray Text image. Notes This image was downloaded from Wikipedia <https://en.wikipedia.org/wiki/File:Corner.png>`__. No known copyright restrictions, released into the public domain.
skimage.api.skimage.data#skimage.data.text
Module: draw skimage.draw.bezier_curve(r0, c0, r1, c1, …) Generate Bezier curve coordinates. skimage.draw.circle(r, c, radius[, shape]) Generate coordinates of pixels within circle. skimage.draw.circle_perimeter(r, c, radius) Generate circle perimeter coordinates. skimage.draw.circle_perimeter_aa(r, c, radius) ...
skimage.api.skimage.draw
skimage.draw.bezier_curve(r0, c0, r1, c1, r2, c2, weight, shape=None) [source] Generate Bezier curve coordinates. Parameters r0, c0int Coordinates of the first control point. r1, c1int Coordinates of the middle control point. r2, c2int Coordinates of the last control point. weightdouble Middle contr...
skimage.api.skimage.draw#skimage.draw.bezier_curve
skimage.draw.circle(r, c, radius, shape=None) [source] Generate coordinates of pixels within circle. Parameters r, cdouble Center coordinate of disk. radiusdouble Radius of disk. shapetuple, optional Image shape which is used to determine the maximum extent of output pixel coordinates. This is useful fo...
skimage.api.skimage.draw#skimage.draw.circle
skimage.draw.circle_perimeter(r, c, radius, method='bresenham', shape=None) [source] Generate circle perimeter coordinates. Parameters r, cint Centre coordinate of circle. radiusint Radius of circle. method{‘bresenham’, ‘andres’}, optional bresenham : Bresenham method (default) andres : Andres method ...
skimage.api.skimage.draw#skimage.draw.circle_perimeter
skimage.draw.circle_perimeter_aa(r, c, radius, shape=None) [source] Generate anti-aliased circle perimeter coordinates. Parameters r, cint Centre coordinate of circle. radiusint Radius of circle. shapetuple, optional Image shape which is used to determine the maximum extent of output pixel coordinates. ...
skimage.api.skimage.draw#skimage.draw.circle_perimeter_aa
skimage.draw.disk(center, radius, *, shape=None) [source] Generate coordinates of pixels within circle. Parameters centertuple Center coordinate of disk. radiusdouble Radius of disk. shapetuple, optional Image shape which is used to determine the maximum extent of output pixel coordinates. This is usefu...
skimage.api.skimage.draw#skimage.draw.disk
skimage.draw.ellipse(r, c, r_radius, c_radius, shape=None, rotation=0.0) [source] Generate coordinates of pixels within ellipse. Parameters r, cdouble Centre coordinate of ellipse. r_radius, c_radiusdouble Minor and major semi-axes. (r/r_radius)**2 + (c/c_radius)**2 = 1. shapetuple, optional Image shape...
skimage.api.skimage.draw#skimage.draw.ellipse
skimage.draw.ellipse_perimeter(r, c, r_radius, c_radius, orientation=0, shape=None) [source] Generate ellipse perimeter coordinates. Parameters r, cint Centre coordinate of ellipse. r_radius, c_radiusint Minor and major semi-axes. (r/r_radius)**2 + (c/c_radius)**2 = 1. orientationdouble, optional Major ...
skimage.api.skimage.draw#skimage.draw.ellipse_perimeter
skimage.draw.ellipsoid(a, b, c, spacing=(1.0, 1.0, 1.0), levelset=False) [source] Generates ellipsoid with semimajor axes aligned with grid dimensions on grid with specified spacing. Parameters afloat Length of semimajor axis aligned with x-axis. bfloat Length of semimajor axis aligned with y-axis. cfloat...
skimage.api.skimage.draw#skimage.draw.ellipsoid
skimage.draw.ellipsoid_stats(a, b, c) [source] Calculates analytical surface area and volume for ellipsoid with semimajor axes aligned with grid dimensions of specified spacing. Parameters afloat Length of semimajor axis aligned with x-axis. bfloat Length of semimajor axis aligned with y-axis. cfloat Le...
skimage.api.skimage.draw#skimage.draw.ellipsoid_stats
skimage.draw.line(r0, c0, r1, c1) [source] Generate line pixel coordinates. Parameters r0, c0int Starting position (row, column). r1, c1int End position (row, column). Returns rr, cc(N,) ndarray of int Indices of pixels that belong to the line. May be used to directly index into an array, e.g. img[r...
skimage.api.skimage.draw#skimage.draw.line
skimage.draw.line_aa(r0, c0, r1, c1) [source] Generate anti-aliased line pixel coordinates. Parameters r0, c0int Starting position (row, column). r1, c1int End position (row, column). Returns rr, cc, val(N,) ndarray (int, int, float) Indices of pixels (rr, cc) and intensity values (val). img[rr, cc]...
skimage.api.skimage.draw#skimage.draw.line_aa
skimage.draw.line_nd(start, stop, *, endpoint=False, integer=True) [source] Draw a single-pixel thick line in n dimensions. The line produced will be ndim-connected. That is, two subsequent pixels in the line will be either direct or diagonal neighbours in n dimensions. Parameters startarray-like, shape (N,) Th...
skimage.api.skimage.draw#skimage.draw.line_nd
skimage.draw.polygon(r, c, shape=None) [source] Generate coordinates of pixels within polygon. Parameters r(N,) ndarray Row coordinates of vertices of polygon. c(N,) ndarray Column coordinates of vertices of polygon. shapetuple, optional Image shape which is used to determine the maximum extent of outpu...
skimage.api.skimage.draw#skimage.draw.polygon
skimage.draw.polygon2mask(image_shape, polygon) [source] Compute a mask from polygon. Parameters image_shapetuple of size 2. The shape of the mask. polygonarray_like. The polygon coordinates of shape (N, 2) where N is the number of points. Returns mask2-D ndarray of type ‘bool’. The mask that corres...
skimage.api.skimage.draw#skimage.draw.polygon2mask
skimage.draw.polygon_perimeter(r, c, shape=None, clip=False) [source] Generate polygon perimeter coordinates. Parameters r(N,) ndarray Row coordinates of vertices of polygon. c(N,) ndarray Column coordinates of vertices of polygon. shapetuple, optional Image shape which is used to determine maximum exte...
skimage.api.skimage.draw#skimage.draw.polygon_perimeter
skimage.draw.random_shapes(image_shape, max_shapes, min_shapes=1, min_size=2, max_size=None, multichannel=True, num_channels=3, shape=None, intensity_range=None, allow_overlap=False, num_trials=100, random_seed=None) [source] Generate an image with random shapes, labeled with bounding boxes. The image is populated wi...
skimage.api.skimage.draw#skimage.draw.random_shapes
skimage.draw.rectangle(start, end=None, extent=None, shape=None) [source] Generate coordinates of pixels within a rectangle. Parameters starttuple Origin point of the rectangle, e.g., ([plane,] row, column). endtuple End point of the rectangle ([plane,] row, column). For a 2D matrix, the slice defined by th...
skimage.api.skimage.draw#skimage.draw.rectangle
skimage.draw.rectangle_perimeter(start, end=None, extent=None, shape=None, clip=False) [source] Generate coordinates of pixels that are exactly around a rectangle. Parameters starttuple Origin point of the inner rectangle, e.g., (row, column). endtuple End point of the inner rectangle (row, column). For a 2...
skimage.api.skimage.draw#skimage.draw.rectangle_perimeter
skimage.draw.set_color(image, coords, color, alpha=1) [source] Set pixel color in the image at the given coordinates. Note that this function modifies the color of the image in-place. Coordinates that exceed the shape of the image will be ignored. Parameters image(M, N, D) ndarray Image coordstuple of ((P,) n...
skimage.api.skimage.draw#skimage.draw.set_color
skimage.dtype_limits(image, clip_negative=False) [source] Return intensity limits, i.e. (min, max) tuple, of the image’s dtype. Parameters imagendarray Input image. clip_negativebool, optional If True, clip the negative range (i.e. return 0 for min intensity) even if the image dtype allows negative values. ...
skimage.api.skimage#skimage.dtype_limits
skimage.ensure_python_version(min_version) [source]
skimage.api.skimage#skimage.ensure_python_version
Module: exposure skimage.exposure.adjust_gamma(image[, …]) Performs Gamma Correction on the input image. skimage.exposure.adjust_log(image[, gain, inv]) Performs Logarithmic correction on the input image. skimage.exposure.adjust_sigmoid(image[, …]) Performs Sigmoid Correction on the input image. skimage.exposur...
skimage.api.skimage.exposure
skimage.exposure.adjust_gamma(image, gamma=1, gain=1) [source] Performs Gamma Correction on the input image. Also known as Power Law Transform. This function transforms the input image pixelwise according to the equation O = I**gamma after scaling each pixel to the range 0 to 1. Parameters imagendarray Input im...
skimage.api.skimage.exposure#skimage.exposure.adjust_gamma
skimage.exposure.adjust_log(image, gain=1, inv=False) [source] Performs Logarithmic correction on the input image. This function transforms the input image pixelwise according to the equation O = gain*log(1 + I) after scaling each pixel to the range 0 to 1. For inverse logarithmic correction, the equation is O = gain...
skimage.api.skimage.exposure#skimage.exposure.adjust_log
skimage.exposure.adjust_sigmoid(image, cutoff=0.5, gain=10, inv=False) [source] Performs Sigmoid Correction on the input image. Also known as Contrast Adjustment. This function transforms the input image pixelwise according to the equation O = 1/(1 + exp*(gain*(cutoff - I))) after scaling each pixel to the range 0 to...
skimage.api.skimage.exposure#skimage.exposure.adjust_sigmoid
skimage.exposure.cumulative_distribution(image, nbins=256) [source] Return cumulative distribution function (cdf) for the given image. Parameters imagearray Image array. nbinsint, optional Number of bins for image histogram. Returns img_cdfarray Values of cumulative distribution function. bin_cent...
skimage.api.skimage.exposure#skimage.exposure.cumulative_distribution
skimage.exposure.equalize_adapthist(image, kernel_size=None, clip_limit=0.01, nbins=256) [source] Contrast Limited Adaptive Histogram Equalization (CLAHE). An algorithm for local contrast enhancement, that uses histograms computed over different tile regions of the image. Local details can therefore be enhanced even ...
skimage.api.skimage.exposure#skimage.exposure.equalize_adapthist
skimage.exposure.equalize_hist(image, nbins=256, mask=None) [source] Return image after histogram equalization. Parameters imagearray Image array. nbinsint, optional Number of bins for image histogram. Note: this argument is ignored for integer images, for which each integer is its own bin. mask: ndarray o...
skimage.api.skimage.exposure#skimage.exposure.equalize_hist
skimage.exposure.histogram(image, nbins=256, source_range='image', normalize=False) [source] Return histogram of image. Unlike numpy.histogram, this function returns the centers of bins and does not rebin integer arrays. For integer arrays, each integer value has its own bin, which improves speed and intensity-resolu...
skimage.api.skimage.exposure#skimage.exposure.histogram
skimage.exposure.is_low_contrast(image, fraction_threshold=0.05, lower_percentile=1, upper_percentile=99, method='linear') [source] Determine if an image is low contrast. Parameters imagearray-like The image under test. fraction_thresholdfloat, optional The low contrast fraction threshold. An image is consi...
skimage.api.skimage.exposure#skimage.exposure.is_low_contrast
skimage.exposure.match_histograms(image, reference, *, multichannel=False) [source] Adjust an image so that its cumulative histogram matches that of another. The adjustment is applied separately for each channel. Parameters imagendarray Input image. Can be gray-scale or in color. referencendarray Image to m...
skimage.api.skimage.exposure#skimage.exposure.match_histograms
skimage.exposure.rescale_intensity(image, in_range='image', out_range='dtype') [source] Return image after stretching or shrinking its intensity levels. The desired intensity range of the input and output, in_range and out_range respectively, are used to stretch or shrink the intensity range of the input image. See e...
skimage.api.skimage.exposure#skimage.exposure.rescale_intensity
Module: feature skimage.feature.blob_dog(image[, min_sigma, …]) Finds blobs in the given grayscale image. skimage.feature.blob_doh(image[, min_sigma, …]) Finds blobs in the given grayscale image. skimage.feature.blob_log(image[, min_sigma, …]) Finds blobs in the given grayscale image. skimage.feature.canny(imag...
skimage.api.skimage.feature
skimage.feature.blob_dog(image, min_sigma=1, max_sigma=50, sigma_ratio=1.6, threshold=2.0, overlap=0.5, *, exclude_border=False) [source] Finds blobs in the given grayscale image. Blobs are found using the Difference of Gaussian (DoG) method [1]. For each blob found, the method returns its coordinates and the standar...
skimage.api.skimage.feature#skimage.feature.blob_dog
skimage.feature.blob_doh(image, min_sigma=1, max_sigma=30, num_sigma=10, threshold=0.01, overlap=0.5, log_scale=False) [source] Finds blobs in the given grayscale image. Blobs are found using the Determinant of Hessian method [1]. For each blob found, the method returns its coordinates and the standard deviation of t...
skimage.api.skimage.feature#skimage.feature.blob_doh
skimage.feature.blob_log(image, min_sigma=1, max_sigma=50, num_sigma=10, threshold=0.2, overlap=0.5, log_scale=False, *, exclude_border=False) [source] Finds blobs in the given grayscale image. Blobs are found using the Laplacian of Gaussian (LoG) method [1]. For each blob found, the method returns its coordinates an...
skimage.api.skimage.feature#skimage.feature.blob_log
class skimage.feature.BRIEF(descriptor_size=256, patch_size=49, mode='normal', sigma=1, sample_seed=1) [source] Bases: skimage.feature.util.DescriptorExtractor BRIEF binary descriptor extractor. BRIEF (Binary Robust Independent Elementary Features) is an efficient feature point descriptor. It is highly discriminative...
skimage.api.skimage.feature#skimage.feature.BRIEF
extract(image, keypoints) [source] Extract BRIEF binary descriptors for given keypoints in image. Parameters image2D array Input image. keypoints(N, 2) array Keypoint coordinates as (row, col).
skimage.api.skimage.feature#skimage.feature.BRIEF.extract
__init__(descriptor_size=256, patch_size=49, mode='normal', sigma=1, sample_seed=1) [source] Initialize self. See help(type(self)) for accurate signature.
skimage.api.skimage.feature#skimage.feature.BRIEF.__init__
skimage.feature.canny(image, sigma=1.0, low_threshold=None, high_threshold=None, mask=None, use_quantiles=False) [source] Edge filter an image using the Canny algorithm. Parameters image2D array Grayscale input image to detect edges on; can be of any dtype. sigmafloat, optional Standard deviation of the Gau...
skimage.api.skimage.feature#skimage.feature.canny
class skimage.feature.Cascade Bases: object Class for cascade of classifiers that is used for object detection. The main idea behind cascade of classifiers is to create classifiers of medium accuracy and ensemble them into one strong classifier instead of just creating a strong one. The second advantage of cascade cl...
skimage.api.skimage.feature#skimage.feature.Cascade
detect_multi_scale() Search for the object on multiple scales of input image. The function takes the input image, the scale factor by which the searching window is multiplied on each step, minimum window size and maximum window size that specify the interval for the search windows that are applied to the input image ...
skimage.api.skimage.feature#skimage.feature.Cascade.detect_multi_scale
eps
skimage.api.skimage.feature#skimage.feature.Cascade.eps
features_number
skimage.api.skimage.feature#skimage.feature.Cascade.features_number
stages_number
skimage.api.skimage.feature#skimage.feature.Cascade.stages_number
stumps_number
skimage.api.skimage.feature#skimage.feature.Cascade.stumps_number
window_height
skimage.api.skimage.feature#skimage.feature.Cascade.window_height
window_width
skimage.api.skimage.feature#skimage.feature.Cascade.window_width
__init__() Initialize cascade classifier. Parameters xml_filefile’s path or file’s object A file in a OpenCv format from which all the cascade classifier’s parameters are loaded. epscnp.float32_t Accuracy parameter. Increasing it, makes the classifier detect less false positives but at the same time the fal...
skimage.api.skimage.feature#skimage.feature.Cascade.__init__
class skimage.feature.CENSURE(min_scale=1, max_scale=7, mode='DoB', non_max_threshold=0.15, line_threshold=10) [source] Bases: skimage.feature.util.FeatureDetector CENSURE keypoint detector. min_scaleint, optional Minimum scale to extract keypoints from. max_scaleint, optional Maximum scale to extract keypoin...
skimage.api.skimage.feature#skimage.feature.CENSURE
detect(image) [source] Detect CENSURE keypoints along with the corresponding scale. Parameters image2D ndarray Input image.
skimage.api.skimage.feature#skimage.feature.CENSURE.detect
__init__(min_scale=1, max_scale=7, mode='DoB', non_max_threshold=0.15, line_threshold=10) [source] Initialize self. See help(type(self)) for accurate signature.
skimage.api.skimage.feature#skimage.feature.CENSURE.__init__