21 #ifndef otbClampVectorImageFilter_h
22 #define otbClampVectorImageFilter_h
24 #include "itkImageToImageFilter.h"
47 template <
class TInputImage,
class TOutputImage = TInputImage>
53 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
92 m_DLower =
static_cast<double>(val);
102 m_DUpper =
static_cast<double>(val);
112 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
124 void DynamicThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread)
override;
128 Superclass::GenerateOutputInformation();
130 this->GetOutput()->SetNumberOfComponentsPerPixel(this->GetInput()->GetNumberOfComponentsPerPixel());
147 #ifndef OTB_MANUAL_INSTANTIATION
Set image values to a user-specified value if they are below, above, or between simple threshold valu...
OutputImageType::RegionType OutputImageRegionType
itk::SmartPointer< const Self > ConstPointer
OutputImageInternalPixelType m_Lower
InputImageType::RegionType InputImageRegionType
OutputImageType::InternalPixelType OutputImageInternalPixelType
TInputImage InputImageType
OutputImageType::Pointer OutputImagePointer
OutputImageType::PixelType OutputImagePixelType
void operator=(const Self &)=delete
itk::SmartPointer< Self > Pointer
ClampVectorImageFilter Self
ClampVectorImageFilter(const Self &)=delete
OutputImageInternalPixelType m_Upper
InputImageType::InternalPixelType InputImageInternalPixelType
TOutputImage OutputImageType
void GenerateOutputInformation(void) override
~ClampVectorImageFilter() override
InputImageType::ConstPointer InputImagePointer
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::PixelType InputImagePixelType
void SetLower(OutputImageInternalPixelType val)
void SetUpper(OutputImageInternalPixelType val)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.