XLD🔗
Access🔗
get_contour_xld: Return the coordinates of an XLD contour.
get_lines_xld: Return an XLD polygon’s data (as lines).
get_parallels_xld: Return an XLD parallel’s data (as lines).
get_polygon_xld: Return an XLD polygon’s data.
Creation🔗
gen_circle_contour_xld: Create XLD contours corresponding to circles or circular arcs.
gen_contour_nurbs_xld: Transform a NURBS curve into an XLD contour.
gen_contour_polygon_rounded_xld: Generate an XLD contour with rounded corners from a polygon (given
as tuples).
gen_contour_polygon_xld: Generate an XLD contour from a polygon (given as tuples).
gen_contour_region_xld: Generate XLD contours from regions.
gen_contours_skeleton_xld: Convert a skeleton into XLD contours.
gen_cross_contour_xld: Generate one XLD contour in the shape of a cross for each input point.
gen_ellipse_contour_xld: Create an XLD contour that corresponds to an elliptic arc.
gen_nurbs_interp: Create control data of a NURBS curve that interpolates given points.
gen_parallels_xld: Extract parallel XLD polygons.
gen_polygons_xld: Approximate XLD contours by polygons.
gen_rectangle2_contour_xld: Create an XLD contour in the shape of a rectangle.
mod_parallels_xld: Extract parallel XLD polygons enclosing a homogeneous area.
Features🔗
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).
Geometric Transformations🔗
affine_trans_contour_xld: Apply an arbitrary affine 2D transformation to XLD contours.
affine_trans_polygon_xld: Apply an arbitrary affine transformation to XLD polygons.
gen_parallel_contour_xld: Compute the parallel contour of an XLD contour.
polar_trans_contour_xld: Transform a contour in an annular arc to polar coordinates.
polar_trans_contour_xld_inv: Transform a contour in polar coordinates back to Cartesian coordinates
projective_trans_contour_xld: Apply a projective transformation to an XLD contour.
Sets🔗
difference_closed_contours_xld: Compute the difference of closed contours.
difference_closed_polygons_xld: Compute the difference of closed polygons.
intersection_closed_contours_xld: Intersect closed contours.
intersection_closed_polygons_xld: Intersect closed polygons.
intersection_region_contour_xld: Intersect a contour with a region.
symm_difference_closed_contours_xld: Compute the symmetric difference of closed contours.
symm_difference_closed_polygons_xld: Compute the symmetric difference of closed polygons.
union2_closed_contours_xld: Compute the union of closed contours.
union2_closed_polygons_xld: Compute the union of closed polygons.
Transformations🔗
add_noise_white_contour_xld: Add noise to XLD contours.
clip_contours_xld: Clip an XLD contour.
clip_end_points_contours_xld: Clip the end points of an XLD contour.
close_contours_xld: Close an XLD contour.
combine_roads_xld: Combine road hypotheses from two resolution levels.
crop_contours_xld: Crop an XLD contour.
merge_cont_line_scan_xld: Merge XLD contours from successive line scan images.
regress_contours_xld: Calculate the parameters of a regression line to an XLD contour.
segment_contour_attrib_xld: Segment XLD contour parts whose local attributes fulfill given
conditions.
segment_contours_xld: Segment XLD contours into line segments and circular or elliptic arcs.
shape_trans_xld: Transform the shape of contours or polygons.
smooth_contours_xld: Smooth an XLD contour.
sort_contours_xld: Sort contours with respect to their relative position.
split_contours_xld: Split XLD contours at dominant points.
union_adjacent_contours_xld: Compute the union of contours whose end points are close together.
union_cocircular_contours_xld: Compute the union of contours that belong to the same circle.
union_collinear_contours_ext_xld: Compute the union of collinear contours
(operator with extended functionality).
union_collinear_contours_xld: Unite approximately collinear contours.
union_cotangential_contours_xld: Compute the union of cotangential contours.
union_straight_contours_xld: Compute the union of neighboring straight contours that have a similar
direction.