필터 지우기
필터 지우기

128x128 frames to video

조회 수: 4 (최근 30일)
ahmed niri
ahmed niri 2017년 5월 19일
답변: Walter Roberson 2017년 5월 19일
I have 10000 frames in my workspace that have the size of 128x128. I would like to take these frames and make video such that when they are displayed, the video is displayed just as if I am using the imagesc function.
Thank you in advance.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 5월 19일
You can use mat2gray() to do the program equivalent of the scaling that imagesc() does.
Are you certain that you want every frame to be scaled independently of every other frame? If you have two frames, such as one with the range 51 to 58, then should that have the same brightness and colors as if the range had instead been 201 to 208 ?

Community Treasure Hunt

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

Start Hunting!

Translated by