Hello,
I'm doing some image processing on bitmap images. I'm using the RSImageProcessing library with great success.
Basically I'm doing a Difference Blend between 2 images. When the 2 images are exactly the same, I get a difference blend of all black (colors.RGB(0,0,0)), as expected.
But, when I do a difference blend of nearly identical images (phone mounted on a tripod, images taken 5 seconds apart) I get a difference blend of almost black (maybe colors.RGB(2,1,3))). If I compare the 1st difference blend with this 2nd blend, I get a false not-the-same.
I really don't care about small changes. I think I would like to do a threshold where any grayscale pixel value less than a threshold is set to 0,0,0
I can do this on a pixel by pixel or row of pixels basis, but it is somewhat slow. Is there a function that does a threshold like this that I am not finding?
Thanks,
Barry.
I'm doing some image processing on bitmap images. I'm using the RSImageProcessing library with great success.
Basically I'm doing a Difference Blend between 2 images. When the 2 images are exactly the same, I get a difference blend of all black (colors.RGB(0,0,0)), as expected.
But, when I do a difference blend of nearly identical images (phone mounted on a tripod, images taken 5 seconds apart) I get a difference blend of almost black (maybe colors.RGB(2,1,3))). If I compare the 1st difference blend with this 2nd blend, I get a false not-the-same.
I really don't care about small changes. I think I would like to do a threshold where any grayscale pixel value less than a threshold is set to 0,0,0
I can do this on a pixel by pixel or row of pixels basis, but it is somewhat slow. Is there a function that does a threshold like this that I am not finding?
Thanks,
Barry.