NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Filter to sub- or super-sample an image by a certain factor and apply the appropriate blurring (equivalent to voxel averaging for integer subsampling factors) when subsampling. More...
Public Types | |
typedef SampleImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::OutputImageType | OutputImageType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
void | SetDebug (bool b) |
Set the debugging output. More... | |
void | DebugOn () |
Set debugging output on. More... | |
void | DebugOff () |
Set debugging output off. More... | |
virtual void | VerboseOn () |
virtual void | VerboseOff () |
virtual bool | GetVerbose () const |
virtual void | SetVerbose (bool _arg) |
virtual void | IsotropicVoxelsOn () |
virtual void | IsotropicVoxelsOff () |
virtual bool | GetIsotropicVoxels () const |
virtual void | SetIsotropicVoxels (bool _arg) |
void | SetSamplingFactors (double data[]) |
void | SetSamplingFactors (itk::Array< double > &sampling) |
virtual const double * | GetSamplingFactors () const |
void | SetInterpolationType (InterpolationTypeEnum interp) |
OutputImagePointer | GetSmoothedImage (unsigned int idim, OutputImagePointer image) |
virtual void | GenerateOutputInformation () |
virtual void | GenerateInputRequestedRegion () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
SampleImageFilter () | |
~SampleImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | GenerateData () |
Protected Attributes | |
bool | m_Verbose |
bool | m_IsotropicVoxels |
InterpolationTypeEnum | m_Interpolation |
double | m_SamplingFactors [TInputImage::ImageDimension] |
Filter to sub- or super-sample an image by a certain factor and apply the appropriate blurring (equivalent to voxel averaging for integer subsampling factors) when subsampling.
typedef SmartPointer<const Self> itk::SampleImageFilter< TInputImage, TOutputImage >::ConstPointer |
typedef Superclass::InputImageConstPointer itk::SampleImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
typedef Superclass::InputImagePointer itk::SampleImageFilter< TInputImage, TOutputImage >::InputImagePointer |
typedef Superclass::InputImageType itk::SampleImageFilter< TInputImage, TOutputImage >::InputImageType |
Inherit types from Superclass.
typedef Superclass::OutputImagePointer itk::SampleImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
typedef Superclass::OutputImageType itk::SampleImageFilter< TInputImage, TOutputImage >::OutputImageType |
typedef SmartPointer<Self> itk::SampleImageFilter< TInputImage, TOutputImage >::Pointer |
typedef SampleImageFilter itk::SampleImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::SampleImageFilter< TInputImage, TOutputImage >::Superclass |
|
protected |
|
inlineprotected |
|
inline |
Set debugging output off.
|
inline |
Set debugging output on.
|
protectedvirtual |
Generate the output data.
Reimplemented in itk::BinaryShapeBasedSuperSamplingFilter< TInputImage, TOutputImage >.
|
virtual |
SampleImageFilter requires a larger input requested region than the output requested regions to accomdate the shrinkage and smoothing operations. As such, SampleImageFilter needs to provide an implementation for GenerateInputRequestedRegion(). The original documentation of this method is below.
|
virtual |
SampleImageFilter produces images which are of different resolution and different pixel spacing than its input image. As such, SampleImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
|
virtual |
Run-time type information (and related methods).
Reimplemented in itk::BinaryShapeBasedSuperSamplingFilter< TInputImage, TOutputImage >.
|
virtual |
|
virtual |
OutputImagePointer itk::SampleImageFilter< TInputImage, TOutputImage >::GetSmoothedImage | ( | unsigned int | idim, |
OutputImagePointer | image | ||
) |
|
virtual |
|
virtual |
|
virtual |
itk::SampleImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
ImageDimension enumeration.
itk::SampleImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned | int, | ||
TOutputImage::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
protected |
|
inline |
Set the debugging output.
|
inline |
|
virtual |
void itk::SampleImageFilter< TInputImage, TOutputImage >::SetSamplingFactors | ( | double | data[] | ) |
Directly Set/Get the array of sampling factors for each image dimension
void itk::SampleImageFilter< TInputImage, TOutputImage >::SetSamplingFactors | ( | itk::Array< double > & | sampling | ) |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |