I have two images, where i need to find the difference. i can easily did with the help of SSIM function. Now i want to find the difference between two images but only selected region (i want to ignore some region , which i marked as a rectangular).
-
$\begingroup$ You can use masking. What library/tool are you using? $\endgroup$– Adam OudadSep 18, 2020 at 5:23
-
$\begingroup$ i am using Opencv python in spyder. . what masking you are talking about ? $\endgroup$– soumyajeetSep 18, 2020 at 5:55
-
$\begingroup$ I dont know opencv but in Numpy you can use a mask (matrix which consists of True/False elements) to mask certain values to the operation you want to perform. I think it is better if you join a code of what you tried. $\endgroup$– Adam OudadSep 20, 2020 at 14:32