I need help, please:

I am working on a project in Matlab and I need to put a pixel on a specific location on an image. I do it but the problem is in the changing of the color of this pixel after the assignment it converted to either black or white. how can I keep the original color of this pixel?

the code is : rgbImage(i,j,:) = im(1,1,:);

Similar questions and discussions