I want to do this logical operation (as shown in image screenshot) on binary image ?
I did it using BufferedImage. I take the each pixel from two images and do logical operation on that pixel and setting that pixel.(used getRGB and setRGB).
the result i get attached as LogicalOPeration.
what's wrong with AND and OR operation in my result ?