Mercurial > hg > ishara
view arrows/@asampler/construct.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
function u=construct(s,sizes_in) u=mkunit(s); sz=s.sz; fn=s.fn; u.sizes_out = guess_sizes(fn,sz); u.process = @proc; function out=proc, out=fn(sz); end end function sz_out=guess_sizes(fn,sz) out = fn(sz); sz_out = {size(out)}; end