|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbConcatenateScalarValueImageFilter_h
22 #define otbConcatenateScalarValueImageFilter_h
25 #include "itkUnaryFunctorImageFilter.h"
40 template <
class TInput,
class TOutput>
73 return !(*
this != other);
79 for (
unsigned int j = 0; j < in.Size(); ++j)
101 template <
class TInputImage,
class TOutputImage>
103 :
public itk::UnaryFunctorImageFilter<TInputImage, TOutputImage,
104 Functor::ConcatenateScalarValueFunctor<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
109 typedef itk::UnaryFunctorImageFilter<TInputImage, TOutputImage,
130 return this->GetFunctor().GetScalarValue();
135 this->GetFunctor().SetScalarValue(p);
146 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
148 void GenerateOutputInformation()
override;
153 void operator=(
const Self&) =
delete;
158 #ifndef OTB_MANUAL_INSTANTIATION
Applies a projective projection to each pixel of an image.
itk::SmartPointer< Self > Pointer
~ConcatenateScalarValueImageFilter() override
const ComponentType & GetScalarValue()
void SetScalarValue(const ComponentType &p)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
InputPixelType::ComponentType InputComponentType
TOutputImage::PixelType OutputPixelType
Functor::ConcatenateScalarValueFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
itk::SmartPointer< const Self > ConstPointer
bool operator!=(const ConcatenateScalarValueFunctor &) const
const InputComponentType & GetScalarValue()
InputType::ComponentType ComponentType
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ConcatenateScalarValueFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
TInputImage::PixelType InputPixelType
virtual ~ConcatenateScalarValueFunctor()
ComponentType m_ScalarValue
ConcatenateScalarValueFunctor()
bool operator==(const ConcatenateScalarValueFunctor &other) const
ConcatenateScalarValueImageFilter Self
OutputType operator()(const InputType &in)
void SetScalarValue(const InputComponentType &p)