Cell array to image
Show older comments
i have a data which is cell array
x_error=41 X 41 Cell
i want to create an image by using this cell array value is this possible
4 Comments
rifat
on 27 May 2014
can you provide a little more information about this cell array? What kind of data does each cell contain?
sazzad hossen
on 27 May 2014
Jos (10584)
on 27 May 2014
What does the contents of each cell look like? And what does it represent?
sazzad hossen
on 27 May 2014
Answers (1)
Image Analyst
on 27 May 2014
To stitch together two images, each of which is inside a cell, do this:
wideImage = [ca{1}, ca{2}]; % Stitch together horizontally.
tallImage = [ca{1}; ca{2}]; % Stitch together vertically.
See the FAQ: http://matlab.wikia.com/wiki/FAQ#What_is_a_cell_array.3F for a good discussion of cell arrays.
1 Comment
sazzad hossen
on 27 May 2014
Edited: sazzad hossen
on 27 May 2014
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!