How to use montage?

1 view (last 30 days)
gauri joshi
gauri joshi on 13 Apr 2015
Answered: Image Analyst on 13 Apr 2015
I want to display all the frames of the video on the single frame. Is it possible? And can use montage to do so? If not suggest me anything to do so.

Answers (1)

Image Analyst
Image Analyst on 13 Apr 2015
Yes, it's possible if you have enough memory. You need to convert your video frames into a 4D image stack of 3D RGB images. See the directions in montage(). You won't be able to do very many. I suggest you figure out how big your screen is, then figure out how many frames you're going to have, then subsample the images before you stack them into the 4D array so your output image is not so huge and you don't run out of memory.

Categories

Find more on Display Image in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!