#include <vtkSubPixelPositionEdgels.h>
Inheritance diagram for vtkSubPixelPositionEdgels:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetGradMaps (vtkStructuredPoints *gm) |
vtkStructuredPoints * | GetGradMaps () |
virtual void | SetTargetFlag (int) |
virtual int | GetTargetFlag () |
virtual void | TargetFlagOn () |
virtual void | TargetFlagOff () |
virtual void | SetTargetValue (float) |
virtual float | GetTargetValue () |
Static Public Methods | |
vtkSubPixelPositionEdgels * | New () |
int | IsTypeOf (const char *type) |
vtkSubPixelPositionEdgels * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkSubPixelPositionEdgels () | |
~vtkSubPixelPositionEdgels () | |
vtkSubPixelPositionEdgels (const vtkSubPixelPositionEdgels &) | |
void | operator= (const vtkSubPixelPositionEdgels &) |
void | Execute () |
void | Move (int xdim, int ydim, int zdim, int x, int y, float *img, vtkVectors *inVecs, float *result, int z, float *aspect, float *resultNormal) |
Protected Attributes | |
int | TargetFlag |
float | TargetValue |
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 modifies 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.
Definition at line 71 of file vtkSubPixelPositionEdgels.h.
|
|
|
|
|
Definition at line 93 of file vtkSubPixelPositionEdgels.h. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkPolyDataSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataToPolyDataFilter. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataToPolyDataFilter. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataToPolyDataFilter. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataToPolyDataFilter. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Set/Get the gradient data for doing the position adjustments. |
|
|
|
These methods can make the positioning look for a target scalar value instead of looking for a maximum. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 94 of file vtkSubPixelPositionEdgels.h. |
|
Reimplemented from vtkSource. |
|
|
|
Definition at line 102 of file vtkSubPixelPositionEdgels.h. |
|
Definition at line 103 of file vtkSubPixelPositionEdgels.h. |