How to add Noise to Color Image - Opencv

后端 未结 4 1578
别跟我提以往
别跟我提以往 2021-01-14 06:27

I\'m trying to to add noise to an Image & then Denoise it to test my DeNoising algorithm! So for benchmark i\'m referring this Online Test samples. I\'m trying to replic

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-14 07:03

    There are mainly two methods to add say awgn noise (mean = 0, standard deviation = 30) to a colored image.

    First: You can add the awgn noise of mean = 0, standard deviation = 30 to each of Red, Green, and Blue channels independently (or any other color model-HSI, YUV, Lab); and then combine the noisy channels to form the colored noisy image.

    Second: To use the in-built function to add noise to the colored image directly. eg. imnoise() in Matlab.

    I tried with both the methods (imnoise and independently), I got the same result.

提交回复
热议问题