OTB
9.0.0
Orfeo Toolbox
|
#include <otbClampImageFilter.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | FunctorType = Functor::ConvertTypeFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | OutputInternalPixelType = typename OutputImageType::InternalPixelType |
using | OutputPixelValueType = typename itk::NumericTraits< OutputInternalPixelType >::ValueType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = ClampImageFilter |
using | Superclass = itk::ImageToImageFilter< TInputImage, TOutputImage > |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | ClampAbove (const OutputPixelValueType &thresh) |
void | ClampBelow (const OutputPixelValueType &thresh) |
void | ClampOutside (const OutputPixelValueType &lower, const OutputPixelValueType &upper) |
Static Public Member Functions | |
static Pointer | New () |
OutputPixelValueType | m_Lower |
OutputPixelValueType | m_Upper |
FunctorType | m_Functor |
void | SetThresholds (OutputPixelValueType lowerVal, OutputPixelValueType upperVal) |
virtual OutputPixelValueType | GetLower () const |
virtual OutputPixelValueType | GetUpper () const |
ClampImageFilter () | |
~ClampImageFilter () override=default | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateOutputInformation (void) override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
FunctorType & | GetFunctor () noexcept |
FunctorType const & | GetFunctor () const noexcept |
ClampImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Clamp image values to be below, over, or between threshold values.
ClampImageFilter clamp image values to be between an upper and lower value. Values lower than m_Lower values are set to lower, and values greater than upper threshold are set to upper threshold value. This filter can also be used to cast any type of image into any other type as long as those types are arithmetics or complex.
By default lower and upper thresholds are set to the maximum and minimum bounds of the image internal pixel value.
Definition at line 48 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 57 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::FunctorType = Functor::ConvertTypeFunctor<typename TInputImage::PixelType, typename TOutputImage::PixelType> |
Definition at line 55 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 69 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 68 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Some additional typedefs.
Definition at line 67 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 74 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 73 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Some additional typedefs.
Definition at line 72 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType = typename OutputImageType::InternalPixelType |
Definition at line 75 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::OutputPixelValueType = typename itk::NumericTraits<OutputInternalPixelType>::ValueType |
Definition at line 76 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 56 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::Self = ClampImageFilter |
Standard class typedefs.
Definition at line 53 of file otbClampImageFilter.h.
using otb::ClampImageFilter< TInputImage, TOutputImage >::Superclass = itk::ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 54 of file otbClampImageFilter.h.
|
protected |
Set/Get methods to set the lower and upper threshold
Definition at line 41 of file otbClampImageFilter.hxx.
|
overrideprotecteddefault |
Set/Get methods to set the lower and upper threshold
|
privatedelete |
Set/Get methods to set the lower and upper threshold
void otb::ClampImageFilter< TInputImage, TOutputImage >::ClampAbove | ( | const OutputPixelValueType & | thresh | ) |
The values greater than or equal to the value are set to thresh
.
The values greater than or equal to the value are set to UpperValue
Definition at line 76 of file otbClampImageFilter.hxx.
void otb::ClampImageFilter< TInputImage, TOutputImage >::ClampBelow | ( | const OutputPixelValueType & | thresh | ) |
The values less than or equal to the value are set to thresh
.
The values less than or equal to the value are set to OutsideValue
Definition at line 92 of file otbClampImageFilter.hxx.
void otb::ClampImageFilter< TInputImage, TOutputImage >::ClampOutside | ( | const OutputPixelValueType & | lower, |
const OutputPixelValueType & | upper | ||
) |
The values outside the range are set to lower
or upper
.
The values outside the range are set to OutsideValue
Definition at line 109 of file otbClampImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::ClampImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
inlineoverrideprotected |
Set/Get methods to set the lower and upper threshold
Definition at line 99 of file otbClampImageFilter.h.
|
inlineprotectednoexcept |
Set/Get methods to set the lower and upper threshold
Definition at line 110 of file otbClampImageFilter.h.
|
inlineprotectednoexcept |
Set/Get methods to set the lower and upper threshold
Definition at line 109 of file otbClampImageFilter.h.
|
virtual |
Set/Get methods to set the lower and upper threshold
|
virtual |
Run-time type information (and related methods).
|
virtual |
Set/Get methods to set the lower and upper threshold
|
static |
Method for creation through the object factory.
|
privatedelete |
Set/Get methods to set the lower and upper threshold
|
overrideprotected |
Set/Get methods to set the lower and upper threshold
Definition at line 64 of file otbClampImageFilter.hxx.
void otb::ClampImageFilter< TInputImage, TOutputImage >::SetThresholds | ( | OutputPixelValueType | lowerVal, |
OutputPixelValueType | upperVal | ||
) |
Set/Get methods to set the lower and upper threshold
Definition at line 48 of file otbClampImageFilter.hxx.
|
overrideprotected |
Set/Get methods to set the lower and upper threshold
Definition at line 130 of file otbClampImageFilter.hxx.
|
private |
Set/Get methods to set the lower and upper threshold
Definition at line 118 of file otbClampImageFilter.h.
|
private |
Set/Get methods to set the lower and upper threshold
Definition at line 116 of file otbClampImageFilter.h.
|
private |
Set/Get methods to set the lower and upper threshold
Definition at line 117 of file otbClampImageFilter.h.