Searching for a way to do Bitwise XOR on images

前端 未结 6 1647
Happy的楠姐
Happy的楠姐 2021-01-31 09:42

I am looking for a way to get the Bitwise XOR of two images on the command line(or in another way that can be implemented in a program or script).

This should result in

6条回答
  •  不知归路
    2021-01-31 10:22

    If you want to do yourself, do it pixel by pixel. If you want a library, I recommend OpenCV. This is very nice and open source library with huge operations supported in image processing area. It supports direct XOR using ^ operator. Good Luck.

提交回复
热议问题