convert to grayscale

8 ビュー (過去 30 日間)
James
James 2011 年 7 月 14 日
回答済み: Image Analyst 2014 年 5 月 27 日
Hi
I want to put a video into Matlab and convert it into grayscale.
Please help!

採用された回答

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 7 月 14 日
編集済み: John Kelly 2014 年 5 月 27 日
Hello James,
You can load a video into MATLAB using VideoReader().
doc VideoReader
You can apply rgb2gray() on each frame.

その他の回答 (1 件)

Image Analyst
Image Analyst 2014 年 5 月 27 日
See attached demo. Put rgb2gray() in there to adapt it to do what you want.

Community Treasure Hunt

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

Start Hunting!

Translated by