Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType > Class Template Reference

ITK filter that resamples/stitches multiple images into a given reference geometry. More...

#include <itkStitchImageFilter.h>

Inheritance diagram for itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >:
Collaboration diagram for itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >:

Public Types

typedef StitchImageFilter Self
 
typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > ImageBaseType
 
typedef Transform< TTransformPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > TransformType
 
typedef TransformType::ConstPointer TransformPointerType
 
typedef DataObjectDecorator< TransformTypeDecoratedTransformType
 
typedef DecoratedTransformType::Pointer DecoratedTransformPointer
 
typedef InterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > InterpolatorType
 
typedef InterpolatorType::Pointer InterpolatorPointerType
 
typedef InterpolatorType::OutputType InterpolatorOutputType
 
typedef DefaultConvertPixelTraits< InterpolatorOutputTypeInterpolatorConvertType
 
typedef InterpolatorConvertType::ComponentType ComponentType
 
typedef LinearInterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > LinearInterpolatorType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointerType
 
typedef Size< itkGetStaticConstMacro(ImageDimension) > SizeType
 
typedef TOutputImage::IndexType IndexType
 
typedef InterpolatorType::PointType PointType
 
typedef TOutputImage::PixelType PixelType
 
typedef TInputImage::PixelType InputPixelType
 
typedef DefaultConvertPixelTraits< PixelTypePixelConvertType
 
typedef PixelConvertType::ComponentType PixelComponentType
 
typedef ContinuousIndex< TTransformPrecisionType, ImageDimension > ContinuousInputIndexType
 
typedef TOutputImage::RegionType OutputImageRegionType
 
typedef TOutputImage::SpacingType SpacingType
 
typedef TOutputImage::PointType OriginPointType
 
typedef TOutputImage::DirectionType DirectionType
 
typedef ImageBase< ImageDimension > ReferenceImageBaseType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
void SetInput (const InputImageType *image) override
 
void SetInput (unsigned int index, const InputImageType *image) override
 
virtual void SetInput (unsigned int index, const InputImageType *image, const TransformType *transform)
 
virtual void SetInput (unsigned int index, const InputImageType *image, const TransformType *transform, InterpolatorType *interpolator)
 
const TransformTypeGetTransform (unsigned int index) const
 
const InterpolatorTypeGetInterpolator (unsigned int index) const
 
virtual void SetSize (SizeType _arg)
 
virtual const SizeTypeGetSize ()
 
virtual void SetDefaultPixelValue (PixelType _arg)
 
virtual const PixelTypeGetDefaultPixelValue ()
 
virtual void SetOutputSpacing (SpacingType _arg)
 
virtual void SetOutputSpacing (const double *values)
 
virtual const SpacingTypeGetOutputSpacing ()
 
virtual void SetOutputOrigin (OriginPointType _arg)
 
virtual void SetOutputOrigin (const double *values)
 
virtual const OriginPointTypeGetOutputOrigin ()
 
virtual void SetOutputDirection (DirectionType _arg)
 
virtual const DirectionTypeGetOutputDirection ()
 
void SetOutputParametersFromImage (const ImageBaseType *image)
 
virtual void SetOutputStartIndex (IndexType _arg)
 
virtual const IndexTypeGetOutputStartIndex ()
 
 itkSetInputMacro (ReferenceImage, ReferenceImageBaseType)
 
 itkGetInputMacro (ReferenceImage, ReferenceImageBaseType)
 
virtual void SetUseReferenceImage (bool _arg)
 
virtual void UseReferenceImageOn ()
 
virtual void UseReferenceImageOff ()
 
virtual bool GetUseReferenceImage () const
 
virtual void SetStitchStrategy (StitchStrategy _arg)
 
virtual StitchStrategy GetStitchStrategy () const
 
virtual void GenerateOutputInformation () ITK_OVERRIDE
 
virtual void GenerateInputRequestedRegion () ITK_OVERRIDE
 
virtual void BeforeThreadedGenerateData () ITK_OVERRIDE
 
virtual void AfterThreadedGenerateData () ITK_OVERRIDE
 
ModifiedTimeType GetMTime (void) const ITK_OVERRIDE
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 StitchImageFilter ()
 
 ~StitchImageFilter () ITK_OVERRIDE
 
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
virtual void VerifyInputInformation () const ITK_OVERRIDE
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) ITK_OVERRIDE
 
