ITK
5.3.0
Insight Toolkit
|
#include <itkResampleInPlaceImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
OutputImagePointer | m_OutputImage |
RigidTransformConstPointer | m_RigidTransform |
virtual void | SetRigidTransform (const RigidTransformType *_arg) |
virtual const RigidTransformType * | GetRigidTransform () const |
void | SetInputImage (const InputImageType *image) |
const InputImageType * | GetInputImage () const |
ResampleInPlaceImageFilter ()=default | |
~ResampleInPlaceImageFilter () override=default | |
void | GenerateData () override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Resample an image in place.
The ResampleImageFilter will generate a physical memory-modified version of the input image if the input transform is not identity. Its neglectful use can be a source of problems: e.g. it can exhaust the memory if the image is very large, and it WILL reduce the image quality when there are lots of transforms to be superimposed for the input image. Often times, we are not interested in the intermediate transformed images.
If all the transforms are rigid, there is a far superior way to achieve a similar result. Updating image metadata in-place removes the accumulated resampling errors as well as eliminating the expense of accessing the physical memory of the image. We need to compose all the transforms beforehand to make use of this filter.
Definition at line 102 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 111 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 123 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 121 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::InputImagePointType = typename InputImageType::PointType |
Definition at line 124 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 122 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
input/output image type alias
Definition at line 120 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 129 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 127 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 128 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 126 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 110 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::RigidTransformConstPointer = typename RigidTransformType::ConstPointer |
Definition at line 142 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::RigidTransformType = VersorRigid3DTransform<double> |
Transform type alias
Definition at line 141 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::Self = ResampleInPlaceImageFilter |
Standard class type alias
Definition at line 108 of file itkResampleInPlaceImageFilter.h.
using itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 109 of file itkResampleInPlaceImageFilter.h.
|
protecteddefault |
Set/Get rigid transform. The default is an identity transform
|
overrideprotecteddefault |
Set/Get rigid transform. The default is an identity transform
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Set/Get rigid transform. The default is an identity transform
Reimplemented from itk::ImageSource< TOutputImage >.
const InputImageType* itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::GetInputImage | ( | ) | const |
Set/Get rigid transform. The default is an identity transform
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get rigid transform. The default is an identity transform
|
static |
Method for creation through the object factory
|
overrideprotectedvirtual |
Set/Get rigid transform. The default is an identity transform
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::ResampleInPlaceImageFilter< TInputImage, TOutputImage >::SetInputImage | ( | const InputImageType * | image | ) |
Set/Get required input image. (A wrapper to this->Set/GetInput())
|
virtual |
Set/Get rigid transform. The default is an identity transform
|
staticconstexpr |
ImageDimension constants
Definition at line 132 of file itkResampleInPlaceImageFilter.h.
|
private |
Set/Get rigid transform. The default is an identity transform
Definition at line 167 of file itkResampleInPlaceImageFilter.h.
|
private |
Set/Get rigid transform. The default is an identity transform
Definition at line 168 of file itkResampleInPlaceImageFilter.h.
|
staticconstexpr |
Definition at line 133 of file itkResampleInPlaceImageFilter.h.