OTB
9.0.0
Orfeo Toolbox
|
#include <otbShiftScaleImageAdaptor.h>
Public Types | |
typedef TExternalType | ExternalType |
typedef itk::NumericTraits< TPixelType >::RealType | InternalType |
Public Member Functions | |
const ExternalType | Get (const InternalType &input) const |
InternalType | GetScale () const |
InternalType | GetShift () const |
void | Set (InternalType &output, const ExternalType &input) |
void | SetScale (InternalType value) |
void | SetShift (InternalType value) |
Private Attributes | |
InternalType | m_Scale |
InternalType | m_Shift |
Apply a shift scale operation to the value.
ShiftScalePixelAccessor shifts the input pixel by Shift and then scales the pixel by Scale. All computations are performed in the precision of the input pixel's RealType
ShiftScalePixelAccessor is templated over an internal type and an external type representation. This class cast the input applies the function to it and cast the result according to the types defined as template parameters
Definition at line 50 of file otbShiftScaleImageAdaptor.h.
typedef TExternalType otb::Accessor::ShiftScalePixelAccessor< TPixelType, TExternalType >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit.
Definition at line 55 of file otbShiftScaleImageAdaptor.h.
typedef itk::NumericTraits<TPixelType>::RealType otb::Accessor::ShiftScalePixelAccessor< TPixelType, TExternalType >::InternalType |
Internal typedef. It defines the internal real representation of data.
Definition at line 59 of file otbShiftScaleImageAdaptor.h.
|
inline |
Definition at line 84 of file otbShiftScaleImageAdaptor.h.
|
inline |
Definition at line 70 of file otbShiftScaleImageAdaptor.h.
|
inline |
Definition at line 61 of file otbShiftScaleImageAdaptor.h.
|
inline |
Definition at line 79 of file otbShiftScaleImageAdaptor.h.
|
inline |
Definition at line 74 of file otbShiftScaleImageAdaptor.h.
|
inline |
Definition at line 65 of file otbShiftScaleImageAdaptor.h.
|
private |
Definition at line 91 of file otbShiftScaleImageAdaptor.h.
|
private |
Definition at line 90 of file otbShiftScaleImageAdaptor.h.