Re: Blur tool darkens image?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> You could have a look at the matrix convolution filter code. (Be warned
> there are some minor bugs concerning edge effects IIRC) but it will serve
> as an introduction to the different ways of treating edge data.

Is that "void convolve_region(...) {...}" in
/gimp/trunk/app/paint-funcs/paint-funcs.c?

It doesn't have many comments, so I'm not sure what its doing nor what
a convolution matrix is. I thought it would be along the lines of "for
each pixel in the region make it the average of all the pixels within
a certain radius". However, that gives a box blur and it may be
Gaussian instead.

I think I will just put this in a bug report and let someone who knows
have a look. :S
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux