![]() |
| jit.convolve | Convolve two matrices |
| Matrix Operator: in[2] out[1] |
| Name | IOProc | Planelink | Typelink | Dimlink | Plane | Dim | Type |
| in | n/a | n/a | n/a | n/a | n/a | n/a | n/a |
| in2 | adapt | no | no | no | all | all | float32 |
| out | n/a | yes | yes | yes | all | all | char long float32 float64 |
| Attributes: |
| Name | Type | Description |
| boundmode | int |
Boundary case handling mode (default = 0 (clip)) 0 = clip: cells which lie outside the domain of the input data will clip to the nearest cell within the domain of the input data (e.g. a convolution which would need to use cell (0,-1) would instead use cell (0,0)). 1 = wrap: cells which lie outside the domain of the input data will wrap via modulus arithmetic within the domain of the input data (e.g. a convolution on a 320 by 240 matrix which would need to use cell (0,-1) would instead use cell (0,239)). 2 = ignore: cells which lie outside the domain of the input data will not be used in calculating the convolution. |
| origin | int list[2] | The origin of the convolution kernel (default = 1 1) |
| Example: |

| See Also: |
| jit.fastblur, jit.op |