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:
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:
void Update () |
void SetGradMaps (vtkStructuredPoints *) | |
vtkStructuredPoints *GetGradMaps () |
void SetTargetFlag (int ) | |
int GetTargetFlag () | |
void TargetFlagOn () | |
void TargetFlagOff () | |
void SetTargetValue (float ) | |
float GetTargetValue () |