I don't know if this is the place to report this, but I think there is a bug in the ImageMath module. I had a pipeline written in 2.1.0 that subtracted 2 binary images (no manipulations to them. just a simple subtract image 2 from image 1. It does not work in 2.1.1.
The results look like this:
(image 1) - (image 2) = new image
1 - 0 = 1
1 - 1 = 0
0 - 1 = 1 (this should be 0. Yes, I have turned on "set values less than 0 equal to 0")
I also tried swapping the subtraction order of the 2 binary images and I get the same results (if it were working correctly, I should see an inversion of what I want)
Perhaps I am using something wrong or there were changes to the module that I have not accounted for? I did not see any new options or settings in the module since 2.1.0.
I have reinstalled 2.1.0 and it is working fine.
Thanks in advance.