Grayscale image to 2D array?

can anyone teach me how to store grayscale image into 2D array format?

1 个评论

Do you have an image on your disk and you want to load it on MATLAB?

请先登录,再进行评论。

 采纳的回答

If it's in a file on disk
grayImage = imread(fullFileName);
For a full example, see a random demo I attached (does a DOG filter).

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Images 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by