Filter löschen
Filter löschen

convert to grayscale

10 Ansichten (letzte 30 Tage)
James
James am 14 Jul. 2011
Beantwortet: Image Analyst am 27 Mai 2014
Hi
I want to put a video into Matlab and convert it into grayscale.
Please help!

Akzeptierte Antwort

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori am 14 Jul. 2011
Bearbeitet: John Kelly am 27 Mai 2014
Hello James,
You can load a video into MATLAB using VideoReader().
doc VideoReader
You can apply rgb2gray() on each frame.

Weitere Antworten (1)

Image Analyst
Image Analyst am 27 Mai 2014
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