view general/numerical/unitmax.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 4f5015db91aa
children
line wrap: on
line source
% unitmax - columnwise multiplicative normalisation maximum value
%
% unitmax :: [[N,M]] -> [[N,M]].
function B=unitmax(A), B=divnorm(@(x)max(x,[],1),A); end