Azzera filtri
Azzera filtri

convert to grayscale

10 visualizzazioni (ultimi 30 giorni)
James
James il 14 Lug 2011
Risposto: Image Analyst il 27 Mag 2014
Hi
I want to put a video into Matlab and convert it into grayscale.
Please help!

Risposta accettata

Harsha Vardhan Rao  Avunoori
Modificato: John Kelly il 27 Mag 2014
Hello James,
You can load a video into MATLAB using VideoReader().
doc VideoReader
You can apply rgb2gray() on each frame.

Più risposte (1)

Image Analyst
Image Analyst il 27 Mag 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