SyB3R - Synthetic Benchmark for 3D Reconstruction
SimpleCameraSensorNoise.h
1 #ifndef SIMPLECAMERASENSORNOISE_H
2 #define SIMPLECAMERASENSORNOISE_H
3 
4 #include "../tools/FloatImage.h"
5 
6 namespace syb3r {
7 namespace models {
8 
10 {
11  public:
12  SimpleCameraSensorNoise(float blurSigma, const Eigen::Matrix3f &rgbToComponentVariance, const Eigen::Vector3f &componentVarianceOffset);
13  void synthesizeNoise(tools::FloatImage<Eigen::Vector3f> &img, std::mt19937 &rng) const;
14  protected:
15  std::vector<float> m_filterKernel;
16  Eigen::Matrix3f m_rgbToComponentVariance;
17  Eigen::Vector3f m_componentVarianceOffset;
18 };
19 
20 extern SimpleCameraSensorNoise eos400_1600;
21 
22 
23 }
24 }
25 
26 #endif // SIMPLECAMERASENSORNOISE_H
Definition: CameraPathEvaluation.cpp:10
Definition: SimpleCameraSensorNoise.h:9
Stores an image with arbitrary, usually float based, pixel values.
Definition: FloatImage.h:35