skimage2.measure#

Warning

This module is part of the experimental skimage2 namespace and is subject to change without notice. Do not use it in production code. See the migration guide for more details.

Measurement of image properties, e.g., region properties, contours.

approximate_polygon

Approximate a polygonal chain with the specified tolerance.

block_reduce

Downsample image by applying function func to local blocks.

blur_effect

Compute a metric that indicates the strength of blur in an image (0 for no blur, 1 for maximal blur).

centroid

Return the (weighted) centroid of an image.

euler_number

Calculate the Euler characteristic in binary image.

find_contours

Find iso-valued contours in a 2D array for a given level value.

grid_points_in_poly

Test whether points on a specified grid are inside a polygon.

inertia_tensor

Compute the inertia tensor of the input image.

inertia_tensor_eigvals

Compute the eigenvalues of the inertia tensor of the image.

intersection_coeff

Fraction of a channel's segmented binary mask that overlaps with a second channel's segmented binary mask.

label

Label connected regions of an integer array.

manders_coloc_coeff

Manders' colocalization coefficient between two image channels.

manders_overlap_coeff

Manders' overlap coefficient

marching_cubes

Marching cubes algorithm to find surfaces in 3d volumetric data.

mesh_surface_area

Compute surface area, given vertices and triangular faces.

moments

Calculate all raw image moments up to a certain order.

moments_central

Calculate all central image moments up to a certain order.

moments_coords

Calculate all raw image moments up to a certain order.

moments_coords_central

Calculate all central image moments up to a certain order.

moments_hu

Calculate Hu's set of image moments (2D-only).

moments_normalized

Calculate all normalized central image moments up to a certain order.

pearson_corr_coeff

Calculate Pearson's Correlation Coefficient between pixel intensities in channels.

perimeter

Calculate total perimeter of all objects in binary image.

perimeter_crofton

Calculate total Crofton perimeter of all objects in binary image.

points_in_poly

Test whether points lie inside a polygon.

profile_line

Return the intensity profile of an image measured along a scan line.

ransac

Fit a model to data with the RANSAC (random sample consensus) algorithm.

regionprops

Measure properties of labeled image regions.

regionprops_table

Compute region properties and return them as a pandas-compatible table.

shannon_entropy

Calculate the Shannon entropy of an image.

subdivide_polygon

Subdivision of polygonal curves using B-Splines.

CircleModel

Total least squares estimator for 2D circles.

EllipseModel

Total least squares estimator for 2D ellipses.

LineModelND

Total least squares estimator for N-dimensional lines.

RansacModelProtocol

Protocol for ransac model class.