18 #ifndef itkResampleImageFilter_h 19 #define itkResampleImageFilter_h 85 template<
typename TInputImage,
86 typename TOutputImage,
87 typename TInterpolatorPrecisionType = double,
88 typename TTransformPrecisionType = TInterpolatorPrecisionType>
114 TOutputImage::ImageDimension);
116 TInputImage::ImageDimension);
125 typedef Transform< TTransformPrecisionType,
204 itkSetObjectMacro(Interpolator, InterpolatorType);
205 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
211 itkSetObjectMacro(Extrapolator, ExtrapolatorType);
212 itkGetModifiableObjectMacro(Extrapolator, ExtrapolatorType);
216 itkSetMacro(
Size, SizeType);
217 itkGetConstReferenceMacro(
Size, SizeType);
222 itkSetMacro(DefaultPixelValue, PixelType);
223 itkGetConstReferenceMacro(DefaultPixelValue, PixelType);
227 itkSetMacro(OutputSpacing, SpacingType);
232 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
235 itkSetMacro(OutputOrigin, OriginPointType);
240 itkGetConstReferenceMacro(OutputOrigin, OriginPointType);
243 itkSetMacro(OutputDirection, DirectionType);
244 itkGetConstReferenceMacro(OutputDirection, DirectionType);
252 itkSetMacro(OutputStartIndex, IndexType);
255 itkGetConstReferenceMacro(OutputStartIndex, IndexType);
263 itkSetInputMacro(ReferenceImage, ReferenceImageBaseType);
266 itkGetInputMacro(ReferenceImage, ReferenceImageBaseType);
270 itkSetMacro(UseReferenceImage,
bool);
271 itkBooleanMacro(UseReferenceImage);
272 itkGetConstMacro(UseReferenceImage,
bool);
300 #ifdef ITK_USE_CONCEPT_CHECKING 335 outputRegionForThread,
342 outputRegionForThread,
346 const ComponentType minComponent,
347 const ComponentType maxComponent)
const;
351 void operator=(
const Self &) ITK_DELETE_FUNCTION;
370 #ifndef ITK_MANUAL_INSTANTIATION 371 #include "itkResampleImageFilter.hxx" ImageBase< ImageDimension > ReferenceImageBaseType
virtual void SetOutputSpacing(SpacingType _arg)
TOutputImage::DirectionType DirectionType
TOutputImage::IndexType IndexType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InterpolatorPointerType m_Interpolator
DecoratedTransformType::Pointer DecoratedTransformPointer
DefaultConvertPixelTraits< PixelType > PixelConvertType
ExtrapolateImageFunction< InputImageType, TInterpolatorPrecisionType > ExtrapolatorType
ModifiedTimeType GetMTime(void) const override
InterpolatorConvertType::ComponentType ComponentType
Size< itkGetStaticConstMacro(ImageDimension) > SizeType
Resample an image via a coordinate transform.
LinearInterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > LinearInterpolatorType
OriginPointType m_OutputOrigin
unsigned long ModifiedTimeType
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
InputImageType::RegionType InputImageRegionType
IndexType m_OutputStartIndex
Traits class used to by ConvertPixels to convert blocks of pixels.
PixelType::ComponentType ComponentType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< Self > Pointer
TOutputImage::RegionType OutputImageRegionType
ContinuousIndex< TTransformPrecisionType, ImageDimension > ContinuousInputIndexType
ExtrapolatorType::Pointer ExtrapolatorPointerType
virtual void GenerateInputRequestedRegion() override
InterpolatorType::Pointer InterpolatorPointerType
DirectionType m_OutputDirection
Transform< TTransformPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > TransformType
void SetOutputParametersFromImage(const ImageBaseType *image)
virtual PixelType CastPixelWithBoundsChecking(const InterpolatorOutputType value, const ComponentType minComponent, const ComponentType maxComponent) const
Superclass::OutputType OutputType
DataObjectDecorator< TransformType > DecoratedTransformType
virtual void GenerateOutputInformation() override
ImageBase< itkGetStaticConstMacro(ImageDimension) > ImageBaseType
PixelConvertType::ComponentType PixelComponentType
SpacingType m_OutputSpacing
virtual void BeforeThreadedGenerateData() override
DefaultConvertPixelTraits< InterpolatorOutputType > InterpolatorConvertType
LinearInterpolatorType::Pointer LinearInterpolatorPointerType
void PrintSelf(std::ostream &os, Indent indent) const override
TInputImage InputImageType
TOutputImage OutputImageType
static const unsigned int ImageDimension
Decorates any subclass of itkObject with a DataObject API.
static const unsigned int InputImageDimension
virtual void SetOutputOrigin(OriginPointType _arg)
TransformType::ConstPointer TransformPointerType
void operator=(const Self &) ITK_DELETE_FUNCTION
TOutputImage::SpacingType SpacingType
Linearly interpolate an image at specified positions.
unsigned int ThreadIdType
SmartPointer< const Self > ConstPointer
Base class for all image interpolaters.
virtual void LinearThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
TOutputImage::PixelType PixelType
InputImageType::Pointer InputImagePointer
Base class for templated image classes.
virtual void NonlinearThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
A templated class holding a point in n-Dimensional image space.
InputImageType::ConstPointer InputImageConstPointer
InterpolatorType::PointType PointType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ExtrapolatorPointerType m_Extrapolator
virtual void AfterThreadedGenerateData() override
virtual void VerifyInputInformation() override
OutputImageType::Pointer OutputImagePointer
#define itkConceptMacro(name, concept)
A templated class holding a geometric point in n-Dimensional space.
TOutputImage::PointType OriginPointType
InterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > InterpolatorType
TInputImage::PixelType InputPixelType
PixelType m_DefaultPixelValue
InterpolatorType::OutputType InterpolatorOutputType