SetRed is a binary operator. A binary operator is one which takes data from two images and generates a third image.
It does this by taking the value of the corresponding pixels in each of the two input images and combining the
values using some operator to generate the apropriate pixel in the third image. Both input images must have the same
dimensions.
SetRed takes the red channel from one TrianaPixelMap and combines it with the green and blue channels of the
other. Mathematically it can be expressed as follows:
rr(i, j) = r1(i, j)
gr(i, j) = g2(i, j)
br(i, J) = b2(i, j)
See also
GetRed,
GetGreen,
SetGreen,
GetBlue,
SetBlue