#include <vtkImageSkeleton2D.h>
Inheritance diagram for vtkImageSkeleton2D:
vtkImageSkeleton2D should leave only single pixel width lines of non-zero-valued pixels (values of 1 are not allowed). It works by erosion on a 3x3 neighborhood with special rules. The number of iterations determines how far the filter can erode. There are three pruning levels: prune == 0 will leave traces on all angles... prune == 1 will not leave traces on 135 degree angles, but will on 90. prune == 2 does not leave traces on any angles leaving only closed loops. Prune defaults to zero. The output scalar type is the same as the input.
Definition at line 48 of file vtkImageSkeleton2D.h.
Public Types | |
typedef vtkImageIterateFilter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetNumberOfIterations (int num) |
virtual void | IterativeExecuteData (vtkImageData *in, vtkImageData *out) |
virtual void | SetPrune (int) |
virtual int | GetPrune () |
virtual void | PruneOn () |
virtual void | PruneOff () |
Static Public Member Functions | |
vtkImageSkeleton2D * | New () |
int | IsTypeOf (const char *type) |
vtkImageSkeleton2D * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageSkeleton2D () | |
~vtkImageSkeleton2D () | |
void | ComputeInputUpdateExtent (int inExt[6], int outExt[6]) |
void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id) |
Protected Attributes | |
int | Prune |
|
Reimplemented from vtkImageIterateFilter. Definition at line 52 of file vtkImageSkeleton2D.h. |
|
|
|
Definition at line 70 of file vtkImageSkeleton2D.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkImageIterateFilter. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageIterateFilter. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageIterateFilter. |
|
Reimplemented from vtkImageIterateFilter. |
|
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 vtkImageIterateFilter. |
|
When prune is on, only closed loops are left unchanged. |
|
When prune is on, only closed loops are left unchanged. |
|
When prune is on, only closed loops are left unchanged. |
|
When prune is on, only closed loops are left unchanged. |
|
Sets the number of cycles in the erosion. Reimplemented from vtkImageIterateFilter. |
|
Implements vtkImageIterateFilter. Definition at line 65 of file vtkImageSkeleton2D.h. References vtkImageToImageFilter::MultiThread(). |
|
Reimplemented from vtkImageIterateFilter. |
|
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method. Reimplemented from vtkImageToImageFilter. |
|
Definition at line 72 of file vtkImageSkeleton2D.h. |