XLD - Features🔗
Operators🔗
area_center_points_xld: Area and center of gravity (centroid) of contours and polygons
treated as point clouds.
area_center_xld: Area and center of gravity (centroid) of contours and polygons.
circularity_xld: Shape factor for the circularity (similarity to a circle) of contours or
polygons.
compactness_xld: Shape factor for the compactness of contours or polygons.
contour_point_num_xld: Return the number of points in an XLD contour.
convexity_xld: Shape factor for the convexity of contours or polygons.
diameter_xld: Maximum distance between two contour or polygon points.
dist_ellipse_contour_points_xld: Compute the distances of all contour points to an ellipse.
dist_ellipse_contour_xld: Compute the distance of contours to an ellipse.
dist_rectangle2_contour_points_xld: Compute the distances of all contour points to a rectangle.
eccentricity_points_xld: Anisometry of contours or polygons treated as point clouds.
eccentricity_xld: Shape features derived from the ellipse parameters of contours or polygons.
elliptic_axis_points_xld: Parameters of the equivalent ellipse of contours or polygons treated as
point clouds.
elliptic_axis_xld: Parameters of the equivalent ellipse of contours or polygons.
fit_circle_contour_xld: Approximate XLD contours by circles.
fit_ellipse_contour_xld: Approximate XLD contours by ellipses or elliptic arcs.
fit_line_contour_xld: Approximate XLD contours by line segments.
fit_rectangle2_contour_xld: Fit rectangles to XLD contours.
get_contour_angle_xld: Calculate the direction of an XLD contour for each contour point.
get_contour_attrib_xld: Return point attribute values of an XLD contour.
get_contour_global_attrib_xld: Return global attributes values of an XLD contour.
get_regress_params_xld: Return XLD contour parameters.
height_width_ratio_xld: Compute the width, height, and aspect ratio of the enclosing
rectangle parallel to the coordinate axes of contours or polygons.
info_parallels_xld: Return information about the gray values of the area enclosed by XLD
parallels.
length_xld: Length of contours or polygons.
local_max_contours_xld: Select XLD contours with a local maximum of gray values.
max_parallels_xld: Join modified XLD parallels lying on the same polygon.
moments_any_points_xld: Arbitrary geometric moments of contours or polygons treated as point
clouds.
moments_any_xld: Arbitrary geometric moments of contours or polygons.
moments_points_xld: Geometric moments \(M_{20}\), \(M_{02}\), and \(M_{11}\)
of contours or polygons treated as point clouds.
moments_xld: Geometric moments \(M_{20}\), \(M_{02}\), and
\(M_{11}\) of contours or polygons.
orientation_points_xld: Calculate the orientation of contours or polygons treated as point clouds.
orientation_xld: Calculate the orientation of contours or polygons.
query_contour_attribs_xld: Return the names of the defined attributes of an XLD contour.
query_contour_global_attribs_xld: Return the names of the defined global attributes of an XLD contour.
rectangularity_xld: Shape factor for the rectangularity of contours or polygons.
select_contours_xld: Select XLD contours according to several features.
select_shape_xld: Select contours or polygons using shape features.
select_xld_point: Choose all contours or polygons containing a given point.
smallest_circle_xld: Smallest enclosing circle of contours or polygons.
smallest_rectangle1_xld: Enclosing rectangle parallel to the coordinate axes of contours or polygons.
smallest_rectangle2_xld: Smallest enclosing rectangle with arbitrary orientation of contours or
polygons.
test_closed_xld: Test whether contours or polygons are closed.
test_self_intersection_xld: Test XLD contours or polygons for self intersection.
test_xld_point: Test whether one or more contours or polygons enclose the given point(s).