Changeset 75
- Timestamp:
- 07/10/13 09:30:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
birds/createmilbirds_19cl.m
r72 r75 115 115 imagfeats(j,7) = quantile(seg(:),1); 116 116 117 seg = absim.*ix; 118 momentfeat = [moments(seg,[1;0],[0;1],1,0) ... 119 moments(seg,[2;1;0],[0;1;2],1,0) ... 120 moments(seg,[2,1,0],[0,1,2],1,1) ... 121 hu_moments(seg) zernike_moments(seg)]; 117 122 118 123 % don't forget: … … 121 126 122 127 end 123 x{i} = [maskfeats absfeats realfeats imagfeats ];128 x{i} = [maskfeats absfeats realfeats imagfeats momentfeat]; 124 129 125 130 %Get the labels right for the training bags:
Note: See TracChangeset
for help on using the changeset viewer.