GRimagemy teacher has assigned me to work combine RBG channels and create a GR image, whose results are like a negative image as shown in the image attached.
I have tried the following code:
GR1=(double(100*green_channel/1+red_channel+blue_channel)); GR2=(double(256/1+red_channel+blue_channel+green_channel)); GR=(double(GR1.*GR2));
but it does not produce the desired results, can someone please help?