Changeset 65
- Timestamp:
- 06/25/13 11:38:15 (12 years ago)
- Location:
- birds
- Files:
-
- 2 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
birds/createmilbirds_13cl.m
r63 r65 1 % create a MIL dataset from the original WAV-files, segmentation of the1 % Create a MIL dataset from the original WAV-files, segmentation of the 2 2 % spectrograms, and computation of features on the segmented regions 3 % 4 % This data was the original Briggs data with 13 species. 3 5 4 6 % some settings: … … 39 41 % run over blobs: 40 42 im = abs(S); 41 thisx = zeros(Nseg, 3);43 thisx = zeros(Nseg,7); 42 44 for j=1:Nseg 43 45 ix = (bloblab==j); 44 thisx(j,:) = [props(j).Area props(j).Centroid]; 46 % compute/add some blob-properties: 47 thisx(j,:) = [props(j).Area, props(j).Centroid, props(j).BoundingBox]; 45 48 % don't forget: 46 49 bagid(end+1) = i;
Note: See TracChangeset
for help on using the changeset viewer.