필터 지우기
필터 지우기

how can i do or where i can find full matlab code to convert real time image using webcam into greyscale?

조회 수: 3 (최근 30일)
i need this for my project and cannot find the proper code i m using win 10 and 2016b version

답변 (1개)

Bego
Bego 2016년 9월 28일
편집: Bego 2016년 9월 28일
Hi Shefali,
You should read the following documentation:
After that, you'll see that it is as easy as:
vid = videoinput('winvideo');
vid.ReturnedColorSpace = 'grayscale';
preview(vid);
Regards,

Community Treasure Hunt

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

Start Hunting!

Translated by