Thanks.
The easiest way is to set the returned color space for your videoinput
object to grayscale:
vid.ReturnedColorSpace = 'grayscale';
-Dave Tarkowski
Thanks,
Ankur
What version of MATLAB are you using?
-Dave
Thanks,
Ankur
The behavior that you are seeing is the behavior of the preview window
in the version of the Image Acquisition Toolbox that you are using. In
order to get the behavior that I described, you will need to upgrade to
a newer version of the toolbox (and MATLAB) or implement your own
preview functionality.
-Dave Tarkowski
Thanks,
Ankur
Ankur,
See this demo:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=5438&objectType=FILE.
It should help you get started.
-Dave
thanks,
Ankur