ITK
5.2.0
Insight Toolkit
|
#include <itkRegionOfInterestImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename TInputImage::IndexType |
using | InputImagePixelType = typename TInputImage::PixelType |
using | InputImageRegionType = typename Superclass::InputImageRegionType |
using | OutputImagePixelType = typename TOutputImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename TInputImage::RegionType |
using | Self = RegionOfInterestImageFilter |
using | SizeType = typename TInputImage::SizeType |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
RegionType | m_RegionOfInterest |
virtual void | SetRegionOfInterest (RegionType _arg) |
virtual RegionType | GetRegionOfInterest () const |
RegionOfInterestImageFilter () | |
~RegionOfInterestImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | GenerateInputRequestedRegion () override |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
void | GenerateOutputInformation () override |
void | DynamicThreadedGenerateData (const RegionType &outputRegionForThread) override |
Extract a region of interest from the input image.
This filter produces an output image of the same dimension as the input image. The user specifies the region of the input image that will be contained in the output image. The origin coordinates of the output images will be computed in such a way that if mapped to physical space, the output image will overlay the input image with perfect registration. In other words, a registration process between the output image and the input image will return an identity transform.
If you are interested in changing the dimension of the image, you may want to consider the ExtractImageFilter. For example for extracting a 2D image from a slice of a 3D image.
The region to extract is set using the method SetRegionOfInterest.
Definition at line 54 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 63 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::IndexType = typename TInputImage::IndexType |
Definition at line 74 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename TInputImage::PixelType |
Definition at line 79 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename Superclass::InputImageRegionType |
Definition at line 64 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename TOutputImage::PixelType |
Typedef to describe the type of pixel.
Definition at line 78 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 62 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::RegionType = typename TInputImage::RegionType |
Typedef to describe the input image region types.
Definition at line 73 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::Self = RegionOfInterestImageFilter |
Standard class type aliases.
Definition at line 60 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::SizeType = typename TInputImage::SizeType |
Definition at line 75 of file itkRegionOfInterestImageFilter.h.
using itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 61 of file itkRegionOfInterestImageFilter.h.
|
protected |
ImageDimension enumeration
|
overrideprotecteddefault |
ImageDimension enumeration
|
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.
|
overrideprotected |
RegionOfInterestImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a DynamicThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling DynamicThreadedGenerateData(). DynamicThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread".
|
overrideprotectedvirtual |
ImageDimension enumeration
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
RegionOfInterestImageFilter can produce an image which is a different size than its input image. As such, RegionOfInterestImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model.
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
ImageDimension enumeration
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the output image region.
|
staticconstexpr |
ImageDimension enumeration
Definition at line 87 of file itkRegionOfInterestImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 132 of file itkRegionOfInterestImageFilter.h.
|
staticconstexpr |
ImageDimension enumeration
Definition at line 88 of file itkRegionOfInterestImageFilter.h.