Skip to content

Regions - Features🔗

On this topic🔗

Operators🔗

area_centerAreaCenter: Area and center of regions.

area_holesAreaHoles: Compute the area of holes of regions.

circularityCircularity: Shape factor for the circularity (similarity to a circle) of a region.

compactnessCompactness: Shape factor for the compactness of a region.

connect_and_holesConnectAndHoles: Number of connection components and holes

contlengthContlength: Contour length of a region.

convexityConvexity: Shape factor for the convexity of a region.

diameter_regionDiameterRegion: Maximal distance between two boundary points of a region.

eccentricityEccentricity: Shape features derived from the ellipse parameters.

elliptic_axisEllipticAxis: Calculate the parameters of the equivalent ellipse.

euler_numberEulerNumber: Calculate the Euler number.

find_neighborsFindNeighbors: Search direct neighbors.

get_region_indexGetRegionIndex: Index of all regions containing a given pixel.

get_region_thicknessGetRegionThickness: Access the thickness of a region along the main axis.

hamming_distanceHammingDistance: Hamming distance between two regions.

hamming_distance_normHammingDistanceNorm: Hamming distance between two regions using normalization.

height_width_ratioHeightWidthRatio: Compute the width, height, and aspect ratio of the surrounding rectangle parallel to the coordinate axes.

inner_circleInnerCircle: Largest inner circle of a region.

inner_rectangle1InnerRectangle1: Largest inner rectangle of a region.

moments_region_2ndMomentsRegion2nd: Calculate the geometric moments of regions.

moments_region_2nd_invarMomentsRegion2ndInvar: Geometric moments of regions.

moments_region_2nd_rel_invarMomentsRegion2ndRelInvar: Geometric moments of regions.

moments_region_3rdMomentsRegion3rd: Geometric moments of regions.

moments_region_3rd_invarMomentsRegion3rdInvar: Geometric moments of regions.

moments_region_centralMomentsRegionCentral: Geometric moments of regions.

moments_region_central_invarMomentsRegionCentralInvar: Geometric moments of regions.

orientation_regionOrientationRegion: Orientation of a region.

rectangularityRectangularity: Shape factor for the rectangularity of a region.

region_featuresRegionFeatures: Calculate shape features of regions.

roundnessRoundness: Shape factors from contour.

runlength_distributionRunlengthDistribution: Distribution of runs needed for runlength encoding of a region.

runlength_featuresRunlengthFeatures: Characteristic values for runlength coding of regions.

select_region_pointSelectRegionPoint: Choose all regions containing a given pixel.

select_region_spatialSelectRegionSpatial: Pose relation of regions.

select_shapeSelectShape: Choose regions with the aid of shape features.

select_shape_protoSelectShapeProto: Choose regions having a certain relation to each other.

select_shape_stdSelectShapeStd: Select regions of a given shape.

smallest_circleSmallestCircle: Smallest surrounding circle of a region.

smallest_rectangle1SmallestRectangle1: Surrounding rectangle parallel to the coordinate axes.

smallest_rectangle2SmallestRectangle2: Smallest surrounding rectangle with any orientation.

spatial_relationSpatialRelation: Pose relation of regions with regard to  the coordinate axes.