Skip to content

XLD - Features🔗

Operators🔗

area_center_points_xldAreaCenterPointsXld: Area and center of gravity (centroid) of contours and polygons treated as point clouds.

area_center_xldAreaCenterXld: Area and center of gravity (centroid) of contours and polygons.

circularity_xldCircularityXld: Shape factor for the circularity (similarity to a circle) of contours or polygons.

compactness_xldCompactnessXld: Shape factor for the compactness of contours or polygons.

contour_point_num_xldContourPointNumXld: Return the number of points in an XLD contour.

convexity_xldConvexityXld: Shape factor for the convexity of contours or polygons.

diameter_xldDiameterXld: Maximum distance between two contour or polygon points.

dist_ellipse_contour_points_xldDistEllipseContourPointsXld: Compute the distances of all contour points to an ellipse.

dist_ellipse_contour_xldDistEllipseContourXld: Compute the distance of contours to an ellipse.

dist_rectangle2_contour_points_xldDistRectangle2ContourPointsXld: Compute the distances of all contour points to a rectangle.

eccentricity_points_xldEccentricityPointsXld: Anisometry of contours or polygons treated as point clouds.

eccentricity_xldEccentricityXld: Shape features derived from the ellipse parameters of contours or polygons.

elliptic_axis_points_xldEllipticAxisPointsXld: Parameters of the equivalent ellipse of contours or polygons treated as point clouds.

elliptic_axis_xldEllipticAxisXld: Parameters of the equivalent ellipse of contours or polygons.

fit_circle_contour_xldFitCircleContourXld: Approximate XLD contours by circles.

fit_ellipse_contour_xldFitEllipseContourXld: Approximate XLD contours by ellipses or elliptic arcs.

fit_line_contour_xldFitLineContourXld: Approximate XLD contours by line segments.

fit_rectangle2_contour_xldFitRectangle2ContourXld: Fit rectangles to XLD contours.

get_contour_angle_xldGetContourAngleXld: Calculate the direction of an XLD contour for each contour point.

get_contour_attrib_xldGetContourAttribXld: Return point attribute values of an XLD contour.

get_contour_global_attrib_xldGetContourGlobalAttribXld: Return global attributes values of an XLD contour.

get_regress_params_xldGetRegressParamsXld: Return XLD contour parameters.

height_width_ratio_xldHeightWidthRatioXld: Compute the width, height, and aspect ratio of the enclosing rectangle parallel to the coordinate axes of contours or polygons.

info_parallels_xldInfoParallelsXld: Return information about the gray values of the area enclosed by XLD parallels.

length_xldLengthXld: Length of contours or polygons.

local_max_contours_xldLocalMaxContoursXld: Select XLD contours with a local maximum of gray values.

max_parallels_xldMaxParallelsXld: Join modified XLD parallels lying on the same polygon.

moments_any_points_xldMomentsAnyPointsXld: Arbitrary geometric moments of contours or polygons treated as point clouds.

moments_any_xldMomentsAnyXld: Arbitrary geometric moments of contours or polygons.

moments_points_xldMomentsPointsXld: Geometric moments \(M_{20}\), \(M_{02}\), and \(M_{11}\) of contours or polygons treated as point clouds.

moments_xldMomentsXld: Geometric moments \(M_{20}\), \(M_{02}\), and \(M_{11}\) of contours or polygons.

orientation_points_xldOrientationPointsXld: Calculate the orientation of contours or polygons treated as point clouds.

orientation_xldOrientationXld: Calculate the orientation of contours or polygons.

query_contour_attribs_xldQueryContourAttribsXld: Return the names of the defined attributes of an XLD contour.

query_contour_global_attribs_xldQueryContourGlobalAttribsXld: Return the names of the defined global attributes of an XLD contour.

rectangularity_xldRectangularityXld: Shape factor for the rectangularity of contours or polygons.

select_contours_xldSelectContoursXld: Select XLD contours according to several features.

select_shape_xldSelectShapeXld: Select contours or polygons using shape features.

select_xld_pointSelectXldPoint: Choose all contours or polygons containing a given point.

smallest_circle_xldSmallestCircleXld: Smallest enclosing circle of contours or polygons.

smallest_rectangle1_xldSmallestRectangle1Xld: Enclosing rectangle parallel to the coordinate axes of contours or polygons.

smallest_rectangle2_xldSmallestRectangle2Xld: Smallest enclosing rectangle with arbitrary orientation of contours or polygons.

test_closed_xldTestClosedXld: Test whether contours or polygons are closed.

test_self_intersection_xldTestSelfIntersectionXld: Test XLD contours or polygons for self intersection.

test_xld_pointTestXldPoint: Test whether one or more contours or polygons enclose the given point(s).