title: Adding Gaussian Noise in image-OpenCV and C++ and then denoised?
body: <p>I'm trying to to add noise to an Image &amp; then denoised  to see the difference in my object detection algorithm. So I developed OpenCV code in C++ for detection some objects in the image. I would like to test the robustness of the code, so tried to add some noises.  In that way would like to check how the object detection rate changed when add noises to the image. So , first added some random Gaussian Noises like this</p>
  
  <pre><code>cv::Mat noise(src.size(),src.type());
   float m = (10,12,34);
   float sigma = (1,5,50);
   cv::randn(noise, m, sigma); //mean and variance
   src += noise;
  </code></pre>
  
  <p>I got this images:</p>
  
  <p>The original: <a href="https://i.stack.imgur.com/JUQrj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JUQrj.jpg" alt="enter image description here"></a>
  The noisy one<a href="https://i.stack.imgur.com/4ePkV.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ePkV.gif" alt="enter image description here"></a></p>
  
  <p>So is there any better model for noises? Then how to Denoise it. Is there any DeNoising algorithms? </p>