virtual PixelType CastPixelWithBoundsChecking (const InterpolatorOutputType value, const ComponentType minComponent, const ComponentType maxComponent) const
 
void SetTransform (unsigned int index, const TransformType *transform)
 
void EnsureTransforms ()
 
void EnsureInterpolators ()
 

Static Protected Member Functions

static std::string GetTransformInputName (unsigned int index)
 

Detailed Description

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
class itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >

ITK filter that resamples/stitches multiple images into a given reference geometry.

StitchImageFilter is similar to itk's ResampleImageFilter, but in difference to the last mentioned StitchImageFilter is able to resample multiple input images at once (with a transform for each input image). If multiple input images cover the output region the behavior depends on the StitchStragy:

  • Mean: a weighted sum of all voxels mapped input pixel values will be calculated.
  • BorderDistance: the voxels will be choosen that have the largest minimal distance to its own image borders.

All other behaviors are similar to itk::ResampleImageFilter. See the filter's description for more details.

Definition at line 63 of file itkStitchImageFilter.h.

Member Typedef Documentation

◆ ComponentType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InterpolatorConvertType::ComponentType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ComponentType

Definition at line 115 of file itkStitchImageFilter.h.

◆ ConstPointer

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef SmartPointer< const Self > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ConstPointer

Definition at line 71 of file itkStitchImageFilter.h.

◆ ContinuousInputIndexType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef ContinuousIndex< TTransformPrecisionType, ImageDimension > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ContinuousInputIndexType

Input pixel continuous index typdef

Definition at line 142 of file itkStitchImageFilter.h.

◆ DecoratedTransformPointer

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef DecoratedTransformType::Pointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::DecoratedTransformPointer

Definition at line 103 of file itkStitchImageFilter.h.

◆ DecoratedTransformType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef DataObjectDecorator<TransformType> itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::DecoratedTransformType

Definition at line 102 of file itkStitchImageFilter.h.

◆ DirectionType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage::DirectionType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::DirectionType

Definition at line 150 of file itkStitchImageFilter.h.

◆ ImageBaseType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ImageBaseType

base type for images of the current ImageDimension

Definition at line 93 of file itkStitchImageFilter.h.

◆ IndexType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage::IndexType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::IndexType

Image index typedef.

Definition at line 126 of file itkStitchImageFilter.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InputImageType::ConstPointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputImageConstPointer

Definition at line 76 of file itkStitchImageFilter.h.

◆ InputImagePointer

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InputImageType::Pointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputImagePointer

Definition at line 75 of file itkStitchImageFilter.h.

◆ InputImageRegionType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InputImageType::RegionType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputImageRegionType

Definition at line 78 of file itkStitchImageFilter.h.

◆ InputImageType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TInputImage itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputImageType

Definition at line 73 of file itkStitchImageFilter.h.

◆ InputPixelType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TInputImage::PixelType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputPixelType

Definition at line 134 of file itkStitchImageFilter.h.

◆ InterpolatorConvertType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef DefaultConvertPixelTraits< InterpolatorOutputType > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InterpolatorConvertType

Definition at line 113 of file itkStitchImageFilter.h.

◆ InterpolatorOutputType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InterpolatorType::OutputType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InterpolatorOutputType

Definition at line 111 of file itkStitchImageFilter.h.

◆ InterpolatorPointerType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InterpolatorType::Pointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InterpolatorPointerType

Definition at line 109 of file itkStitchImageFilter.h.

◆ InterpolatorType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InterpolatorType

Interpolator typedef.

Definition at line 108 of file itkStitchImageFilter.h.

◆ LinearInterpolatorPointerType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef LinearInterpolatorType::Pointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::LinearInterpolatorPointerType

Definition at line 120 of file itkStitchImageFilter.h.

◆ LinearInterpolatorType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef LinearInterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::LinearInterpolatorType

Definition at line 118 of file itkStitchImageFilter.h.

◆ OriginPointType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage::PointType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OriginPointType

Definition at line 149 of file itkStitchImageFilter.h.

◆ OutputImagePointer

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef OutputImageType::Pointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OutputImagePointer

Definition at line 77 of file itkStitchImageFilter.h.

◆ OutputImageRegionType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage::RegionType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OutputImageRegionType

Typedef to describe the output image region type.

Definition at line 145 of file itkStitchImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OutputImageType

Definition at line 74 of file itkStitchImageFilter.h.

