Array of images indexing

조회 수: 11(최근 30일)
Ömer Faruk Kurular
Ömer Faruk Kurular 2019년 11월 7일
편집: KALYAN ACHARJYA 2019년 11월 7일
frames = [];
frame = readFrame(video);
frames = [frames; frame];
I am reading video and saving frames to an array as shown above. But after saving completed, image array becomes something like a whole new image. I cannot index image one by one but pixel by pixel. How can I properly keep image in an array?


KALYAN ACHARJYA 2019년 11월 7일
편집: KALYAN ACHARJYA 2019년 11월 7일
Use cell array
Frame is an image, you can same multiple frames in cell array. Its very easy to call those frames when it requires
For frame1
data{1} %>> Frame 1 on...

Community Treasure Hunt

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

Start Hunting!

Translated by