#include <vtkImageCityBlockDistance.h>
Inheritance diagram for vtkImageCityBlockDistance:
vtkImageCityBlockDistance creates a distance map using the city block (Manhatten) distance measure. The input is a mask. Zero values are considered boundaries. The output pixel is the minimum of the input pixel and the distance to a boundary (or neighbor value + 1 unit). distance values are calculated in pixels. The filter works by taking 6 passes (for 3d distance map): 2 along each axis (forward and backward). Each pass keeps a running minimum distance. For some reason, I preserve the sign if the distance. If the input mask is initially negative, the output distances will be negative. Distances maps can have inside (negative regions) and outsides (positive regions).
Definition at line 51 of file vtkImageCityBlockDistance.h.
Public Types | |
typedef vtkImageDecomposeFilter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
Static Public Member Functions | |
vtkImageCityBlockDistance * | New () |
int | IsTypeOf (const char *type) |
vtkImageCityBlockDistance * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageCityBlockDistance () | |
~vtkImageCityBlockDistance () | |
void | ComputeInputUpdateExtent (int inExt[6], int outExt[6]) |
void | IterativeExecuteData (vtkImageData *inData, vtkImageData *outData) |
void | AllocateOutputScalars (vtkImageData *outData) |
|
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3. Reimplemented from vtkImageDecomposeFilter. Definition at line 55 of file vtkImageCityBlockDistance.h. |
|
|
|
Definition at line 59 of file vtkImageCityBlockDistance.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. |
|
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3. Reimplemented from vtkImageDecomposeFilter. |
|
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3. Reimplemented from vtkImageDecomposeFilter. |
|
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3. Reimplemented from vtkImageDecomposeFilter. |
|
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3. Reimplemented from vtkImageDecomposeFilter. |
|
Reimplemented from vtkImageIterateFilter. |
|
Implements vtkImageIterateFilter. |
|
Reimplemented from vtkImageIterateFilter. |