different color for different region of image
2 次查看(过去 30 天)
显示 更早的评论
Hi I have an image, I wonder how to assign different color for different region in the image? For example how can I choose one colormap for blue rectangle and one colormap for green rectangle and the rest of figure uses different colormap.
0 个评论
采纳的回答
Image Analyst
2014-8-31
That's precisely what my demo does. It's attached below the image. I have a freehand region version (also attached) if you're interested.
4 个评论
Image Analyst
2014-9-1
Well don't run that part of the script again - the part that reads in the original image. Just run the part that asks for the region and colorizes it. Put it in a for or while loop if you want.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Blue 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!