How to manually adjust after automated segmentation?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 1 May 2018
Answered: MathWorks Support Team
on 1 May 2018
I am using the Image Segmenter App and I use the Graph Cut or another automated Segmentation feature. I then want to go back and manually fix it up. Is this possible?
>> coins = imread('coins.png'); >> imageSegmenter(coins)
Select Graph Cut, Mark Foreground and background and then Create Mask
Accepted Answer
MathWorks Support Team
on 1 May 2018
Once the mask is created, all the Add to Mask tools (such as draw freehand) can be accessed to add to the foreground.
If you would like to change some of the foreground to become background, follow the steps below:
- Select the dropdown under Refine Mask and select Invert Mask
- Use an Add to Mask tool (such as draw freehand) to add to the background
- Invert the mask again
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!