imfreehand lacks setPosition method?

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.

回答(0 个)

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by