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개)

이 질문은 마감되었습니다.

질문:

2016년 8월 2일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by