Incorrect result of image subtraction

前端 未结 3 1557
傲寒
傲寒 2021-01-12 12:31

I wanted to subtract two images pixel by pixel to check how much they are similar. Images have the same size one is little darker and beside brightness they don\'t differ. B

3条回答
  •  春和景丽
    2021-01-12 13:19

    I found this which does what you want. It does seem to do the same thing and it may be more "correct" than your code. I assume it's possible to extract the source code.

    http://tutorial.simplecv.org/en/latest/examples/image-math.html

    /Fredrik Wahlgren

提交回复
热议问题