#include <itkNonThreadedShrinkImageFilter.h>
Inheritance diagram for itk::NonThreadedShrinkImageFilter:
Public Types | |
typedef NonThreadedShrinkImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Public Methods | |
virtual const char * | GetClassName () const |
virtual void | SetShrinkFactor (unsigned int _arg) |
virtual unsigned int | GetShrinkFactor () |
virtual void | GenerateOutputInformation () |
virtual void | GenerateInputRequestedRegion () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
NonThreadedShrinkImageFilter () | |
~NonThreadedShrinkImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
NonThreadedShrinkImageFilter reduces the size of an image by an integer factor. The algorithm implemented is a simple subsample. Since this filter produces an image which is a different resolution and with different pixel spacing than its input image, it needs to override several of the methods defined in ProcessObject in order to properly manage the pipeline execution model. In particular, this filter overrides ProcessObject::GenerateInputRequestedRegion() and ProcessObject::GenerateOutputInformation().
Definition at line 41 of file itkNonThreadedShrinkImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 49 of file itkNonThreadedShrinkImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 48 of file itkNonThreadedShrinkImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 46 of file itkNonThreadedShrinkImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 47 of file itkNonThreadedShrinkImageFilter.h. |
|
|
|
Definition at line 83 of file itkNonThreadedShrinkImageFilter.h. |
|
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >. |
|
NonThreadedShrinkImageFilter needs a larger input requested region than the output requested region. As such, NonThreadedShrinkImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model. *
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
NonThreadedShrinkImageFilter produces an image which is a different resolution and with a different pixel spacing than its input image. As such, NonThreadedShrinkImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Reimplemented from itk::ProcessObject. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the shrink factor. |
|
Method for creation through the object factory. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
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 itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set the shrink factor. The default value is 1. |