Files were all downloaded from here. In there, examples of function for "load_image" all were done to "lena". Why is this so? How do i use "load_image" to load other arbitrary images?

 Réponse acceptée

David Young
David Young le 2 Mar 2015
Modifié(e) : David Young le 2 Mar 2015

0 votes

I do not know why the author chose this particular image for his examples, but there is a discussion of it here.
To use another image, simply replace 'lena' as the first argument to load_image with one of the other strings described in the documentation for load_image, or with the name of an image file in the current directory, omitting the extension. See
help load_image

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by