Changeset 63
- Timestamp:
- 06/24/13 14:33:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
birds/createmilbirds.m
r62 r63 39 39 % run over blobs: 40 40 im = abs(S); 41 thisx = zeros(Nseg, 2);41 thisx = zeros(Nseg,3); 42 42 for j=1:Nseg 43 43 ix = (bloblab==j); … … 54 54 % create a dataset 55 55 a = genmil(x); 56 % add the labels one by one: 57 ll = [... 58 'BRCR - Brown Creeper '; 59 'WIWR - Winter Wren '; 60 'PSFL - Pacific-slope Flycatcher '; 61 'RBNU - Red-breasted Nuthatch '; 62 'DEJU - Dark-eyed Junco '; 63 'OSFL - Olive-sided Flycatcher '; 64 'HETH - Hermit Thrush '; 65 'CBCH - Chestnut-backed Chickadee'; 66 'VATH - Varied Thrush '; 67 'HEWA - Hermit Warbler '; 68 'SWTH - Swainsons Thrush '; 69 'HAFL - Hammonds Flycatcher '; 70 'WETA - Western Tanager ']; 71 72 for i=1:size(baglab,2) 73 I = ismember(bagid,find(baglab(:,i))); 74 a = addlabels(a,genmillabels(I',1),ll(i,:)); 75 end 76 % set it to the first bird: 77 a = changelablist(a,2); 78 thisll = getlablistnames(a); 79 a = setname(a,strtrim(thisll(curlablist(a),:))); 80
Note: See TracChangeset
for help on using the changeset viewer.