EyesWeb XMI Forum
http://forum.eyesweb.infomus.org/

Moving ROI in real-time
http://forum.eyesweb.infomus.org/viewtopic.php?f=24&t=589
Page 1 of 1

Author:  slowhand1980 [ 22 May 2010, 19:22 ]
Post subject:  Moving ROI in real-time

In the attached patch I'm trying to move the ROI in real time using a clock....

I have generated 2D int rect coordinates. If I use them to draw a rect it works, but if I try to use them in the SetROI I can see the coordinates changes in the properties windows, but in the directx display I can see only the first frame.

Please help....

Attachments:
interferenze.rar [43.92 KiB]
Downloaded 1241 times

Author:  slowhand1980 [ 24 May 2010, 16:56 ]
Post subject:  Re: Moving ROI in real-time

no ideas....? is this impossible to do?

Author:  slowhand1980 [ 24 May 2010, 17:50 ]
Post subject:  Re: Moving ROI in real-time

no ideas....? is this impossible to do?

Author:  paolo [ 29 May 2010, 17:59 ]
Post subject:  Re: Moving ROI in real-time

Since you are reading a static image, not a video file, the videofilereader just reads 1 frame and then stops; thus, the lower display is never refreshed. You can synchronize the videofilereader with the clock generator.

See the attached patch.

Paolo

Attachments:
Prova_interferenze.eywx [78.24 KiB]
Downloaded 1342 times

Author:  slowhand1980 [ 29 May 2010, 18:22 ]
Post subject:  Re: Moving ROI in real-time

Thank you so much Paolo!!! Now it works!!!!!

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/