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 个)

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by