HALCON Reference Manual 10.0.2
Table of Contents / XLD / Features ClassesClassesClasses | | | Operators

get_regress_params_xldT_get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXld (Operator)

Name

get_regress_params_xldT_get_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXld — 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)

Herror get_regress_params_xld(Hobject Contours, HTuple* Length, HTuple* Nx, HTuple* Ny, HTuple* Dist, HTuple* Fpx, HTuple* Fpy, HTuple* Lpx, HTuple* Lpy, HTuple* Mean, HTuple* Deviation)

HTuple HXLDContArray::GetRegressParamsXld(HTuple* Nx, HTuple* Ny, HTuple* Dist, HTuple* Fpx, HTuple* Fpy, HTuple* Lpx, HTuple* Lpy, HTuple* Mean, HTuple* Deviation) const

void HOperatorSetX.GetRegressParamsXld(
[in] IHUntypedObjectX* Contours, [out] VARIANT* Length, [out] VARIANT* Nx, [out] VARIANT* Ny, [out] VARIANT* Dist, [out] VARIANT* Fpx, [out] VARIANT* Fpy, [out] VARIANT* Lpx, [out] VARIANT* Lpy, [out] VARIANT* Mean, [out] VARIANT* Deviation)

VARIANT HXLDContX.GetRegressParamsXld(
[out] VARIANT* Nx, [out] VARIANT* Ny, [out] VARIANT* Dist, [out] VARIANT* Fpx, [out] VARIANT* Fpy, [out] VARIANT* Lpx, [out] VARIANT* Lpy, [out] VARIANT* Mean, [out] VARIANT* Deviation)

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)

Description

get_regress_params_xldget_regress_params_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXld 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_xldget_regress_params_xldGetRegressParamsXldGetRegressParamsXld, the parameters of the regression line to the contour must be calculated by calling regress_contours_xldregress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXld.

Parallelization

Parameters

ContoursContoursContoursContourscontours (input_object)  xld_cont-array objectHXLDContHXLDContArrayHXLDContXHobject

Input XLD contours.

LengthLengthLengthLengthlength (output_control)  integer-array HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Number of contour points.

NxNxNxNxnx (output_control)  point.x-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

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

NyNyNyNyny (output_control)  point.y-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

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

DistDistDistDistdist (output_control)  number-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Distance of the regression line from the origin.

FpxFpxFpxFpxfpx (output_control)  point.x-array HTupleHTupleVARIANTHtuple (real) (double) (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 HTupleHTupleVARIANTHtuple (real) (double) (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 HTupleHTupleVARIANTHtuple (real) (double) (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 HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Y-coordinate of the projection of the end point of the contour onto the regression line.

MeanMeanMeanMeanmean (output_control)  real-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Mean distance of the contour points from the regression line.

DeviationDeviationDeviationDeviationdeviation (output_control)  real-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Standard deviation of the distances from the regression line.

Possible Predecessors

regress_contours_xldregress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXld

Possible Successors

disp_linedisp_linedisp_lineDispLineDispLine, select_linesselect_linesselect_linesSelectLinesSelectLines, line_orientationline_orientationline_orientationLineOrientationLineOrientation

See also

fit_line_contour_xldfit_line_contour_xldfit_line_contour_xldFitLineContourXldFitLineContourXld, get_contour_global_attrib_xldget_contour_global_attrib_xldget_contour_global_attrib_xldGetContourGlobalAttribXldGetContourGlobalAttribXld, query_contour_global_attribs_xldquery_contour_global_attribs_xldquery_contour_global_attribs_xldQueryContourGlobalAttribsXldQueryContourGlobalAttribsXld, get_contour_xldget_contour_xldget_contour_xldGetContourXldGetContourXld, get_contour_attrib_xldget_contour_attrib_xldget_contour_attrib_xldGetContourAttribXldGetContourAttribXld, gen_contours_skeleton_xldgen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXld, lines_gausslines_gausslines_gaussLinesGaussLinesGauss, lines_facetlines_facetlines_facetLinesFacetLinesFacet, edges_sub_pixedges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPix

Module

Foundation


Table of Contents / XLD / Features ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH