SoConvolutionDoSeparateConvolution1D Method (SoBufferObject, SoBufferObject, Single, Int32, Int32) |
This function performs a 1D convolution on a two dimensional buffer using a 1D kernel.
Namespace: OIV.Inventor.Algorithms
public int DoSeparateConvolution1D( SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, float[] kernelData, int width, int height )
The input float buffer.
The output float buffer.
The kernel values.
The width of the two dimensional buffer.
The height of the two dimensional buffer.
Returns 0 if there is no error, 1 if one of the buffers is too small.
The data in the input buffer must contain floats.
The function puts float values in the output buffer.
This convolution is equivalent to a row convolution.