Problem 42617. List of built-in demo images
Return a cell array containing the filenames for built-in images (e.g. cameraman.tif, coins.png). An optional input specifies what type(s) of files to look for. If no such files exist, return an empty cell array.
EDIT: The output should be sorted in alphabetical order.
Solution Stats
Problem Comments
-
9 Comments
good problem!
The current demo images can be found using
cd (matlabroot)
cd toolbox/images/imdata
dir
Oddly using
cd (fullfile(matlabroot,'toolbox/images/imdata/'))
gives a demo dir that includes cameraman.tif
With a few manipulations the expected results can be created.
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
-
1650 Solvers
-
Sum all integers from 1 to 2^n
15997 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2323 Solvers
-
Find a subset that divides the vector into equal halves
391 Solvers
-
813 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!