ITK
5.2.0
Insight Toolkit
|
#include <itkAdaptImageFilter.h>
Public Types | |
using | AccessorType = TAccessor |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = typename Superclass::FunctorType |
using | Pointer = SmartPointer< Self > |
using | Self = AdaptImageFilter |
using | Superclass = UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< typename TInputImage::PixelType, TAccessor > > |
Public Types inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > > | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = UnaryFunctorImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::InPlaceImageFilter< 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 | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
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::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > > | |
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 () |
Convert an image to another pixel type using the specified data accessor.
AdaptImageFilter converts an image to another pixel type using a data accessor. AdaptImageFilter can perform simple cast operations (i.e. short to float) or can extract a subcomponent of a pixel (i.e. extract the green component of an RGB pixel. AdaptImageFilter could also be used for performing simple arithmetic operations at a pixel (i.e. taking the std::sqrt() or std::sin() of a pixel); however, these types of operations could also be accomplished using the itk::UnaryImageFilter.
The third template parameter for this filter is a DataAccessor which performs the adaption or conversion of a pixel. The DataAccessor must provide a method called Get() which takes an input pixel and returns an output pixel. The input pixel can be passed by reference but the output pixel is frequently returned by value. However, a data accessor that returns a subcomponent of a pixel will usually return that subcomponent by reference. For instance, a data accessor that returns the green component of a RGB pixel will simply return a reference to the proper element of the RGB vector. See itk::DataAccessor for performing simple cast operations.
Definition at line 135 of file itkAdaptImageFilter.h.
using itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::AccessorType = TAccessor |
Typedef for the accessor type
Definition at line 159 of file itkAdaptImageFilter.h.
using itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::ConstPointer = SmartPointer<const Self> |
Definition at line 152 of file itkAdaptImageFilter.h.
using itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::FunctorType = typename Superclass::FunctorType |
Definition at line 153 of file itkAdaptImageFilter.h.
using itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::Pointer = SmartPointer<Self> |
Definition at line 151 of file itkAdaptImageFilter.h.
using itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::Self = AdaptImageFilter |
Standard class type aliases.
Definition at line 145 of file itkAdaptImageFilter.h.
using itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::Superclass = UnaryFunctorImageFilter<TInputImage, TOutputImage, Functor::AccessorFunctor<typename TInputImage::PixelType, TAccessor> > |
Definition at line 149 of file itkAdaptImageFilter.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
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.
|
inline |
Get the accessor. This is a convenience method so the user
Definition at line 166 of file itkAdaptImageFilter.h.
References itk::Functor::AccessorFunctor< TInput, TAccessor >::GetAccessor(), and itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > >::GetFunctor().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > >.
|
static |
Method for creation through the object factory.
|
inline |
Set the accessor. This is a convenience method so the user does
Definition at line 173 of file itkAdaptImageFilter.h.
References itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > >::GetFunctor(), itk::Object::Modified(), and itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > >::SetFunctor().