Using imfreehand() on MatlabMobile

4 次查看(过去 30 天)
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