From: Ahmed on
"Afraz " <afrazmamoon(a)googlemail.com> wrote in message <hri4bh$r44$1(a)fred.mathworks.com>...
> Hey everyone, I am new to the Image aquisition toolbox in matlab. I am having a problem while trying to aquire image frames using a webcam.
>
> Using the Imaqtool I am able to aquire and save image frames, and the image frames look fine. However I am trying to do some real-time video processing using simulink, but the video stream appears to be discoloured. I was just testing(as i'm new to simulink) a "From video device" block connected to a "To video display" block.
>
> If I preview the image aquisition in the "From video device" block, the video stream looks fine, and is coloured. However when I run simulink with the "To video display" block the resulting video feed is discoloured. The image is a mixture of pink and grey for some reason.
>
> I have tested using a different camera, but the result is the same.
>
> If anyone has an idea about whats going on, please let me know, help will be appreciated.
>
> Thankyou
>
> Afraz
i had the same problem... the solution wrk.. thanks..