1

I have two images, one normal image and another its denoised version. I want to extract noise from an image ,thus need to subtract the two images according to

NOISE = IMAGE - IMAGE(DENOISED)

I am not getting how to subtract two images such that no data will be lost. Thanks in advance.

4

1 回答 1

3

var noiseImg = image - imageDenoised; //运算符重载

或者:

var noiseImg = image.Sub(imageDenoised);

当然图像必须是相同的类型和相同的大小

于 2013-06-30T10:42:44.537 回答