Some questions

Boudewijn Rempt boud at valdyas.org
Thu Mar 16 14:44:58 CET 2006


On Thursday 16 March 2006 14:45, Leonardo Giordani wrote:
> > 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?

Because you can do fun things with them if you make them available from the 
user interface, I think. Take a look at the custom convolution filter where 
you can set them.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060316/f4c0898d/attachment.pgp 


More information about the kimageshop mailing list