If A and B are the images with a resolution XY, and Op is the
operator, then the image N resulting from the combination
of A and B through the operator Op (fig.2) is such that each
pixel P of the resulting image N is assigned the value
pn = (pa)(Op)(pb) ; where pa is the value of pixel P in
image A, and pb is the value of pixel P in image B.