vigra::Edgel Class Reference
[Edge Detection]

Helper class that stores edgel attributes. More...

#include <edgedetection.hxx>

List of all members.

Public Member Functions

 Edgel ()
 Edgel (float ix, float iy, float is, float io)

Public Attributes

float x
 The edgel's sub-pixel x coordinate.
float y
 The edgel's sub-pixel y coordinate.
float strength
 The edgel's strength (magnitude of the gradient vector).
float orientation
 The edgel's orientation.


Detailed Description

Helper class that stores edgel attributes.

Definition at line 1142 of file edgedetection.hxx.


Constructor & Destructor Documentation

vigra::Edgel::Edgel  )  [inline]
 

Definition at line 1188 of file edgedetection.hxx.

vigra::Edgel::Edgel float  ix,
float  iy,
float  is,
float  io
[inline]
 

Definition at line 1192 of file edgedetection.hxx.


Member Data Documentation

float vigra::Edgel::orientation
 

The edgel's orientation.

This is the angle between the x-axis and the edge, so that the bright side of the edge is on the right. The angle is measured counter-clockwise in radians like this:

  edgel axis
      \  (bright side)
 (dark \
 side)  \ /__
         \\  \ orientation angle
          \  |
           +------------> x-axis
           |
           |
           |
           |
    y-axis V

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 0. Obviously, the edge's orientation changes by PI if the contrast is reversed.

Definition at line 1186 of file edgedetection.hxx.

Referenced by APImage::_internalCannyFindEdgels(), and Descriptor::createDescriptors().

float vigra::Edgel::strength
 

The edgel's strength (magnitude of the gradient vector).

Definition at line 1155 of file edgedetection.hxx.

Referenced by APImage::_internalCannyFindEdgels(), and Descriptor::createDescriptors().

float vigra::Edgel::x
 

The edgel's sub-pixel x coordinate.

Definition at line 1147 of file edgedetection.hxx.

Referenced by APImage::_internalCannyFindEdgels(), and Descriptor::createDescriptors().

float vigra::Edgel::y
 

The edgel's sub-pixel y coordinate.

Definition at line 1151 of file edgedetection.hxx.

Referenced by APImage::_internalCannyFindEdgels(), and Descriptor::createDescriptors().


The documentation for this class was generated from the following file:
Generated on Mon Sep 9 01:25:58 2013 for Hugintrunk by  doxygen 1.3.9.1