Some questions

Leonardo Giordani leonardo.giordani at
Thu Mar 16 14:45:11 CET 2006

> factor is a value that each summed color component is divided by while
> convolving; offset is added. So, we add all values for red, green and blue
> in a set of pixels, then divice them by factor and add offset. Factor
> should be near the sum of the kernel values in the convolution kernel
> otherwise the result will be much darker or lighter.

Ah ok, they are normalization values; why aren't they computed by the function 
instead of given by the caller of the function?

Leonardo Giordani

Tele-Rilevamento Europa - T.R.E. s.r.l.
a POLIMI spin-off company
Via Vittoria Colonna, 7
20149 Milano - Italia
tel.: +39.02.4343.121
fax: +39.02.4343.1230
e-mail: leonardo.giordani (at)

More information about the kimageshop mailing list