128x128 frames to video

1 visualizzazione (ultimi 30 giorni)
ahmed niri
ahmed niri il 19 Mag 2017
Risposto: Walter Roberson il 19 Mag 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.

Risposte (1)

Walter Roberson
Walter Roberson il 19 Mag 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