Using imfreehand() on MatlabMobile

조회 수: 2 (최근 30일)
Alberto Ippolito
Alberto Ippolito 2022년 3월 15일
답변: Anjaneyulu Bairi 2023년 10월 12일
I wrote a code for selecting a ROI via imfreehand(). It works well with the standard Matlab on my PC.
When I run it on Matlab mobile (such as on my ipad) the code remains on "uiwait" and I'm not allowed to draw my region of interest.
Could you assist me?

답변 (1개)

Anjaneyulu Bairi
Anjaneyulu Bairi 2023년 10월 12일
I understood that you are facing issues while using “imfreehand()” function in MATLAB Mobile version. Try below troubleshooting steps to resolve your query.
  • “imfreehand()” is not recommended so try to use the new “Freehand” ROI object and you can use the new ROI creation convenience function drawfreehand()”. Another option is the “AssistedFreehand()” object, which enables you to hand-draw a shape that automatically follows the edges in the underlying image.
Links for above functions from MathWorks documentation
Hope it helps to resolve your query.

Community Treasure Hunt

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

Start Hunting!

Translated by