OTB
9.0.0
Orfeo Toolbox
|
#include <otbClampVectorImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::InternalPixelType | InputImageInternalPixelType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef OutputImageType::InternalPixelType | OutputImageInternalPixelType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ClampVectorImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | ClampAbove (const OutputImageInternalPixelType &thresh) |
void | ClampBelow (const OutputImageInternalPixelType &thresh) |
void | ClampOutside (const OutputImageInternalPixelType &lower, const OutputImageInternalPixelType &upper) |
Static Public Member Functions | |
static Pointer | New () |
double | m_DLower |
double | m_DUpper |
OutputImageInternalPixelType | m_Lower |
OutputImageInternalPixelType | m_Upper |
void | SetLower (OutputImageInternalPixelType val) |
virtual OutputImageInternalPixelType | GetLower () const |
void | SetUpper (OutputImageInternalPixelType val) |
virtual OutputImageInternalPixelType | GetUpper () const |
ClampVectorImageFilter () | |
~ClampVectorImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateOutputInformation (void) override |
ClampVectorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Set image values to a user-specified value if they are below, above, or between simple threshold values.
ClampVectorImageFilter 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.
By default lower and upper thresholds are set to the maximum and minimum bounds of the image pixel type.
The pixels must support the operators >= and <=.
Definition at line 48 of file otbClampVectorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::ClampVectorImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 55 of file otbClampVectorImageFilter.h.
typedef InputImageType::InternalPixelType otb::ClampVectorImageFilter< TInputImage, TOutputImage >::InputImageInternalPixelType |
Definition at line 69 of file otbClampVectorImageFilter.h.
typedef InputImageType::PixelType otb::ClampVectorImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 68 of file otbClampVectorImageFilter.h.
typedef InputImageType::ConstPointer otb::ClampVectorImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 66 of file otbClampVectorImageFilter.h.
typedef InputImageType::RegionType otb::ClampVectorImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 67 of file otbClampVectorImageFilter.h.
typedef TInputImage otb::ClampVectorImageFilter< TInputImage, TOutputImage >::InputImageType |
Some additional typedefs.
Definition at line 61 of file otbClampVectorImageFilter.h.
typedef OutputImageType::InternalPixelType otb::ClampVectorImageFilter< TInputImage, TOutputImage >::OutputImageInternalPixelType |
Definition at line 76 of file otbClampVectorImageFilter.h.
typedef OutputImageType::PixelType otb::ClampVectorImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 75 of file otbClampVectorImageFilter.h.
typedef OutputImageType::Pointer otb::ClampVectorImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 73 of file otbClampVectorImageFilter.h.
typedef OutputImageType::RegionType otb::ClampVectorImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 74 of file otbClampVectorImageFilter.h.
typedef TOutputImage otb::ClampVectorImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some additional typedefs.
Definition at line 72 of file otbClampVectorImageFilter.h.
typedef itk::SmartPointer<Self> otb::ClampVectorImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 54 of file otbClampVectorImageFilter.h.
typedef ClampVectorImageFilter otb::ClampVectorImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 52 of file otbClampVectorImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::ClampVectorImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 53 of file otbClampVectorImageFilter.h.
|
protected |
Set/Get methods to set the lower threshold
Definition at line 38 of file otbClampVectorImageFilter.hxx.
|
inlineoverrideprotected |
Set/Get methods to set the lower threshold
Definition at line 111 of file otbClampVectorImageFilter.h.
|
privatedelete |
Set/Get methods to set the lower threshold
void otb::ClampVectorImageFilter< TInputImage, TOutputImage >::ClampAbove | ( | const OutputImageInternalPixelType & | thresh | ) |
The values greater than or equal to the value are set to OutsideValue.
The values greater than or equal to the value are set to UpperValue
Definition at line 63 of file otbClampVectorImageFilter.hxx.
void otb::ClampVectorImageFilter< TInputImage, TOutputImage >::ClampBelow | ( | const OutputImageInternalPixelType & | thresh | ) |
The values less than or equal to the value are set to OutsideValue.
The values less than or equal to the value are set to OutsideValue
Definition at line 79 of file otbClampVectorImageFilter.hxx.
void otb::ClampVectorImageFilter< TInputImage, TOutputImage >::ClampOutside | ( | const OutputImageInternalPixelType & | lower, |
const OutputImageInternalPixelType & | upper | ||
) |
The values outside the range are set to OutsideValue.
The values outside the range are set to OutsideValue
Definition at line 96 of file otbClampVectorImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::ClampVectorImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
inlineoverrideprotected |
Set/Get methods to set the lower threshold
Definition at line 126 of file otbClampVectorImageFilter.h.
|
virtual |
Set/Get methods to set the lower threshold
|
virtual |
Run-time type information (and related methods).
|
virtual |
Set/Get methods to set the lower threshold
|
static |
Method for creation through the object factory.
|
privatedelete |
Set/Get methods to set the lower threshold
|
overrideprotected |
Set/Get methods to set the lower threshold
Definition at line 51 of file otbClampVectorImageFilter.hxx.
|
inline |
Set/Get methods to set the lower threshold
Definition at line 89 of file otbClampVectorImageFilter.h.
|
inline |
Set/Get methods to set the upper threshold
Definition at line 99 of file otbClampVectorImageFilter.h.
|
overrideprotected |
ClampVectorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Definition at line 120 of file otbClampVectorImageFilter.hxx.
|
private |
Set/Get methods to set the lower threshold
Definition at line 137 of file otbClampVectorImageFilter.h.
|
private |
Set/Get methods to set the lower threshold
Definition at line 138 of file otbClampVectorImageFilter.h.
|
private |
Set/Get methods to set the lower threshold
Definition at line 140 of file otbClampVectorImageFilter.h.
|
private |
Set/Get methods to set the lower threshold
Definition at line 141 of file otbClampVectorImageFilter.h.