22 #ifndef otbImageSimulationMethod_h
23 #define otbImageSimulationMethod_h
26 #include "itkImageSource.h"
36 #include "itkResampleImageFilter.h"
38 #include "itkLabelMapToLabelImageFilter.h"
62 template <
class TInputVectorData,
class TSpatialisation,
class TSimulationStep1,
class TSimulationStep2,
class TFTM,
class TOutputImage>
82 typedef typename SpatialisationType::OutputLabelMapType
LabelMapType;
83 typedef typename LabelMapType::LabelObjectType::LabelType
LabelType;
94 typedef typename OutputImageType::IndexType
IndexType;
111 typedef itk::ResampleImageFilter<SingleImageType, SingleImageType, double>
FTMFilterType;
125 itkSetMacro(NumberOfComponentsPerPixel,
unsigned int);
127 itkGetMacro(NumberOfComponentsPerPixel,
unsigned int);
131 itkSetMacro(Radius,
unsigned int);
133 itkGetMacro(Radius,
unsigned int);
136 itkSetMacro(SatRSRFilename, std::string);
138 itkGetMacro(SatRSRFilename, std::string);
141 itkSetMacro(PathRoot, std::string);
143 itkGetMacro(PathRoot, std::string);
146 itkSetMacro(Mean,
double);
148 itkGetMacro(Mean,
double);
151 itkSetMacro(Variance,
double);
153 itkGetMacro(Variance,
double);
183 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
186 void GenerateOutputInformation()
override;
215 #ifndef OTB_MANUAL_INSTANTIATION
Converts an ImageList to a VectorImage.
itk::SmartPointer< Self > Pointer
This class represent a list of images.
itk::SmartPointer< Self > Pointer
TOutputImage OutputImageType
void operator=(const Self &)=delete
ImageListPointer m_ImageList
~ImageSimulationMethod() override
otb::ProlateInterpolateImageFunction< SingleImageType > InterpolatorType
LabelMapToSimulatedImageFilterType::Pointer LabelMapToSimulatedImageFilterPointer
InputVectorDataType::Pointer InputVectorDataPointer
InterpolatorType::Pointer InterpolatorPointer
MultiToMonoChannelFilterType::Pointer MultiToMonoChannelFilterPointer
ImageSimulationMethod(const Self &)=delete
LabelMapToLabelImageFilterType::Pointer LabelMapToLabelImageFilterPointer
OutputImageType::ConstPointer OutputImageConstPointer
SpatialisationType::OutputLabelMapType LabelMapType
LabelMapType::LabelObjectType::LabelType LabelType
FTMFilterType::Pointer FTMFilterPointer
InputVectorDataType::ConstPointer InputVectorDataConstPointer
SimulationStep2Type::Pointer SimulationStep2Pointer
SimulationStep1Type::Pointer SimulationStep1Pointer
ImageListToVectorImageFilterType::Pointer ImageListToVectorImageFilterPointer
TSimulationStep1 SimulationStep1Type
otb::MultiToMonoChannelExtractROI< double, double > MultiToMonoChannelFilterType
otb::LabelMapToSimulatedImageFilter< LabelMapType, SimulationStep1Type, SimulationStep2Type, OutputImageType > LabelMapToSimulatedImageFilterType
OutputImageType::InternalPixelType InternalPixelType
FTMType::Pointer FTMPointer
InputVectorDataPointer m_InputVectorData
std::vector< MultiToMonoChannelFilterPointer > m_MultiToMonoChannelFilterList
TSimulationStep2 SimulationStep2Type
LabelMapToSimulatedImageFilterPointer m_LabelMapToSimulatedImageFilter
OutputImageType::Pointer OutputImagePointer
itk::ImageSource< TOutputImage > Superclass
ImageListType::Pointer ImageListPointer
ImageListToVectorImageFilterPointer m_ImageListToVectorImageFilter
LabelMapToLabelImageFilterPointer m_LabelMapToLabelImageFilter
otb::Image< LabelType, 2 > OutputLabelImageType
SpatialisationType::Pointer SpatialisationPointer
MultiToMonoChannelFilterType::OutputImageType SingleImageType
SpatialisationPointer m_Spatialisation
itk::LabelMapToLabelImageFilter< LabelMapType, OutputLabelImageType > LabelMapToLabelImageFilterType
ImageSimulationMethod Self
TInputVectorData InputVectorDataType
std::vector< FTMFilterPointer > m_FTMFilterList
TSpatialisation SpatialisationType
std::vector< InterpolatorPointer > m_InterpolatorList
otb::ImageList< SingleImageType > ImageListType
itk::SmartPointer< const Self > ConstPointer
itk::ResampleImageFilter< SingleImageType, SingleImageType, double > FTMFilterType
std::string m_SatRSRFilename
unsigned int m_NumberOfComponentsPerPixel
itk::SmartPointer< Self > Pointer
otb::ImageListToVectorImageFilter< ImageListType, OutputImageType > ImageListToVectorImageFilterType
OutputImageType::IndexType IndexType
Creation of an "otb" image which contains metadata.
Transform a labelMap into an image.
itk::SmartPointer< Self > Pointer
Prolate interpolation of an otb::image.
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.