source: hep2cells/sumgabororientations.m @ 101

Last change on this file since 101 was 45, checked in by dtax, 12 years ago

All useful files for processing of cells.

File size: 307 bytes
RevLine 
[45]1function b = sumgabororientations(a)
2% sum the gabor outputs for the different orientations...
3% (because the features should be rotationally invariant)
4
5n = size(a,2)-1;
6n = n/4;
7
8b = a(:,1); % keep the first feature (original image)
9for i=0:(n-1)
10   I = 2+((i*4):(i*4+3));
11   b = [b mean(a(:,I),2)];
12end
13
Note: See TracBrowser for help on using the repository browser.