Documentation for vtkSubPixelPositionEdgels

vtkSubPixelPositionEdgels - adjust edgel locations based on gradients.

Super Class: vtkPolyDataToPolyDataFilter

Description:

vtkSubPixelPositionEdgels is a filter that takes a series of linked edgels (digital curves) and gradient maps as input. It then adjusts the edgel locations based on the gradient data. Specifically, the algorithm first determines the neighboring gradient magnitudes of an edgel using simple interpolation of its neighbors. It then fits the following three data points: negative gradient direction gradient magnitude, edgel gradient magnitude and positive gradient direction gradient magnitude to a quadratic function. It then solves this quadratic to find the maximum gradient location along the gradient orientation. It then modifes the edgels location along the gradient orientation to the calculated maximum location. This algorithm does not adjust an edgel in the direction orthogonal to its gradient vector.

 

See Also:

vtkImage vtkImageGradient vtkLinkEdgels

 

Methods:

void vtkSubPixelPositionEdgels ()
void vtkSubPixelPositionEdgels ()
static vtkSubPixelPositionEdgels *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void Update ()
void SetGradMaps (vtkStructuredPoints *)
vtkStructuredPoints *GetGradMaps ()
void SetTargetFlag (int )
int GetTargetFlag ()
void TargetFlagOn ()
void TargetFlagOff ()
void SetTargetValue (float )
float GetTargetValue ()
void Execute ()
void Move (int ,int ,int ,int ,int ,float * ,vtkVectors * ,float * ,int ,float * ,float *)

 

Detailed Method Descriptions:

Override update method because execution can branch two ways (Input and GradMaps)

void Update ()

Set/Get the gradient data for doing the position adjustments.

void SetGradMaps (vtkStructuredPoints *)
vtkStructuredPoints *GetGradMaps ()

These methods can make the positioning look for a target scalar value instead of looking for a maximum.

void SetTargetFlag (int )
int GetTargetFlag ()
void TargetFlagOn ()
void TargetFlagOff ()
void SetTargetValue (float )
float GetTargetValue ()