[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Edgel Class Reference |
#include <vigra/edgedetection.hxx>
Public Types | |
typedef float | value_type |
Public Attributes | |
value_type | orientation |
The edgel's orientation. More... | |
value_type | strength |
value_type | x |
value_type | y |
Helper class that stores edgel attributes.
typedef float value_type |
The type of an Edgel's members.
The edgel's sub-pixel x coordinate.
The edgel's sub-pixel y coordinate.
value_type strength |
The edgel's strength (magnitude of the gradient vector).
value_type orientation |
The edgel's orientation.
This is the clockwise angle in radians between the x-axis and the edge, so that the bright side of the edge is on the left when one looks along the orientation vector. The angle is measured clockwise because the y-axis increases downwards (left-handed coordinate system):
So, for example a vertical edge with its dark side on the left has orientation PI/2, and a horizontal edge with dark side on top has orientation PI. Obviously, the edge's orientation changes by PI if the contrast is reversed.
Note that this convention changed as of VIGRA version 1.7.0.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|