Using imfreehand() on MatlabMobile
Show older comments
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
on 12 Oct 2023
0 votes
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
- https://www.mathworks.com/help/images/ref/imfreehand.html (Not recommended to use)
- https://www.mathworks.com/help/images/ref/images.roi.freehand.html
- https://www.mathworks.com/help/images/ref/drawfreehand.html
- https://www.mathworks.com/help/images/ref/images.roi.assistedfreehand.html
Hope it helps to resolve your query.
Categories
Find more on ROI-Based Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!