Gistlib Logo

gistlib

show mona lisa in matlab

To show Mona Lisa in Matlab using imshow function, you can use the following code:

main.m
mona_lisa = imread('monalisa.jpg');
imshow(mona_lisa);
55 chars
3 lines

Here, we first read the Mona Lisa image using imread function, and then display it on the screen using imshow function.

Note: The filename used in imread function should be the full path if the image is not in the current working directory.

similar matlab code snippets

read md5 hash from image in matlab
how to classify images from a webcam in matlab in matlab
import multiple .tiff images into a structure, with fields of "filename" and "resolution (pixels)" (512,512,121) for example.), and a user inputed "pixel size (um)" field (1.07,1.07,5) for example in matlab
read the road sign in the image in matlab
show image from mona lisa in matlab
import multiple .tiff images into a structure, with fields of filename and resolution(pixels), and a user inputed pixel size(um) field in matlab
select image from file in matlab
calculate signal to background ratio in image in matlab
image histogram in matlab
classify images from my phone camera in matlab

related categories

matlab
image processing
imshow
mona lisa
imread

gistlibby LogSnag