◆ PixelComponentType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef PixelConvertType::ComponentType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::PixelComponentType

Definition at line 138 of file itkStitchImageFilter.h.

◆ PixelConvertType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef DefaultConvertPixelTraits<PixelType> itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::PixelConvertType

Definition at line 136 of file itkStitchImageFilter.h.

◆ PixelType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage::PixelType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::PixelType

Image pixel value typedef.

Definition at line 133 of file itkStitchImageFilter.h.

◆ Pointer

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef SmartPointer< Self > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::Pointer

Definition at line 70 of file itkStitchImageFilter.h.

◆ PointType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef InterpolatorType::PointType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::PointType

Image point typedef.

Definition at line 129 of file itkStitchImageFilter.h.

◆ ReferenceImageBaseType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef ImageBase<ImageDimension> itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ReferenceImageBaseType

Typedef the reference image type to be the ImageBase of the OutputImageType

Definition at line 155 of file itkStitchImageFilter.h.

◆ Self

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef StitchImageFilter itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::Self

Standard class typedefs.

Definition at line 68 of file itkStitchImageFilter.h.

◆ SizeType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef Size< itkGetStaticConstMacro(ImageDimension) > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SizeType

Image size typedef.

Definition at line 123 of file itkStitchImageFilter.h.

◆ SpacingType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TOutputImage::SpacingType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SpacingType

Image spacing,origin and direction typedef

Definition at line 148 of file itkStitchImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::Superclass

Definition at line 69 of file itkStitchImageFilter.h.

◆ TransformPointerType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef TransformType::ConstPointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::TransformPointerType

Definition at line 101 of file itkStitchImageFilter.h.

◆ TransformType

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
typedef Transform< TTransformPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::TransformType

Transform typedef.

Definition at line 100 of file itkStitchImageFilter.h.

Constructor & Destructor Documentation

◆ StitchImageFilter()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::StitchImageFilter ( )
protected

◆ ~StitchImageFilter()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::~StitchImageFilter ( )
inlineprotected

Definition at line 260 of file itkStitchImageFilter.h.

Member Function Documentation

◆ AfterThreadedGenerateData()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::AfterThreadedGenerateData ( )
virtual

Set the state of the filter after multi-threading.

◆ BeforeThreadedGenerateData()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::BeforeThreadedGenerateData ( )
virtual

Set up state of filter before multi-threading. InterpolatorType::SetInputImage is not thread-safe and hence has to be set up before ThreadedGenerateData

◆ CastPixelWithBoundsChecking()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual PixelType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::CastPixelWithBoundsChecking ( const InterpolatorOutputType  value,
const ComponentType  minComponent,
const ComponentType  maxComponent 
) const
protectedvirtual

Cast pixel from interpolator output to PixelType.

◆ EnsureInterpolators()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::EnsureInterpolators ( )
protected

Helper that ensures that an interpolator is specified for every input image. If a input image has no specified interpolator, a linear interpolator will be created and set as default.

◆ EnsureTransforms()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::EnsureTransforms ( )
protected

Helper that ensures that a transform is specified for every input image. If a input image has no specified transforms, an identity transform will be created and set as default.

◆ GenerateInputRequestedRegion()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GenerateInputRequestedRegion ( )
virtual

StitchImageFilter needs a different input requested region than the output requested region. As such, StitchImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.

See also
ProcessObject::GenerateInputRequestedRegion()

◆ GenerateOutputInformation()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GenerateOutputInformation ( )
virtual

StitchImageFilter produces an image which is a different size than its input. As such, it needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.

See also
ProcessObject::GenerateOutputInformaton()

◆ GetClassName()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const char* itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

◆ GetDefaultPixelValue()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const PixelType& itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetDefaultPixelValue ( )
virtual

◆ GetInterpolator()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
const InterpolatorType* itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetInterpolator ( unsigned int  index) const

◆ GetMTime()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
ModifiedTimeType itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetMTime ( void  ) const

Compute the Modified Time based on the changed components.

◆ GetOutputDirection()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const DirectionType& itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetOutputDirection ( )
virtual

◆ GetOutputOrigin()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const OriginPointType& itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetOutputOrigin ( )
virtual

Get the output image origin.

◆ GetOutputSpacing()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const SpacingType& itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetOutputSpacing ( )
virtual

Get the output image spacing.

