128x128 frames to video

1 visualización (últimos 30 días)
ahmed niri
ahmed niri el 19 de Mayo de 2017
Respondida: Walter Roberson el 19 de Mayo de 2017
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 19 de Mayo de 2017
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