imfreehand lacks setPosition method?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Dear all I'm developing an application where I have ROIs defined by imfreehand. One tool that I need is to globally shift all ROIs (say by [dX dY]). For impoly, I can use: h.setPosition(h.getPosition + repmat([dX dY],[size(h.getPosition,1) 1])) But for imfreehand, for some weird reason, there is no setPosition method. It is all the more weird because a 'setPositionConstraintFcn' method does exist. Anyone knows of a workaround to make this work for imfreehand too? Thanks! Gilad
PS The idea of deleting and re-creating all ROIs is very annoying, but a possible fallback option.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!