Skip to content

XLD🔗

Access🔗

get_contour_xldGetContourXld: Return the coordinates of an XLD contour.

get_lines_xldGetLinesXld: Return an XLD polygon’s data (as lines).

get_parallels_xldGetParallelsXld: Return an XLD parallel’s data (as lines).

get_polygon_xldGetPolygonXld: Return an XLD polygon’s data.

Creation🔗

gen_circle_contour_xldGenCircleContourXld: Create XLD contours corresponding to circles or circular arcs.

gen_contour_nurbs_xldGenContourNurbsXld: Transform a NURBS curve into an XLD contour.

gen_contour_polygon_rounded_xldGenContourPolygonRoundedXld: Generate an XLD contour with rounded corners from a polygon (given as tuples).

gen_contour_polygon_xldGenContourPolygonXld: Generate an XLD contour from a polygon (given as tuples).

gen_contour_region_xldGenContourRegionXld: Generate XLD contours from regions.

gen_contours_skeleton_xldGenContoursSkeletonXld: Convert a skeleton into XLD contours.

gen_cross_contour_xldGenCrossContourXld: Generate one XLD contour in the shape of a cross for each input point.

gen_ellipse_contour_xldGenEllipseContourXld: Create an XLD contour that corresponds to an elliptic arc.

gen_nurbs_interpGenNurbsInterp: Create control data of a NURBS curve that interpolates given points.

gen_parallels_xldGenParallelsXld: Extract parallel XLD polygons.

gen_polygons_xldGenPolygonsXld: Approximate XLD contours by polygons.

gen_rectangle2_contour_xldGenRectangle2ContourXld: Create an XLD contour in the shape of a rectangle.

mod_parallels_xldModParallelsXld: Extract parallel XLD polygons enclosing a homogeneous area.

Features🔗

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).

Geometric Transformations🔗

affine_trans_contour_xldAffineTransContourXld: Apply an arbitrary affine 2D transformation to XLD contours.

affine_trans_polygon_xldAffineTransPolygonXld: Apply an arbitrary affine transformation to XLD polygons.

gen_parallel_contour_xldGenParallelContourXld: Compute the parallel contour of an XLD contour.

polar_trans_contour_xldPolarTransContourXld: Transform a contour in an annular arc to polar coordinates.

polar_trans_contour_xld_invPolarTransContourXldInv: Transform a contour in polar coordinates back to Cartesian coordinates

projective_trans_contour_xldProjectiveTransContourXld: Apply a projective transformation to an XLD contour.

Sets🔗

difference_closed_contours_xldDifferenceClosedContoursXld: Compute the difference of closed contours.

difference_closed_polygons_xldDifferenceClosedPolygonsXld: Compute the difference of closed polygons.

intersection_closed_contours_xldIntersectionClosedContoursXld: Intersect closed contours.

intersection_closed_polygons_xldIntersectionClosedPolygonsXld: Intersect closed polygons.

intersection_region_contour_xldIntersectionRegionContourXld: Intersect a contour with a region.

symm_difference_closed_contours_xldSymmDifferenceClosedContoursXld: Compute the symmetric difference of closed contours.

symm_difference_closed_polygons_xldSymmDifferenceClosedPolygonsXld: Compute the symmetric difference of closed polygons.

union2_closed_contours_xldUnion2ClosedContoursXld: Compute the union of closed contours.

union2_closed_polygons_xldUnion2ClosedPolygonsXld: Compute the union of closed polygons.

Transformations🔗

add_noise_white_contour_xldAddNoiseWhiteContourXld: Add noise to XLD contours.

clip_contours_xldClipContoursXld: Clip an XLD contour.

clip_end_points_contours_xldClipEndPointsContoursXld: Clip the end points of an XLD contour.

close_contours_xldCloseContoursXld: Close an XLD contour.

combine_roads_xldCombineRoadsXld: Combine road hypotheses from two resolution levels.

crop_contours_xldCropContoursXld: Crop an XLD contour.

merge_cont_line_scan_xldMergeContLineScanXld: Merge XLD contours from successive line scan images.

regress_contours_xldRegressContoursXld: Calculate the parameters of a regression line to an XLD contour.

segment_contour_attrib_xldSegmentContourAttribXld: Segment XLD contour parts whose local attributes fulfill given conditions.

segment_contours_xldSegmentContoursXld: Segment XLD contours into line segments and circular or elliptic arcs.

shape_trans_xldShapeTransXld: Transform the shape of contours or polygons.

smooth_contours_xldSmoothContoursXld: Smooth an XLD contour.

sort_contours_xldSortContoursXld: Sort contours with respect to their relative position.

split_contours_xldSplitContoursXld: Split XLD contours at dominant points.

union_adjacent_contours_xldUnionAdjacentContoursXld: Compute the union of contours whose end points are close together.

union_cocircular_contours_xldUnionCocircularContoursXld: Compute the union of contours that belong to the same circle.

union_collinear_contours_ext_xldUnionCollinearContoursExtXld: Compute the union of collinear contours (operator with extended functionality).

union_collinear_contours_xldUnionCollinearContoursXld: Unite approximately collinear contours.

union_cotangential_contours_xldUnionCotangentialContoursXld: Compute the union of cotangential contours.

union_straight_contours_xldUnionStraightContoursXld: Compute the union of neighboring straight contours that have a similar direction.