From: Marte Brekke on
I'm trying to make a GUI where I can play two videos in the same window and then measure distances between objects in the video. I have tried to use the movie function, but it does not work well on larger videos. I have also tried to use implay, which works better, but opens in separate windows.
My question is, is there a way to get implay to open in a GUI axes so I can play two videos in the same window? And is there a way to get the same distance-button from imtool into my own GUI?
I am really stuck on how to do this and any help would be very welcome!

Thanks.
From: Michael Hayworth on
Did you try just creating a figure with two axes, then for each aces,
set the focus to it with the axes command and play the movie in it
with the movie() command?
Then use something like ginput to have the user mark a point in each
image and calculate the distance between those with the hypot()
command or the normal Euclidean distance formula.
From: berhanu mulu on
"Marte Brekke" <marte_m_b(a)hotmail.com> wrote in message <hv3cr6$p52$1(a)fred.mathworks.com>...
> I'm trying to make a GUI where I can play two videos in the same window and then measure distances between objects in the video. I have tried to use the movie function, but it does not work well on larger videos. I have also tried to use implay, which works better, but opens in separate windows.
> My question is, is there a way to get implay to open in a GUI axes so I can play two videos in the same window? And is there a way to get the same distance-button from imtool into my own GUI?
> I am really stuck on how to do this and any help would be very welcome!
>
> Thanks.

How did u fix the problem, i would like to know .
From: berhanu mulu on
"Marte Brekke" <marte_m_b(a)hotmail.com> wrote in message <hv3cr6$p52$1(a)fred.mathworks.com>...
> I'm trying to make a GUI where I can play two videos in the same window and then measure distances between objects in the video. I have tried to use the movie function, but it does not work well on larger videos. I have also tried to use implay, which works better, but opens in separate windows.
> My question is, is there a way to get implay to open in a GUI axes so I can play two videos in the same window? And is there a way to get the same distance-button from imtool into my own GUI?
> I am really stuck on how to do this and any help would be very welcome!
>
> Thanks.


How did u fix the problem, i would like to know. I am tiring to make two videos play in the same window; so far I couldn&#8217;t manage it. If you have some suggestion let me know,

Thanks