Cell array to image
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2014-5-27
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!