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,

답변 (1개)

Walter Roberson
Walter Roberson 2014년 1월 15일

0 개 추천

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

댓글 수: 1

Image Analyst
Image Analyst 2014년 1월 16일
편집: Image Analyst 2014년 1월 16일
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.

댓글을 달려면 로그인하십시오.

질문:

2014년 1월 14일

편집:

2014년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by