VTK
|
Variance in a neighborhood. More...
#include <vtkImageVariance3D.h>
Public Types | |
typedef vtkImageSpatialAlgorithm | Superclass |
![]() | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageVariance3D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetKernelSize (int size0, int size1, int size2) |
![]() | |
vtkImageSpatialAlgorithm * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int * | GetKernelSize () |
virtual void | GetKernelSize (int &, int &, int &) |
virtual void | GetKernelSize (int[3]) |
virtual int * | GetKernelMiddle () |
virtual void | GetKernelMiddle (int &, int &, int &) |
virtual void | GetKernelMiddle (int[3]) |
Static Public Member Functions | |
static vtkImageVariance3D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageVariance3D * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkImageSpatialAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSpatialAlgorithm * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageVariance3D () | |
~vtkImageVariance3D () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
![]() | |
vtkImageSpatialAlgorithm () | |
~vtkImageSpatialAlgorithm () | |
void | ComputeOutputWholeExtent (int extent[6], int handleBoundaries) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | InternalRequestUpdateExtent (int *extent, int *inExtent, int *wholeExtent) |
Protected Attributes | |
vtkImageEllipsoidSource * | Ellipse |
![]() | |
int | KernelSize [3] |
int | KernelMiddle [3] |
int | HandleBoundaries |
Variance in a neighborhood.
vtkImageVariance3D replaces each pixel with a measurement of pixel variance in a elliptical neighborhood centered on that pixel. The value computed is not exactly the variance. The difference between the neighbor values and center value is computed and squared for each neighbor. These values are summed and divided by the total number of neighbors to produce the output value.
Definition at line 38 of file vtkImageVariance3D.h.
Definition at line 42 of file vtkImageVariance3D.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkImageSpatialAlgorithm.
|
static |
|
protectedvirtual |
Reimplemented from vtkImageSpatialAlgorithm.
vtkImageVariance3D* vtkImageVariance3D::NewInstance | ( | ) | const |
void vtkImageVariance3D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkImageVariance3D::SetKernelSize | ( | int | size0, |
int | size1, | ||
int | size2 | ||
) |
This method sets the size of the neighborhood. It also sets the default middle of the neighborhood and computes the Elliptical foot print.
|
protectedvirtual |
Reimplemented from vtkImageSpatialAlgorithm.
|
protected |
|
protectedvirtual |
|
protected |
Definition at line 54 of file vtkImageVariance3D.h.