VTK
|
Skeleton of 2D images. More...
#include <vtkImageSkeleton2D.h>
Public Types | |
typedef vtkImageIterateFilter | Superclass |
![]() | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageSkeleton2D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetNumberOfIterations (int num) |
virtual void | SetPrune (int) |
virtual int | GetPrune () |
virtual void | PruneOn () |
virtual void | PruneOff () |
![]() | |
vtkImageIterateFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | GetIteration () |
virtual int | GetNumberOfIterations () |
Static Public Member Functions | |
static vtkImageSkeleton2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSkeleton2D * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkImageIterateFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageSkeleton2D () | |
~vtkImageSkeleton2D () | |
virtual int | IterativeRequestUpdateExtent (vtkInformation *in, vtkInformation *out) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inDataV, vtkImageData **outDataV, int outExt[6], int id) |
![]() | |
vtkImageIterateFilter () | |
~vtkImageIterateFilter () | |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | IterativeRequestInformation (vtkInformation *in, vtkInformation *out) |
virtual int | IterativeRequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | Prune |
![]() | |
int | NumberOfIterations |
int | Iteration |
vtkAlgorithm ** | IterationData |
vtkInformationVector * | InputVector |
vtkInformationVector * | OutputVector |
Skeleton of 2D images.
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 38 of file vtkImageSkeleton2D.h.
Definition at line 42 of file vtkImageSkeleton2D.h.
|
protected |
|
inlineprotected |
Definition at line 57 of file vtkImageSkeleton2D.h.
|
static |
|
static |
|
virtual |
Reimplemented from vtkImageIterateFilter.
|
static |
|
protectedvirtual |
Reimplemented from vtkImageIterateFilter.
vtkImageSkeleton2D* vtkImageSkeleton2D::NewInstance | ( | ) | const |
void vtkImageSkeleton2D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
When prune is on, only closed loops are left unchanged.
|
virtual |
When prune is on, only closed loops are left unchanged.
|
virtual |
When prune is on, only closed loops are left unchanged.
|
virtual |
When prune is on, only closed loops are left unchanged.
|
virtual |
Sets the number of cycles in the erosion.
Reimplemented from vtkImageIterateFilter.
|
protectedvirtual |
Reimplemented from vtkImageIterateFilter.
|
protected |
|
protected |
Definition at line 57 of file vtkImageSkeleton2D.h.