Apply a 3x3x3 convolution filter

Greetings,

I would like to test a 3D convolution filter from a neural network in Gimp. Basically its just 3 separate 3x3 convolution matrices one for each color channel RGB.
Unfortunately, Gimp only seems to have 3x3 convolution built in. Is there a plugin or some other method to perfom this in gimp?

Regards

As far as I can tell you can select on which channel the convolution is applied:

image

Also as far as I can tell, the convolution is applied in “linear light”, not on gamma-corrected values.

1 Like

Another way is to decompose an image into 3 layers R,G,B then convolve each layer, then recompose.

BTW, the GIMP can also do 5x5 convolution matrices.