how to convert black and white image into a colour image using matlab functions?
72 次查看(过去 30 天)
显示 更早的评论
how to convert black and white image into a colour image using matlab functions?
0 个评论
回答(2 个)
Walter Roberson
2011-3-21
ColorImage = repmat(BWImage,[1,1,3]);
The result will be an RGB image whose colors are the same as the black and white image. If you want colors other than shades of grays, then you would need to alter the image.
Or perhaps the answer you are looking for is
colormap hot
or
colormap copper
or any of the other ready-made colormaps.
2 个评论
Aya Ahmed
2020-2-16
How to convert colour image into black and white using matlab functions? (inverse image)??
PROSANJEET SARKAR
2020-3-27
bwImg=im2bw(image_name,thershold value);
above function you can convert colour image to black and white image
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!