필터 지우기
필터 지우기

How to get the position of imfreehand into a variable and use that position to be used for another image ?

조회 수: 2 (최근 30일)
In the GUI, in one callback function I used
"hFH = imfreehand()" %to draw freehand in an image.
"xyposition = getPosition(hFH)" %%To get the positions of the coordinates.
Then in another callback funtion(pushbutton2), to get the same position ROI in another image, I tried
" hFH1 = imfreehand(gca,xyposition );"
But it is showing error as
Invalid syntax. IMFREEHAND does not accept an initial
position.
Can any one help me.
Thanks...

답변 (0개)

카테고리

Help CenterFile Exchange에서 Build Interactive Tools에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by