rgb to yuy2

4 ビュー (過去 30 日間)
mohamad almasi
mohamad almasi 2016 年 8 月 1 日
回答済み: Image Analyst 2016 年 8 月 1 日
Hi, I wanna to subtract rgb from grayscale for tracking blue component in real time video(stereo vision) . but my cameras do not supported rgb and just support YUY2 for this issue I found a function that change YUV to rgb, please help me how can I set variables to these .m file to work correctly

回答 (1 件)

Image Analyst
Image Analyst 2016 年 8 月 1 日
See this answer from the developer of the Image Acquisition Toolbox http://www.mathworks.com/matlabcentral/answers/55791#answer_67614 Basically set your returnedcolorspace property to 'RGB'.
For color tracking, see my attached demo.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by