PANDORE Version 6 | GREYC-IMAGE |
pfftconvolution performs a convolution the input image im_in1 with the kernel given in the input image im_in2. The size of the kernel image im_in2 must be lower or equal than the input image im_in1.
The convolution uses the frequency domain. (It differs from the pconvolution operator that uses the spatial domain.) It consists in a complex multiplication of the Fourier transform of the two input images:
where * is the complex multiplication.
Returns SUCCESS or FAILURE.
Adds a motion blur on the tangram.pan The motion blur is generated by the way of an oblique line:
pshapedesign 10 10 0 3 10 1 line.pan protation 0 45 line.pan line1.pan pfftconvolution tangram.pan line1.pan out.pan
Author: Régis Clouard