Mercurial > hg > ishara
view general/numerical/zeromean.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 8476b3d9d295 |
children |
line wrap: on
line source
% zeromean - additive normalisation to zero mean % % zeromean :: % [D:[[E]]] ~'E dimensional array of size D', % 1..D ~'dimension to normalise along' % -> [D] ~'shifted data'. function x=zeromean(x,dim), x=addnorm(@(y)mean(y,dim),x); end