From: Simon on 18 Feb 2010 13:45 Can anyone explain how to convert the Panorama demo to handle a sequence of images instead (two will do actually). That is, instead of taking sequential frames of a video, I'd rather use two images. Thanks.
From: Huibao on 22 Feb 2010 09:40 "Simon " <spsilk(a)gmail.com> wrote in message <hlk1sh$gf0$1(a)fred.mathworks.com>... > Can anyone explain how to convert the Panorama demo to handle a sequence of images instead (two will do actually). That is, instead of taking sequential frames of a video, I'd rather use two images. Thanks. You can concatenate the images and then use the "Video From Workspace" block to import them into Simulink as a video sequence. You can also use the "Switch" block and the "Delay" block to mimic the behavior of the video frames. To do that, you let the "Switch" block select the first image at the first simulation step, then let the "Switch" block select the second image after it has been delayed by one step.
|
Pages: 1 Prev: Syntax question about mexGetVariable( ) Next: UITree Usage |