Image Selection in freeform

1 view (last 30 days)
Deepan Jayakumar
Deepan Jayakumar on 24 Feb 2024
Commented: Deepan Jayakumar on 26 Feb 2024
I want to select some regions in my image and I want to do it in freefrom manner. Is there any way?

Answers (1)

DGM
DGM on 24 Feb 2024
Use drawfreehand() to create an ROI object interactively. Once done, use createMask() to convert the ROI object into a logical mask. Then do whatever you need to do using the mask.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!