필터 지우기
필터 지우기

convert to grayscale

조회 수: 10 (최근 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