Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType > Class Template Reference
[Filters that cannot be streamed]
Down-samples an image by a factor of 2 using B-Spline filter interpolation.
More...
#include <itkBSplineDownsampleImageFilter.h>
List of all members.
Detailed Description
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>>
class itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >
Down-samples an image by a factor of 2 using B-Spline filter interpolation.
This class is the public interface for spline down-sampling as defined by the ResamplerType. Requires the use of a resampler type. If in doubt, the basic itkBSplineResampleImageFilterBase should work fine for most applications.
This class may also be used to create a smoother by combining it with the upSampler as in the following example: typedef itk::BSplineResampleImageFilterBase<ImageType2D, ImageType2D> ResamplerType; typedef itk::BSplineDownsampleImageFilter<ImageType2D,ImageType2D,ResamplerType> DownsamplerType2D; typedef itk::BSplineUpsampleImageFilter<ImageType2D,ImageType2D,ResamplerType> UpsamplerType2D;
DownsamplerType2D::Pointer downSampler = DownsamplerType2D::New(); UpsamplerType2D::Pointer upSampler = UpsamplerType2D::New(); int splineOrder = 3; downSampler->SetSplineOrder(splineOrder); upSampler->SetSplineOrder(splineOrder);
downSampler->SetInput(image); downSampler->Update();
upSampler->SetInput( downSampler->GetOutput() ); // output of downSampler is input to upSampler upSampler->Update();
ImageTypePtr2D outImage2 = upSampler->GetOutput(); // outImage2 is the smoothed imaged
Limitations: This class requires specification of a resampler type which may be one of: itkBSplineResampleImageFilterBase, itkBSplineL2ResampleImageFilterBase itkBSplineSplineCenteredResampleImageFilterBase, itkBSplineCenteredL2ResampleImageFilterBase The limitations of these resampler types will apply to this filter. Downsamples only by a factor of 2.
- See also:
- itkBSplineDownsampleImageFilter
itkBSplineL2ResampleImageFilter
itkBSplineResampleImageFilterBase
itkBSplineCenteredResampleImageFilterBase
itkBSplineCenteredL2ResampleImageFilterBase
Definition at line 83 of file itkBSplineDownsampleImageFilter.h.
Member Typedef Documentation
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
typedef Superclass::InputImagePointer itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::InputImagePointer |
|
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
typedef Superclass::OutputImageIterator itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::OutputImageIterator |
|
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
typedef Superclass::OutputImagePointer itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::OutputImagePointer |
|
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
typedef ResamplerType itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::Superclass |
|
Constructor & Destructor Documentation
Member Function Documentation
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
void itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::EnlargeOutputRequestedRegion |
( |
DataObject * |
output |
) |
[protected] |
|
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
void itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::GenerateData |
( |
|
) |
[protected] |
|
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
void itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::GenerateInputRequestedRegion |
( |
|
) |
|
|
|
This filter requires all of the input image |
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
void itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::GenerateOutputInformation |
( |
|
) |
|
|
|
Creates an image half the size of the input image with spacing twice the input image. |
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
virtual const char* itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::GetClassName |
( |
|
) |
const [virtual] |
|
|
Run-time type information (and related methods). |
template<class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage>> |
Pointer itk::BSplineDownsampleImageFilter< TInputImage, TOutputImage, ResamplerType >::New |
( |
|
) |
[static] |
|
|
New macro for creation of through a Smart Pointer |
The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:41:49 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000