how to represent an image in grid format?
1 回表示 (過去 30 日間)
古いコメントを表示
how to represent an image in grid format?
0 件のコメント
回答 (1 件)
Image Analyst
2012 年 10 月 7 日
imageArray = imread(filename);
imageArray will be a rectangular grid/array/matrix.
2 件のコメント
Image Analyst
2012 年 10 月 7 日
Well maybe I don't know what he means. In MATLAB, an image is a 2D array, unlike vector formats like EPS. What type of file is the student's image stored in? Is it a PNG, BMP, TIFF, or JPG file? If so it's already in a rectangular grid and you can simply use the imread code I gave you. If it's a vector format like EPS, I have no idea because I don't do image analysis on those types of computer graphics (clip art) files.
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!