|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbLabelMapToSimulatedImageFilter_h
23 #define otbLabelMapToSimulatedImageFilter_h
26 #include "itkLabelMapFilter.h"
52 template <
class TInputLabelMap,
class TSimuStep1,
class TSimuStep2,
class TOutputImage>
61 typedef itk::LabelMapFilter<TInputLabelMap, TOutputImage>
Superclass;
77 typedef typename OutputImageType::IndexType
IndexType;
106 itkSetMacro(NumberOfComponentsPerPixel,
unsigned int);
107 itkGetMacro(NumberOfComponentsPerPixel,
unsigned int);
109 itkSetMacro(SatRSRFilename, std::string);
110 itkGetMacro(SatRSRFilename, std::string);
112 itkSetMacro(PathRoot, std::string);
113 itkGetMacro(PathRoot, std::string);
115 itkSetMacro(Mean,
double);
116 itkGetMacro(Mean,
double);
118 itkSetMacro(Variance,
double);
119 itkGetMacro(Variance,
double);
127 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
129 void BeforeThreadedGenerateData()
override;
130 void ThreadedProcessLabelObject(LabelObjectType* labelObject)
override;
131 void GenerateOutputInformation()
override;
136 void operator=(
const Self&) =
delete;
150 #ifndef OTB_MANUAL_INSTANTIATION
Take a label corresponding to a spectrum type for vegetation and outputs the ProSail parameters neede...
This class computes the reduced spectral response of each band of a sensor.
OutputImageType::Pointer OutputImagePointer
LabelToProSailParameters< AttributesValueType > LabelToParametersType
itk::SmartPointer< Self > Pointer
SimulationStep1Type::Pointer SimulationStep1Pointer
LabelObjectType::ConstLineIterator ConstLineIteratorType
itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
InputLabelMapType::ConstPointer InputLabelMapConstPointer
itk::LabelMapFilter< TInputLabelMap, TOutputImage > Superclass
itk::SmartPointer< Self > Pointer
TSimuStep1 SimulationStep1Type
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
InputLabelMapType::Pointer InputLabelMapPointer
LabelMapToSimulatedImageFilter Self
Transform a labelMap into an image.
TOutputImage OutputImageType
InputLabelMapType::LabelObjectType LabelObjectType
OutputImageType::ConstPointer OutputImageConstPointer
LabelObjectType::AttributesValueType AttributesValueType
This class represents a hierarchy of vector data.
RandomGeneratorType::Pointer RandomGeneratorPointer
itk::SmartPointer< Self > Pointer
SatelliteRSRType::Pointer SatelliteRSRPointer
SpectralResponse< double, double > SpectralResponseType
OutputImageType::InternalPixelType InternalPixelType
LabelToParametersType::Pointer LabelToParametersPointer
SpectralResponseType::Pointer SpectralResponsePointer
ReduceSpectralResponseType::Pointer ReduceSpectralResponsePointer
OutputImageType::IndexType IndexType
ReduceSpectralResponse< SpectralResponseType, SatelliteRSRType > ReduceSpectralResponseType
SimulationStep2Type::Pointer SimulationStep2Pointer
itk::SmartPointer< Self > Pointer
TSimuStep2 SimulationStep2Type
This class represents the spectral response of an object (or a satellite band).
~LabelMapToSimulatedImageFilter() override
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
TInputLabelMap InputLabelMapType
SatelliteRSR< double, double > SatelliteRSRType
unsigned int m_NumberOfComponentsPerPixel
std::string m_SatRSRFilename