I am struggling with what should be a very simple task, but this is down to my lack of math skills and how to use PixelMath.
I have two images, 'image1' with black patches the result of aligning other images that don't overlap well, and 'image2' is a full image with no black areas, both are the same size and aligned.
What I want to do is blend both image so that the black areas on the first image are replaced with the data from the second.
i.e.
if the pixel is black, use data from 'image2', else use data from 'image1')
I have tried various expressions none work. Can someone please help?
Thanks,
Mike