Watch this Author's files
can you mention the mathematical basis for kernel size and normalization steps. thx.
epsilon = 1e-2; halfsize = ceil( sigma * sqrt(-2*log(sqrt(2*pi)*sigma*epsilon)) );
hx = hx/sqrt(sum(sum( abs(hx).*abs(hx) )));
Contact us at files@mathworks.com