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

get_regress_params_xld(Contours : : : Length, Nx, Ny, Dist, Fpx, Fpy, Lpx, Lpy, Mean, Deviation)

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_xldGetRegressParamsXldGetRegressParamsXldget_regress_params_xld returns the following parameters for all XLD contours given in ContoursContoursContourscontourscontours:

Attention

Before the contour parameters can be returned by get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXldget_regress_params_xld, the parameters of the regression line to the contour must be calculated by calling regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldregress_contours_xld.

Execution Information

Parameters

ContoursContoursContourscontourscontours (input_object)  xld_cont-array objectHXLDContHObjectHObjectHobject

Input XLD contours.

LengthLengthLengthlengthlength (output_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of contour points.

NxNxNxnxnx (output_control)  point.x-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

X-coordinate of the normal vector of the regression line.

NyNyNynyny (output_control)  point.y-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Y-coordinate of the normal vector of the regression line.

DistDistDistdistdist (output_control)  number-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Distance of the regression line from the origin.

FpxFpxFpxfpxfpx (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.

FpyFpyFpyfpyfpy (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.

LpxLpxLpxlpxlpx (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.

LpyLpyLpylpylpy (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.

MeanMeanMeanmeanmean (output_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Mean distance of the contour points from the regression line.

DeviationDeviationDeviationdeviationdeviation (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_xldRegressContoursXldRegressContoursXldregress_contours_xld

Possible Successors

disp_linedisp_lineDispLineDispLinedisp_line, line_orientationline_orientationLineOrientationLineOrientationline_orientation

See also

fit_line_contour_xldfit_line_contour_xldFitLineContourXldFitLineContourXldfit_line_contour_xld, get_contour_global_attrib_xldget_contour_global_attrib_xldGetContourGlobalAttribXldGetContourGlobalAttribXldget_contour_global_attrib_xld, query_contour_global_attribs_xldquery_contour_global_attribs_xldQueryContourGlobalAttribsXldQueryContourGlobalAttribsXldquery_contour_global_attribs_xld, get_contour_xldget_contour_xldGetContourXldGetContourXldget_contour_xld, get_contour_attrib_xldget_contour_attrib_xldGetContourAttribXldGetContourAttribXldget_contour_attrib_xld, gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld, lines_gausslines_gaussLinesGaussLinesGausslines_gauss, lines_facetlines_facetLinesFacetLinesFacetlines_facet, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixedges_sub_pix

Module

Foundation