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;
150 #ifndef OTB_MANUAL_INSTANTIATION
Transform a labelMap into an image.
unsigned int m_NumberOfComponentsPerPixel
itk::LabelMapFilter< TInputLabelMap, TOutputImage > Superclass
SimulationStep2Type::Pointer SimulationStep2Pointer
SpectralResponseType::Pointer SpectralResponsePointer
TSimuStep2 SimulationStep2Type
SatelliteRSRType::Pointer SatelliteRSRPointer
InputLabelMapType::ConstPointer InputLabelMapConstPointer
LabelObjectType::AttributesValueType AttributesValueType
void operator=(const Self &)=delete
OutputImageType::Pointer OutputImagePointer
TSimuStep1 SimulationStep1Type
itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
itk::SmartPointer< const Self > ConstPointer
~LabelMapToSimulatedImageFilter() override
LabelToProSailParameters< AttributesValueType > LabelToParametersType
ReduceSpectralResponse< SpectralResponseType, SatelliteRSRType > ReduceSpectralResponseType
TInputLabelMap InputLabelMapType
InputLabelMapType::LabelObjectType LabelObjectType
itk::SmartPointer< Self > Pointer
std::string m_SatRSRFilename
LabelMapToSimulatedImageFilter Self
SpectralResponse< double, double > SpectralResponseType
LabelObjectType::ConstLineIterator ConstLineIteratorType
RandomGeneratorType::Pointer RandomGeneratorPointer
LabelToParametersType::Pointer LabelToParametersPointer
SimulationStep1Type::Pointer SimulationStep1Pointer
OutputImageType::ConstPointer OutputImageConstPointer
OutputImageType::InternalPixelType InternalPixelType
TOutputImage OutputImageType
LabelMapToSimulatedImageFilter(const Self &)=delete
InputLabelMapType::Pointer InputLabelMapPointer
ReduceSpectralResponseType::Pointer ReduceSpectralResponsePointer
SatelliteRSR< double, double > SatelliteRSRType
OutputImageType::IndexType IndexType
Take a label corresponding to a spectrum type for vegetation and outputs the ProSail parameters neede...
itk::SmartPointer< Self > Pointer
This class computes the reduced spectral response of each band of a sensor.
itk::SmartPointer< Self > Pointer
This class represents a hierarchy of vector data.
itk::SmartPointer< Self > Pointer
This class represents the spectral response of an object (or a satellite band).
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.