Herror ::get_contour_global_attrib_xld (
    Hobject Contour,
    const HTuple &Name,
    HTuple *Attrib
)
HTuple HXLDCont::GetContourGlobalAttribXld (
    const HTuple &Name
) const

Return global attributes values of an XLD contour.

::get_contour_global_attrib_xld returns the values of the global attribute Name of the XLD contour Contour in Attrib. Global attributes are additional values defined for each contour, e.g., the normal vector of the regression line of a contour ('regr_norm_row' and 'regr_norm_col'). Operators which define this kind of attributes contain a description of the name and semantics of the defined values. ::query_contour_global_attribs_xld can be used to query which attributes are defined for a particular contour.


Parameters

Contour (input_object)
xld_cont -> Hobject: HXLDCont
Input XLD contour.

Name (input_control)
string(-array) -> HTuple.char *
Name of the attribute.
Default value: 'regr_norm_row'
Suggested values: 'regr_norm_row', 'regr_norm_col', 'regr_mean_dist', 'regr_dev_dist', 'cont_approx'

Attrib (output_control)
real-array -> HTuple.double *
Attribute values.


Possible Predecessors

::lines_gauss, ::lines_facet, ::edges_sub_pix


See also

::query_contour_global_attribs_xld, ::get_contour_attrib_xld, ::query_contour_attribs_xld


Module

Sub-pixel operators



Copyright © 1996-2002 MVTec Software GmbH