Subsamples an image.
More...
#include <vtkImageShrink3D.h>
List of all members.
Public Types |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions |
virtual int | IsA (const char *type) |
vtkImageShrink3D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetMean (int) |
virtual int | GetMean () |
virtual void | MeanOn () |
virtual void | MeanOff () |
void | SetMinimum (int) |
virtual int | GetMinimum () |
virtual void | MinimumOn () |
virtual void | MinimumOff () |
void | SetMaximum (int) |
virtual int | GetMaximum () |
virtual void | MaximumOn () |
virtual void | MaximumOff () |
void | SetMedian (int) |
virtual int | GetMedian () |
virtual void | MedianOn () |
virtual void | MedianOff () |
|
virtual void | SetShrinkFactors (int, int, int) |
virtual void | SetShrinkFactors (int[3]) |
virtual int * | GetShrinkFactors () |
virtual void | GetShrinkFactors (int &, int &, int &) |
virtual void | GetShrinkFactors (int[3]) |
|
virtual void | SetShift (int, int, int) |
virtual void | SetShift (int[3]) |
virtual int * | GetShift () |
virtual void | GetShift (int &, int &, int &) |
virtual void | GetShift (int[3]) |
|
void | SetAveraging (int) |
int | GetAveraging () |
virtual void | AveragingOn () |
virtual void | AveragingOff () |
Static Public Member Functions |
static vtkImageShrink3D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageShrink3D * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions |
virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkImageShrink3D () |
| ~vtkImageShrink3D () |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) |
void | InternalRequestUpdateExtent (int *inExt, int *outExt) |
Protected Attributes |
int | ShrinkFactors [3] |
int | Shift [3] |
int | Mean |
int | Minimum |
int | Maximum |
int | Median |
Detailed Description
Subsamples an image.
vtkImageShrink3D shrinks an image by sub sampling on a uniform grid (integer multiples).
- Examples:
- vtkImageShrink3D (Examples)
- Tests:
- vtkImageShrink3D (Tests)
Definition at line 35 of file vtkImageShrink3D.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
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 vtkThreadedImageAlgorithm.
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 vtkThreadedImageAlgorithm.
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 vtkThreadedImageAlgorithm.
Set/Get the shrink factors
Set/Get the shrink factors
Set/Get the shrink factors
Set/Get the shrink factors
Set/Get the shrink factors
Set/Get the pixel to use as origin.
Set/Get the pixel to use as origin.
Set/Get the pixel to use as origin.
Set/Get the pixel to use as origin.
Set/Get the pixel to use as origin.
Choose Mean, Minimum, Maximum, Median or sub sampling. The neighborhood operations are not centered on the sampled pixel. This may cause a half pixel shift in your output image. You can changed "Shift" to get around this. vtkImageGaussianSmooth or vtkImageMean with strides.
Choose Mean, Minimum, Maximum, Median or sub sampling. The neighborhood operations are not centered on the sampled pixel. This may cause a half pixel shift in your output image. You can changed "Shift" to get around this. vtkImageGaussianSmooth or vtkImageMean with strides.
Definition at line 61 of file vtkImageShrink3D.h.
Choose Mean, Minimum, Maximum, Median or sub sampling. The neighborhood operations are not centered on the sampled pixel. This may cause a half pixel shift in your output image. You can changed "Shift" to get around this. vtkImageGaussianSmooth or vtkImageMean with strides.
Choose Mean, Minimum, Maximum, Median or sub sampling. The neighborhood operations are not centered on the sampled pixel. This may cause a half pixel shift in your output image. You can changed "Shift" to get around this. vtkImageGaussianSmooth or vtkImageMean with strides.
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.
Reimplemented from vtkImageAlgorithm.
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 vtkThreadedImageAlgorithm.
Member Data Documentation
The documentation for this class was generated from the following file: