Grayscale image to 2D array?

4 views (last 30 days)
saranya
saranya on 29 Mar 2014
Answered: Image Analyst on 29 Mar 2014
can anyone teach me how to store grayscale image into 2D array format?
  1 Comment
Marta Salas
Marta Salas on 29 Mar 2014
Edited: Marta Salas on 29 Mar 2014
Do you have an image on your disk and you want to load it on MATLAB?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 29 Mar 2014
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).

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!