Starting with a grayscale image, how can I colour a certain pixel based on its x,y coordinates?
19 views (last 30 days)
I have a 256 by 256 grayscale image. I want to colour a certain coordinating (say 125,125) red. Do I need to convert the entire image into truecolour? I want to keep the greyscale image how it was other than the coloured pixel. Would gray2ind seems like the appropiate first step, but I'm not sure how to go from there.
Thanks in advanced!