ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkClampImageFilter.h>
Functor used to clamp a value to a specified range.
Default range corresponds to the range supported by the output type.
It is templated over an input and an output-type in order to be able to cast the output value.
Definition at line 42 of file itkClampImageFilter.h.
Public Types | |
typedef TInput | InputType |
typedef TOutput | OutputType |
typedef Clamp | Self |
Public Member Functions | |
Clamp () | |
OutputType | GetLowerBound () const |
OutputType | GetUpperBound () const |
bool | operator!= (const Self &other) const |
OutputType | operator() (const InputType &A) const |
bool | operator== (const Self &other) const |
void | SetBounds (const OutputType lowerBound, const OutputType upperBound) |
~Clamp () | |
Private Attributes | |
OutputType | m_LowerBound |
OutputType | m_UpperBound |
typedef TInput itk::Functor::Clamp< TInput, TOutput >::InputType |
Definition at line 48 of file itkClampImageFilter.h.
typedef TOutput itk::Functor::Clamp< TInput, TOutput >::OutputType |
Definition at line 49 of file itkClampImageFilter.h.
typedef Clamp itk::Functor::Clamp< TInput, TOutput >::Self |
Definition at line 46 of file itkClampImageFilter.h.
itk::Functor::Clamp< TInput, TOutput >::Clamp | ( | ) |
Creates the functor and initializes the bounds to the output-type limits.
itk::Functor::Clamp< TInput, TOutput >::~Clamp | ( | ) |
OutputType itk::Functor::Clamp< TInput, TOutput >::GetLowerBound | ( | ) | const |
OutputType itk::Functor::Clamp< TInput, TOutput >::GetUpperBound | ( | ) | const |
bool itk::Functor::Clamp< TInput, TOutput >::operator!= | ( | const Self & | other | ) | const |
|
inline |
Definition at line 93 of file itkClampImageFilter.h.
bool itk::Functor::Clamp< TInput, TOutput >::operator== | ( | const Self & | other | ) | const |
void itk::Functor::Clamp< TInput, TOutput >::SetBounds | ( | const OutputType | lowerBound, |
const OutputType | upperBound | ||
) |
Set the bounds of the range in which the data will be clamped. If the lower-bound is greater than the upper-bound, an itk::ExceptionObject will be thrown.
|
private |
Definition at line 74 of file itkClampImageFilter.h.
|
private |
Definition at line 85 of file itkClampImageFilter.h.