It is currently Mon Oct 01, 2018 11:22 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Full image convolution
PostPosted: Thu Mar 27, 2014 9:56 pm  (#1) 
Offline
GimpChat Member

Joined: Mar 27, 2014
Posts: 9
Sup every1, i'm wondering if there is a plugin, or perhaps some free standing application, that lets you use an entire image as convolution matrix? Or at least some images to demonstrate what the result of this might look like? I'm especially interested in using an image to convolute itself, but combining different images may give good results too. If there isn't one already, this would be a really good thing for someone here with plugin programming skills to try.....


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: Full image convolution
PostPosted: Thu Mar 27, 2014 10:18 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5130
Location: Metro Vancouver, BC
Do you mean using a kernel like this filter?
Filters → Generic → Convolution Matrix.
8.2. Convolution Matrix

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Full image convolution
PostPosted: Thu Mar 27, 2014 10:26 pm  (#3) 
Offline
GimpChat Member

Joined: Mar 27, 2014
Posts: 9
Yeah, but with an entire image as the matrix, instead of a 5x5 set of pixels...


Top
 Post subject: Re: Full image convolution
PostPosted: Thu Mar 27, 2014 10:46 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5130
Location: Metro Vancouver, BC
G'MIC has more options, Contours / Convolve.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Full image convolution
PostPosted: Thu Mar 27, 2014 10:51 pm  (#5) 
Offline
GimpChat Member

Joined: Mar 27, 2014
Posts: 9
No idea what you're talking about at all, don't think that has anything to do with it.


Top
 Post subject: Re: Full image convolution
PostPosted: Thu Mar 27, 2014 11:12 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5130
Location: Metro Vancouver, BC
G'MIC is a must have plug-in for Gimp.

G'MIC convole info
Command line and GUI in Gimp.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Full image convolution
PostPosted: Thu Mar 27, 2014 11:17 pm  (#7) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4720
Location: Bendigo Vic. Australia
The convolution Matrix effects the entire Image as shown below
original image
Image
the simple edge detect matrix used !note the display!
Image
and the result
Image

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


Top
 Post subject: Re: Full image convolution
PostPosted: Fri Mar 28, 2014 4:02 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1642
The proper way to convolve an image with a big convolution kernel (here another image) is to perform a multiplication in the Fourier domain.
Implementing the direct convolution formula take ages otherwise (indeed, complexity of the explicit convolution is O(w*h*wk*hk)), where w,h is the size of your image and wk,hk the size of the convolution kernel.
There is one command in G'MIC that computes the convolution between two images, through the Fourier transform, but no filters for the plug-in for GIMP that uses this command actually.
It usually doesn't give very interesting results (from an artistic point of view). Below are some examples of convolutions of an image with another images.
The results have been normalized in [0-255] to make them visible.

Attachment:
autoconvolution1.jpg
autoconvolution1.jpg [ 2.5 MiB | Viewed 2811 times ]


Top
 Post subject: Re: Full image convolution
PostPosted: Fri Mar 28, 2014 1:42 pm  (#9) 
Offline
GimpChat Member

Joined: Mar 27, 2014
Posts: 9
Okay, so what would i need to perform this myself?


Top
 Post subject: Re: Full image convolution
PostPosted: Fri Mar 28, 2014 2:29 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14183
Do you have GMIC installed?

_________________
Image


Top
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Need Help with 9x9 convolution

2

No new posts Attachment(s) any tutorial on use of gimp_paintbrush in a filter (full options)?

6

No new posts Attachment(s) Front Line Troops Are On Full Alert

0

No new posts Gimp Aqua and Fancy Full themes

6

No new posts Image in gimp vs Image printed - color mismatch? Help! [solved]

0



* Login  



Powered by phpBB3 © phpBB Group