SoConvolutionDoSeparateConvolutionRow Method (SoBufferObject, SoBufferObject, Single, Int32, Int32) |
This function performs a row convolution on a two dimensional buffer using a 1D kernel.
Namespace: OIV.Inventor.AlgorithmsAssembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public int DoSeparateConvolutionRow(
SoBufferObject sourceBufferObject,
SoBufferObject targetBufferObject,
float[] kernelData,
int width,
int height
)
Public Function DoSeparateConvolutionRow (
sourceBufferObject As SoBufferObject,
targetBufferObject As SoBufferObject,
kernelData As Single(),
width As Integer,
height As Integer
) As Integer
public:
int DoSeparateConvolutionRow(
SoBufferObject^ sourceBufferObject,
SoBufferObject^ targetBufferObject,
array<float>^ kernelData,
int width,
int height
)
member DoSeparateConvolutionRow :
sourceBufferObject : SoBufferObject *
targetBufferObject : SoBufferObject *
kernelData : float32[] *
width : int *
height : int -> int
Parameters
- sourceBufferObject
- Type: OIV.Inventor.DevicesSoBufferObject
The input float buffer.
- targetBufferObject
- Type: OIV.Inventor.DevicesSoBufferObject
The output float buffer.
- kernelData
- Type: SystemSingle
The kernel values.
- width
- Type: SystemInt32
The width of the two dimensional buffer.
- height
- Type: SystemInt32
The height of the two dimensional buffer.
Return Value
Type:
Int32Returns 0 if there is no error, 1 if one of the buffers is two small.
Remarks See Also