Last change
on this file since 73 was
45,
checked in by dtax, 12 years ago
|
All useful files for processing of cells.
|
File size:
307 bytes
|
Rev | Line | |
---|
[45] | 1 | function b = sumgabororientations(a) |
---|
| 2 | % sum the gabor outputs for the different orientations... |
---|
| 3 | % (because the features should be rotationally invariant) |
---|
| 4 | |
---|
| 5 | n = size(a,2)-1; |
---|
| 6 | n = n/4; |
---|
| 7 | |
---|
| 8 | b = a(:,1); % keep the first feature (original image) |
---|
| 9 | for i=0:(n-1) |
---|
| 10 | I = 2+((i*4):(i*4+3)); |
---|
| 11 | b = [b mean(a(:,I),2)]; |
---|
| 12 | end |
---|
| 13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.