1 | %IMOX Handwritten character dataset, 192 objects, 8 features, 4 classes |
---|
2 | % |
---|
3 | % A = IMOX |
---|
4 | % |
---|
5 | % Load the dataset in A. The features are the distances from a bounding box |
---|
6 | % to the pixels of a set of handwritten characters 'I', 'M', 'O', and 'X', |
---|
7 | % measured form the corners along the diagnoals and from the edge midpoints |
---|
8 | % along the horizontal and vertical central axes. |
---|
9 | % |
---|
10 | % See also DATASETS, PRDATASETS, X80 |
---|
11 | |
---|
12 | % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org |
---|
13 | % Faculty EWI, Delft University of Technology |
---|
14 | % P.O. Box 5031, 2600 GA Delft, The Netherlands |
---|
15 | |
---|
16 | function a = imox; |
---|
17 | |
---|
18 | prdatasets(mfilename,1); |
---|
19 | a = pr_dataset('imox'); |
---|
20 | a = setname(a,'IMOX Dataset'); |
---|
21 | a = setlablist(a,str2mat('I','M','O','X')); |
---|
22 | a = setfeatlab(a,str2mat(... |
---|
23 | 'diagonal from top-left', ... |
---|
24 | 'vertical from top-center', ... |
---|
25 | 'diagonal from top-right', ... |
---|
26 | 'horizontal from right-center', ... |
---|
27 | 'diagonal from bottom-right', ... |
---|
28 | 'vertical from bottom-center', ... |
---|
29 | 'diagonal from bottom-left', ... |
---|
30 | 'horizontal from left-center')); |
---|