Name
get_regress_params_xldT_get_regress_params_xldGetRegressParamsXldGetRegressParamsXld — Return XLD contour parameters.
Herror T_get_regress_params_xld(const Hobject Contours, Htuple* Length, Htuple* Nx, Htuple* Ny, Htuple* Dist, Htuple* Fpx, Htuple* Fpy, Htuple* Lpx, Htuple* Lpy, Htuple* Mean, Htuple* Deviation)
void GetRegressParamsXld(const HObject& Contours, HTuple* Length, HTuple* Nx, HTuple* Ny, HTuple* Dist, HTuple* Fpx, HTuple* Fpy, HTuple* Lpx, HTuple* Lpy, HTuple* Mean, HTuple* Deviation)
HTuple HXLDCont::GetRegressParamsXld(HTuple* Nx, HTuple* Ny, HTuple* Dist, HTuple* Fpx, HTuple* Fpy, HTuple* Lpx, HTuple* Lpy, HTuple* Mean, HTuple* Deviation) const
static void HOperatorSet.GetRegressParamsXld(HObject contours, out HTuple length, out HTuple nx, out HTuple ny, out HTuple dist, out HTuple fpx, out HTuple fpy, out HTuple lpx, out HTuple lpy, out HTuple mean, out HTuple deviation)
HTuple HXLDCont.GetRegressParamsXld(out HTuple nx, out HTuple ny, out HTuple dist, out HTuple fpx, out HTuple fpy, out HTuple lpx, out HTuple lpy, out HTuple mean, out HTuple deviation)
get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXldGetRegressParamsXld returns the following parameters for
all XLD contours given in ContoursContoursContoursContourscontours:
-
the number of contour points LengthLengthLengthLengthlength,
-
the coordinates NxNxNxNxnx and NyNyNyNyny of the
normal vector of the regression line (i.e., least-squares
approximating line),
-
the distance DistDistDistDistdist of the regression line to the
origin
-
the sub-pixel precise coordinates FpxFpxFpxFpxfpx and
FpyFpyFpyFpyfpy of the perpendicular projection of the start
point of the contour onto the regression line,
-
the sub-pixel precise coordinates LpxLpxLpxLpxlpx and
LpyLpyLpyLpylpy of the perpendicular projection of the end
point of the contour onto the regression line,
-
the mean of the Euclidian distance of the contour points from
the regression line,
-
the standard deviation of these distances.
Before the contour parameters can be returned by
get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXldGetRegressParamsXld, the parameters of the regression
line to the contour must be calculated by calling
regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldRegressContoursXld.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Number of contour points.
X-coordinate of the normal vector of the
regression line.
Y-coordinate of the normal vector of the
regression line.
Distance of the regression line from the origin.
X-coordinate of the projection of the start point
of the contour onto the regression line.
Y-coordinate of the projection of the start point
of the contour onto the regression line.
X-coordinate of the projection of the end point
of the contour onto the regression line.
Y-coordinate of the projection of the end point
of the contour onto the regression line.
Mean distance of the contour points from the
regression line.
Standard deviation of the distances from the
regression line.
regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldRegressContoursXld
disp_linedisp_lineDispLineDispLineDispLine,
line_orientationline_orientationLineOrientationLineOrientationLineOrientation
fit_line_contour_xldfit_line_contour_xldFitLineContourXldFitLineContourXldFitLineContourXld,
get_contour_global_attrib_xldget_contour_global_attrib_xldGetContourGlobalAttribXldGetContourGlobalAttribXldGetContourGlobalAttribXld,
query_contour_global_attribs_xldquery_contour_global_attribs_xldQueryContourGlobalAttribsXldQueryContourGlobalAttribsXldQueryContourGlobalAttribsXld,
get_contour_xldget_contour_xldGetContourXldGetContourXldGetContourXld,
get_contour_attrib_xldget_contour_attrib_xldGetContourAttribXldGetContourAttribXldGetContourAttribXld,
gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXld,
lines_gausslines_gaussLinesGaussLinesGaussLinesGauss,
lines_facetlines_facetLinesFacetLinesFacetLinesFacet,
edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPix
Foundation