12 #ifndef mitkRandomImageSampler_h
13 #define mitkRandomImageSampler_h
38 itkFactorylessNewMacro(
Self);
43 itkSetMacro(AcceptanceRate,
double);
44 itkGetConstMacro(AcceptanceRate,
double);
49 m_AcceptanceRateVector = arg;
52 itkGetConstMacro(AcceptanceRateVector, std::vector<double>);
54 itkSetMacro(NumberOfSamples,
unsigned int);
55 itkGetConstMacro(NumberOfSamples,
unsigned int);
60 m_NumberOfSamplesVector = arg;
63 itkGetConstMacro(NumberOfSamplesVector, std::vector<unsigned int>);
78 void GenerateOutputInformation()
override;
83 void GenerateData()
override;
88 template<
typename TPixel,
unsigned int VImageDimension>
89 void ItkImageProcessing(
const itk::Image<TPixel, VImageDimension>* itkImage);
94 template<
typename TPixel,
unsigned int VImageDimension>
95 void ItkImageProcessingClassDependendSampling(
const itk::Image<TPixel, VImageDimension>* itkImage);
100 template<
typename TPixel,
unsigned int VImageDimension>
101 void ItkImageProcessingFixedNumberSampling(
const itk::Image<TPixel, VImageDimension>* itkImage);
106 template<
typename TPixel,
unsigned int VImageDimension>
107 void ItkImageProcessingClassDependendNumberSampling(
const itk::Image<TPixel, VImageDimension>* itkImage);
109 double m_AcceptanceRate;
110 std::vector<double> m_AcceptanceRateVector;
111 unsigned int m_NumberOfSamples;
112 std::vector<unsigned int> m_NumberOfSamplesVector;