![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbCastImageFilter.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | InputPixelType = typename TInputImage::PixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = CastImageFilter |
using | Superclass = itk::InPlaceImageFilter< TInputImage, TOutputImage > |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
ITK_DISALLOW_COPY_AND_ASSIGN (CastImageFilter) | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
CastImageFilter () | |
void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override |
template<typename TInputPixelType > | |
void | DynamicThreadedGenerateDataDispatched (const OutputImageRegionType &outputRegionForThread, std::false_type isConvertible) |
template<typename TInputPixelType > | |
void | DynamicThreadedGenerateDataDispatched (const OutputImageRegionType &outputRegionForThread, std::true_type isConvertible) |
void | GenerateData () override |
void | GenerateOutputInformation () override |
virtual | ~CastImageFilter ()=default |
Casts input pixels to output pixel type.
This filter is templated over the input image type and the output image type.
A typical use is to cast a
to a
This filter can also be used to cast a
to a
This class is copied from the itkCastImageFilter, but it doesn't have a static assertion requiring the input and output pixel dimension to match, thus this filter can be used to convert to and from variableLengthVector.
If you need to perform a dimensionaly reduction, you may want to use the ExtractImageFilter instead of the CastImageFilter.
Definition at line 64 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::ConstPointer = itk::SmartPointer< const Self > |
Definition at line 74 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Definition at line 77 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Definition at line 76 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 78 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::Pointer = itk::SmartPointer< Self > |
Definition at line 73 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::Self = CastImageFilter |
Standard class type aliases.
Definition at line 71 of file otbCastImageFilter.h.
using otb::CastImageFilter< TInputImage, TOutputImage >::Superclass = itk::InPlaceImageFilter< TInputImage, TOutputImage > |
Definition at line 72 of file otbCastImageFilter.h.
|
protected |
Definition at line 31 of file otbCastImageFilter.hxx.
|
protectedvirtualdefault |
virtual::itk::LightObject::Pointer otb::CastImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Definition at line 91 of file otbCastImageFilter.hxx.
|
protected |
Definition at line 121 of file otbCastImageFilter.hxx.
|
protected |
Definition at line 101 of file otbCastImageFilter.hxx.
|
overrideprotected |
Definition at line 41 of file otbCastImageFilter.hxx.
|
overrideprotected |
Definition at line 59 of file otbCastImageFilter.hxx.
|
virtual |
Run-time type information (and related methods).
otb::CastImageFilter< TInputImage, TOutputImage >::ITK_DISALLOW_COPY_AND_ASSIGN | ( | CastImageFilter< TInputImage, TOutputImage > | ) |
|
static |
Method for creation through the object factory.