Segment pink color spots from image
Show older comments
I = imread('input_image');
figure, imshow(I)
How to extract the pink colour spots in the attached image and find how much area it occupies in the light orange/peach colour region?
I tried imbinarize and multithresh, but cant identify the spots correctly. Please could someone help me to extract the pink spots and find the area it occupies in the peach colour region.
Accepted Answer
More Answers (1)
Abderrahim. B
on 25 Jul 2022
Edited: Abderrahim. B
on 25 Jul 2022
Hi!
Workflow I used to get the pink color spots (picture attached) using the app is as follow:
1- Read the image
I = imread('input_image');
2- Start the app like if it was a function
colorThresholder(I)
3- Select HSV color space
4- Tune H, S and V until you segment the pink spots . Mainly H .
5. You can export the segmented image as well as generate a function for your processing.
Hope this helps
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


