source: hep2cells/normalizeperimage.m @ 45

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

All useful files for processing of cells.

File size: 190 bytes
Line 
1function b = normalizeperimage(a)
2
3imlab = getident(a,'image');
4ll = unique(imlab);
5b = a;
6for i=1:ll
7   I = find(imlab==i);
8   wsc = scalem(a(I,:),'variance');
9   b(I,:) = a(I,:)*wsc;
10end
11
Note: See TracBrowser for help on using the repository browser.