How to label a picture according to the color of pixels
1 次查看(过去 30 天)
显示 更早的评论
I want to label a set of pictures like this one, which are only made up of three colors. I'm currently using Image labeler (more specificly the flood fill) to label its pixels. However it cost to much time. I want to assign labels to each pixels according to the color of the pixel. Can anyone help me?
0 个评论
回答(1 个)
Pratham Shah
2023-4-25
Hi Muchen!
You can use 'categorical' function to convert array into lable form.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!