◆ GetOutputStartIndex()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const IndexType& itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetOutputStartIndex ( )
virtual

Get the start index of the output largest possible region.

◆ GetSize()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual const SizeType& itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetSize ( )
virtual

◆ GetStitchStrategy()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual StitchStrategy itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetStitchStrategy ( ) const
virtual

◆ GetTransform()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
const TransformType* itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetTransform ( unsigned int  index) const

◆ GetTransformInputName()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
static std::string itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetTransformInputName ( unsigned int  index)
staticprotected

◆ GetUseReferenceImage()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual bool itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetUseReferenceImage ( ) const
virtual

◆ itkGetInputMacro()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::itkGetInputMacro ( ReferenceImage  ,
ReferenceImageBaseType   
)

Get the reference image that is defining the output information.

◆ itkSetInputMacro()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::itkSetInputMacro ( ReferenceImage  ,
ReferenceImageBaseType   
)

Set a reference image to use to define the output information. By default, output information is specificed through the SetOutputSpacing, Origin, and Direction methods. Alternatively, this method can be used to specify an image from which to copy the information. UseReferenceImageOn must be set to utilize the reference image.

◆ itkStaticConstMacro() [1/2]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::itkStaticConstMacro ( ImageDimension  ,
unsigned int  ,
TOutputImage::ImageDimension   
)

Number of dimensions.

◆ itkStaticConstMacro() [2/2]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::itkStaticConstMacro ( InputImageDimension  ,
unsigned int  ,
TInputImage::ImageDimension   
)

◆ New()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
static Pointer itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

◆ SetDefaultPixelValue()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetDefaultPixelValue ( PixelType  _arg)
virtual

Get/Set the pixel value when a transformed pixel is outside of the image. The default default pixel value is 0.

◆ SetInput() [1/4]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetInput ( const InputImageType image)
override

◆ SetInput() [2/4]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetInput ( unsigned int  index,
const InputImageType image 
)
override

◆ SetInput() [3/4]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetInput ( unsigned int  index,
const InputImageType image,
const TransformType transform 
)
virtual

Convinience methods that allows setting of input image and its transform in one call.

◆ SetInput() [4/4]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetInput ( unsigned int  index,
const InputImageType image,
const TransformType transform,
InterpolatorType interpolator 
)
virtual

◆ SetOutputDirection()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputDirection ( DirectionType  _arg)
virtual

Set the output direciton cosine matrix.

◆ SetOutputOrigin() [1/2]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputOrigin ( const double *  values)
virtual

◆ SetOutputOrigin() [2/2]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputOrigin ( OriginPointType  _arg)
virtual

Set the output image origin.

◆ SetOutputParametersFromImage()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputParametersFromImage ( const ImageBaseType image)

Helper method to set the output parameters based on this image.

◆ SetOutputSpacing() [1/2]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputSpacing ( const double *  values)
virtual

◆ SetOutputSpacing() [2/2]

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputSpacing ( SpacingType  _arg)
virtual

Set the output image spacing.

◆ SetOutputStartIndex()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetOutputStartIndex ( IndexType  _arg)
virtual

Set the start index of the output largest possible region. The default is an index of all zeros.

◆ SetSize()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetSize ( SizeType  _arg)
virtual

Get/Set the size of the output image.

◆ SetStitchStrategy()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetStitchStrategy ( StitchStrategy  _arg)
virtual

◆ SetTransform()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetTransform ( unsigned int  index,
const TransformType transform 
)
protected

◆ SetUseReferenceImage()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SetUseReferenceImage ( bool  _arg)
virtual

Turn on/off whether a specified reference image should be used to define the output information.

◆ ThreadedGenerateData()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

StitchImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"

See also
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

◆ UseReferenceImageOff()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::UseReferenceImageOff ( )
virtual

◆ UseReferenceImageOn()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::UseReferenceImageOn ( )
virtual

◆ VerifyInputInformation()

template<typename TInputImage , typename TOutputImage , typename TInterpolatorPrecisionType = double, typename TTransformPrecisionType = TInterpolatorPrecisionType>
virtual void itk::StitchImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::VerifyInputInformation ( ) const
inlineprotectedvirtual

Override VeriyInputInformation() since this filter's inputs do not need to occoupy the same physical space.

See also
ProcessObject::VerifyInputInformation

Definition at line 268 of file itkStitchImageFilter.h.


The documentation for this class was generated from the following file: