source: prdatasets/lena.m @ 83

Last change on this file since 83 was 81, checked in by bduin, 11 years ago
File size: 554 bytes
RevLine 
[80]1%LENA 256 x 256 objects (pixels) with 3 features (red, green, blue)
2%
3%       A = LENA
4%
5% Load the dataset in A. This is a reduced version of the original Lena
6% image in PRTools format. Pixels are objects and colors are features.
7%
8% See also DATASETS, PRDATASETS
9
10% Copyright: R.P.W. Duin, r.p.w.duin@prtools.org
11% Faculty EWI, Delft University of Technology
12% P.O. Box 5031, 2600 GA Delft, The Netherlands
13
14function a = lena
15
16prdatasets(mfilename,2);
17s = warning;
[81]18a = pr_dataset('lena');
[80]19a = setfeatlab(a,['red  ';'green';'blue ']);
20a = setname(a,'Lena');
Note: See TracBrowser for help on using the repository browser.