Grayscale video output using grayscale images

Hello, Actually, I have several grayscale images which I used to make a video using 'VideoWriter'. However, the output video is a RGB video. Do you suggest any method that allow me to directly create a grayscale video ?
I thank you in advance,
Best regards,

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de En. de 2014

0 votos

When you create the VideoWriter object, specify 'VideoFormat', 'Grayscale'

1 comentario

Image Analyst
Image Analyst el 16 de En. de 2014
Editada: Image Analyst el 16 de En. de 2014
Allobro's "Answer" moved here, since it's not an answer to the original question.
I thank you for your answer, but you cannot change the 'VideoWriter' property 'VideoFormat' because it's a dynamic property.
If you can provide me another solution, I'll be really thankful to you.
Best regards.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 14 de En. de 2014

Editada:

el 16 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by