I want to demonstrate the result of segmentation by reveal gray scale image and draw two color lines one denotes the result of my algorithm and the second denotes the ground truth
what you are using ? i would copy the grayscale into an RGB image (R=G=B = G for 8bit do the scaling for other ... some libraries do so) and then i may add what ever i want in any color. (ImageJ is nice)