This kind of image processing has been done, at least by myself but no doubt by many other people
😉If you have the IMAQ Vision toolkit, some example VIs are included, in LabVIEW, "Help", "Find Examples".
The vision toolkit includes functions to compute sum, difference, absloute value of difference, logical AND or OR, etc... on images.
If you have more accurate questions, feel free...
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
Antoine Chalons