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?

Réponses (1)

DGM
DGM le 24 Fév 2024

1 vote

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!

Translated by