Changeset 65


Ignore:
Timestamp:
06/25/13 11:38:15 (11 years ago)
Author:
dtax
Message:

Rearrange stuff.

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 the
     1% Create a MIL dataset from the original WAV-files, segmentation of the
    22% spectrograms, and computation of features on the segmented regions
     3%
     4% This data was the original Briggs data with 13 species.
    35
    46% some settings:
     
    3941        % run over blobs:
    4042        im = abs(S);
    41         thisx = zeros(Nseg,3);
     43        thisx = zeros(Nseg,7);
    4244        for j=1:Nseg
    4345                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];
    4548                % don't forget:
    4649                bagid(end+1) = i;
Note: See TracChangeset for help on using the changeset viewer.