0
How to convert an image to grayscale (Gray) to a color image (rgb)?
img=im2double(imread('37_M.jpg'));
figure(1),
imshow(img,[]),
title('original');
t=imgaussfilt3(img,0.2);
figure(2),
imshow(t,[]),
title('original filtro');
img2=rgb2gray(t);
figure(3),
imshow(img2,[]),
title('original gray');
I want a final image that is the junction of the img with the img2 after segmented and with contours, but as img is 3D and img2 2D do not know how to do.
Add and your question some code! Matlab is a very reserved section and not everyone here knows this program!
– user46523