It is currently Fri Apr 19, 2024 12:35 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Need Help with 9x9 convolution
PostPosted: Tue Apr 15, 2014 6:28 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 11, 2014
Posts: 16
Okay not really a convolution. Just uses the corner pixels under the mask. I have a working version using gimp_pixel_fetcher_get_pixel :( . I want to use gimp_pixel_rgn_get_row using the prepare row method, but all the plugins I've seen uses 3x3 matrices. Can anyone help me figure out how to use this method? Oh when its finished I'll be sharing it. Nothing fancy, just a fragment pixelate filter. Also working on a Kuwahara (facet) filter.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Need Help with 9x9 convolution
PostPosted: Tue Apr 15, 2014 8:19 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Gimps Convolution Matrix is 5x5 and I've never tried anything larger, not to mean it wont work

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Need Help with 9x9 convolution
PostPosted: Tue Apr 15, 2014 9:32 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
GIMP's Convolution Matrix plug-in provides an excellent coding example -- in fact, if you #define BIG_MATRIX in that plug-in, it will work with 11x11 kernels.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group