Efficient manipulation of images in memory
Show older comments
Which is the more efficient, to store and manipulate several images in an image cube (M,N,K) or in a cell array of images cell(K,1)? I'm thinking of memory, but other measures of efficiency are welcome.
Accepted Answer
More Answers (1)
Sean de Wolski
on 22 Feb 2011
0 votes
If the images are all the same size, use the cube. If not, you would have to pad the smaller images to the size of the biggest which wastes memory and a cell would be better.
Cubes are better for manipulations. my $0.02
Categories
Find more on Image Preview and Device Configuration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!