|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbReflectanceToSurfaceReflectanceImageFilter_h
23 #define otbReflectanceToSurfaceReflectanceImageFilter_h
31 #include "itkMetaDataDictionary.h"
49 template <
class TInput,
class TOutput>
110 outPixel =
static_cast<TOutput
>(temp2);
138 template <
class TInputImage,
class TOutputImage>
141 TInputImage, TOutputImage,
142 typename Functor::ReflectanceToSurfaceReflectanceImageFunctor<typename TInputImage::InternalPixelType, typename TOutputImage::InternalPixelType>>
146 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
147 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
201 m_AtmosphericRadiativeTerms = atmoRadTerms;
202 this->SetNthInput(1, m_AtmosphericRadiativeTerms);
203 m_IsSetAtmosphericRadiativeTerms =
true;
212 m_AtmoCorrectionParameters = atmoCorrTerms;
213 this->SetNthInput(2, m_AtmoCorrectionParameters);
214 m_IsSetAtmoCorrectionParameters =
true;
217 itkGetObjectMacro(AtmoCorrectionParameters, AtmoCorrectionParametersType);
223 m_AcquiCorrectionParameters = acquiCorrTerms;
224 this->SetNthInput(3, m_AcquiCorrectionParameters);
225 m_IsSetAcquiCorrectionParameters =
true;
228 itkGetObjectMacro(AcquiCorrectionParameters, AcquiCorrectionParametersType);
233 void GenerateParameters();
236 itkSetMacro(UseGenerateParameters,
bool);
237 itkGetMacro(UseGenerateParameters,
bool);
238 itkBooleanMacro(UseGenerateParameters);
242 itkSetMacro(IsSetAtmosphericRadiativeTerms,
bool);
243 itkGetMacro(IsSetAtmosphericRadiativeTerms,
bool);
244 itkBooleanMacro(IsSetAtmosphericRadiativeTerms);
255 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
258 void BeforeThreadedGenerateData()
override;
261 void UpdateAtmosphericRadiativeTerms();
264 void UpdateFunctors();
267 void Modified()
const override;
289 #ifndef OTB_MANUAL_INSTANTIATION
otb::RadiometryCorrectionParametersToAtmosphericRadiativeTerms CorrectionParametersToRadiativeTermsType
bool m_IsSetAtmosphericRadiativeTerms
InputImageType::InternalPixelType InputInternalPixelType
bool m_IsSetAcquiCorrectionParameters
virtual ~ReflectanceToSurfaceReflectanceImageFunctor()
This class is a vector of AtmosphericRadiativeTermsSingleChannel, it contains all atmospheric radiati...
OutputImageType::RegionType OutputImageRegionType
AcquiCorrectionParametersType::WavelengthSpectralBandVectorType WavelengthSpectralBandVectorType
Functor::ReflectanceToSurfaceReflectanceImageFunctor< typename InputImageType::InternalPixelType, typename OutputImageType::InternalPixelType > FunctorType
~ReflectanceToSurfaceReflectanceImageFilter() override
AtmosphericRadiativeTermsType::Pointer AtmosphericRadiativeTermsPointerType
InputImageType::RegionType InputImageRegionType
void SetAtmoCorrectionParameters(AtmoCorrectionParametersPointerType atmoCorrTerms)
Compute the surface reflectance pixel from a TOA reflectance.
InputImageType::PixelType InputPixelType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
void SetAcquiCorrectionParameters(AcquiCorrectionParametersPointerType acquiCorrTerms)
void SetCoefficient(double coef)
Calculates the slope, the orientation incidence and exitance radius values for each pixel.
double GetSphericalAlbedo()
ReflectanceToSurfaceReflectanceImageFilter Self
This class contains the values of the filter function for the processed spectral band.
void SetResidu(double res)
otb::FilterFunctionValues FilterFunctionValuesType
void SetSphericalAlbedo(double albedo)
Applies a functor to a VectorImage.
FilterFunctionValuesType::ValuesVectorType ValuesVectorType
TOutput operator()(const TInput &inPixel)
UnaryImageFunctorWithVectorImageFilter< InputImageType, OutputImageType, FunctorType > Superclass
itk::SmartPointer< const Self > ConstPointer
float WavelengthSpectralBandType
bool m_IsSetAtmoCorrectionParameters
itk::SmartPointer< Self > Pointer
bool m_FunctorParametersHaveBeenComputed
TOutputImage OutputImageType
itk::SmartPointer< Self > Pointer
ReflectanceToSurfaceReflectanceImageFunctor()
otb::AtmosphericRadiativeTerms AtmosphericRadiativeTermsType
AcquiCorrectionParametersPointerType m_AcquiCorrectionParameters
AtmoCorrectionParametersPointerType m_AtmoCorrectionParameters
AtmosphericRadiativeTermsPointerType m_AtmosphericRadiativeTerms
This class contains all atmospheric correction parameters.
void SetAtmosphericRadiativeTerms(AtmosphericRadiativeTermsPointerType atmoRadTerms)
otb::ImageMetadataCorrectionParameters AcquiCorrectionParametersType
OutputImageType::InternalPixelType OutputInternalPixelType
AtmoCorrectionParametersType::Pointer AtmoCorrectionParametersPointerType
bool m_UseGenerateParameters
OutputImageType::PixelType OutputPixelType
itk::SmartPointer< Self > Pointer
AcquiCorrectionParametersType::Pointer AcquiCorrectionParametersPointerType
TInputImage InputImageType
FilterFunctionValuesType::WavelengthSpectralBandType ValueType
std::vector< WavelengthSpectralBandType > ValuesVectorType
itk::MetaDataDictionary MetaDataDictionaryType
otb::AtmosphericCorrectionParameters AtmoCorrectionParametersType