get_regress_params_xldT_get_regress_params_xldGetRegressParamsXldGetRegressParamsXldget_regress_params_xld (Operator)
Name
get_regress_params_xldT_get_regress_params_xldGetRegressParamsXldGetRegressParamsXldget_regress_params_xld
— Return XLD contour parameters.
Signature
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)
def get_regress_params_xld(contours: HObject) -> Tuple[Sequence[int], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float]]
Description
get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXldGetRegressParamsXldget_regress_params_xld
returns the following parameters for
all XLD contours given in ContoursContoursContoursContourscontourscontours
:
Attention
Before the contour parameters can be returned by
get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXldGetRegressParamsXldget_regress_params_xld
, the parameters of the regression
line to the contour must be calculated by calling
regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldRegressContoursXldregress_contours_xld
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ContoursContoursContoursContourscontourscontours
(input_object) xld_cont-array →
objectHXLDContHObjectHXLDContHobject
Input XLD contours.
LengthLengthLengthLengthlengthlength
(output_control) integer-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of contour points.
NxNxNxNxnxnx
(output_control) point.x-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
X-coordinate of the normal vector of the
regression line.
NyNyNyNynyny
(output_control) point.y-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Y-coordinate of the normal vector of the
regression line.
DistDistDistDistdistdist
(output_control) number-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Distance of the regression line from the origin.
FpxFpxFpxFpxfpxfpx
(output_control) point.x-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
X-coordinate of the projection of the start point
of the contour onto the regression line.
FpyFpyFpyFpyfpyfpy
(output_control) point.y-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Y-coordinate of the projection of the start point
of the contour onto the regression line.
LpxLpxLpxLpxlpxlpx
(output_control) point.x-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
X-coordinate of the projection of the end point
of the contour onto the regression line.
LpyLpyLpyLpylpylpy
(output_control) point.y-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Y-coordinate of the projection of the end point
of the contour onto the regression line.
MeanMeanMeanMeanmeanmean
(output_control) real-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Mean distance of the contour points from the
regression line.
DeviationDeviationDeviationDeviationdeviationdeviation
(output_control) real-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Standard deviation of the distances from the
regression line.
Possible Predecessors
regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldRegressContoursXldregress_contours_xld
Possible Successors
disp_linedisp_lineDispLineDispLineDispLinedisp_line
,
line_orientationline_orientationLineOrientationLineOrientationLineOrientationline_orientation
See also
fit_line_contour_xldfit_line_contour_xldFitLineContourXldFitLineContourXldFitLineContourXldfit_line_contour_xld
,
get_contour_global_attrib_xldget_contour_global_attrib_xldGetContourGlobalAttribXldGetContourGlobalAttribXldGetContourGlobalAttribXldget_contour_global_attrib_xld
,
query_contour_global_attribs_xldquery_contour_global_attribs_xldQueryContourGlobalAttribsXldQueryContourGlobalAttribsXldQueryContourGlobalAttribsXldquery_contour_global_attribs_xld
,
get_contour_xldget_contour_xldGetContourXldGetContourXldGetContourXldget_contour_xld
,
get_contour_attrib_xldget_contour_attrib_xldGetContourAttribXldGetContourAttribXldGetContourAttribXldget_contour_attrib_xld
,
gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld
,
lines_gausslines_gaussLinesGaussLinesGaussLinesGausslines_gauss
,
lines_facetlines_facetLinesFacetLinesFacetLinesFacetlines_facet
,
edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPixedges_sub_pix
Module
Foundation