Herror ::get_contour_attrib_xld (
    Hobject Contour,
    const HTuple &Name,
    HTuple *Attrib
)
HTuple HXLDCont::GetContourAttribXld (
    const HTuple &Name
) const

Return point attribute values of an XLD contour.

::get_contour_attrib_xld returns the values of the attribute Name of the XLD contour Contour in Attrib. Attributes are additional values defined for each contour point, e.g. the direction perpendicular to the contour ('angle'). Operators which define this kind of attributes, e.g., ::lines_gauss and ::edges_sub_pix, contain a description of the name and semantics of the defined values. ::query_contour_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 -> HTuple.char *
Name of the attribute.
Default value: 'angle'
Suggested values: 'angle', 'edge_direction', 'width_right', 'width_left', 'response', 'contrast', 'asymmetry'

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


Possible Predecessors

::lines_gauss, ::lines_facet, ::edges_sub_pix


See also

::query_contour_attribs_xld, ::get_contour_global_attrib_xld, ::query_contour_global_attribs_xld


Module

Sub-pixel operators



Copyright © 1996-2002 MVTec Software GmbH