Clear Filters
Clear Filters

Using imfreehand() on MatlabMobile

3 views (last 30 days)
Alberto Ippolito
Alberto Ippolito on 15 Mar 2022
Answered: Anjaneyulu Bairi on 12 Oct 2023
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?

Answers (1)

Anjaneyulu Bairi
Anjaneyulu Bairi on 12 Oct 2023
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!