Labels to region properties¶
Take a labelled image (and optionally the a single channel intensity) and provides properties for each found label. For details of the extracted properties see:http://scikit-image.org/docs/dev/api/skimage.measure.html#skimage.measure.regionprops
Documentation¶
Take a labelled image (and optionally the a single channel intensity) and provides properties for each found label. For details of the extracted properties see:http://scikit-image.org/docs/dev/api/skimage.measure.html#skimage.measure.regionprops
Definition¶
Input ports¶
- labels image
Labelled image
- intensity 0 - 1, image
Intensity image
Output ports¶
- properties table
Table with properties for each region
Configuration¶
- Area (area)
Compute total pixel area of each region. Also computes equivalent diameter and ratio of area to boundingbox area (extent)
- Major/minor axis (axis)
Compute length and rotation relative to origo of the major axis of an ellipse that has the same normalized second central moment for each region. Also gives length of the minor axis.
- Bounding box (bbox)
Compute bounding box of each region
- Centroid (centroid)
Compute centroid position in global coordianates and in local coordinates (relative to bounding box) If the optional intensity image is also given, then computes also the weighted centroid (local coordinates only)
- Convex area (convex)
Compute the area of the convex hull of each region and the ratio of pixels in the whole region vs. the convex hull (solidity)
- Eccentricity (eccentricity)
Eccentricity for an ellipse that has the same second-moments as the region.
- Euler number (euler)
Computes the euler number for each region, 1 - number of holes
- Intertia tensor (inertia)
Compute the inertia tensor and its eigen values
- Intensity max/mean/min (intensity)
Compute the max/mean/min of the intensity values in each region. Requires additional intensity image as inputs
- Moments (moments)
Spatial moments up to 3rd order. If the optional intensity image is also given, then computes also the weighted moments
- Perimeter (perimeter)
Compute the length of the perimiter of each region
Examples¶
Implementation¶
- class node_properties.LabelToRegionProperties[source]