imfreehand lacks setPosition method?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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.
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!