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;
158 #ifndef OTB_MANUAL_INSTANTIATION
Applies a projective projection to each pixel of an image.
Functor::ConcatenateScalarValueFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
ConcatenateScalarValueImageFilter(const Self &)=delete
TInputImage::PixelType InputPixelType
const InputComponentType & GetScalarValue()
itk::SmartPointer< Self > Pointer
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ConcatenateScalarValueFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
ConcatenateScalarValueImageFilter Self
void SetScalarValue(const InputComponentType &p)
void operator=(const Self &)=delete
TOutputImage::PixelType OutputPixelType
InputPixelType::ComponentType InputComponentType
itk::SmartPointer< const Self > ConstPointer
~ConcatenateScalarValueImageFilter() override
void SetScalarValue(const ComponentType &p)
ConcatenateScalarValueFunctor()
virtual ~ConcatenateScalarValueFunctor()
OutputType operator()(const InputType &in)
bool operator==(const ConcatenateScalarValueFunctor &other) const
const ComponentType & GetScalarValue()
bool operator!=(const ConcatenateScalarValueFunctor &) const
ComponentType m_ScalarValue
InputType::ComponentType ComponentType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.