examples of imread function in Matlab


All Contributions

read image from graphics file 

A = imread(filename)

reads the image from the file specified by filename, inferring the format of the file from its contents. If filename is a multi-image file, then imread reads the first image in the file.

Read image from graphics file:

A = imread('ngc6543a.jpg');

imread returns a 650-by-600-by-3 array, A.


Display the image.


total contributions (2)

This topic belongs to these lists

need a help?

find thousands of online teachers now

New to examplegeek.com?

Join us