Image Selection in freeform

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.

Asked:

on 24 Feb 2024

Commented:

on 26 Feb 2024

Community Treasure Hunt

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

Start Hunting!