Documentation for vtkLinkEdgels

vtkLinkEdgels - links edgels together to form digital curves.

Super Class: vtkStructuredPointsToPolyDataFilter

Description:

vtkLinkEdgels links edgels into digital curves which are then stored as polylines. The algorithm works one pixel at a time only looking at its immediate neighbors. There is a GradientThreshold that can be set that eliminates any pixels with a smaller gradient value. This can be used as the lower threshold of a two value edgel thresholding. For the remaining edgels, links are first tried for the four connected neighbors. A succesful neighbor will satisfy three tests. First both edgels must be above the gradient threshold. Second, the difference between the orientation between the two edgels (Alpha) and each edgels orientation (Phi) must be less than LinkThreshold. Third, the difference between the two edgels Phi values must be less than PhiThreshold. The most successful link is selected. The meaure is simply the sum of the three angle differences (actually stored as the sum of the cosines). If none of the four connect neighbors succeds, then the eight connect neighbors are examined using the same method. This filter requires gradient information so you will need to use a vtkImageGradient at some point prior to this filter. Typically a vtkNonMaximumSuppression filter is also used. vtkThresholdEdgels can be used to complete the two value edgel thresholding as used in a Canny edge detector. The vtkSubpixelPositionEdgels filter can also be used after this filter to adjust the edgel locations.

 

See Also:

vtkImage vtkImageGradient vtkNonMaximumSuppression

 

Methods:

void vtkLinkEdgels ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkLinkEdgels *New ()
void SetLinkThreshold (float )
float GetLinkThreshold ()
void SetPhiThreshold (float )
float GetPhiThreshold ()
void SetGradientThreshold (float )
float GetGradientThreshold ()
void Execute ()
void LinkEdgels (int ,int ,float * ,vtkVectors * ,vtkCellArray * ,vtkPoints * ,vtkScalars * ,vtkVectors * ,int )

 

Detailed Method Descriptions:

Construct instance of vtkLinkEdgels with GradientThreshold set to 0.1, PhiThreshold set to 90 degrees and LinkThreshold set to 90 degrees.

static vtkLinkEdgels *New ()

Set/Get the threshold for Phi vs. Alpha link thresholding.

void SetLinkThreshold (float )
float GetLinkThreshold ()

Set/get the threshold for Phi vs. Phi link thresholding.

void SetPhiThreshold (float )
float GetPhiThreshold ()

Set/Get the threshold for image gradient thresholding.

void SetGradientThreshold (float )
float GetGradientThreshold ()