Click or drag to resize
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.Algorithms
Assembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public int DoSeparateConvolutionRow(
	SoBufferObject sourceBufferObject,
	SoBufferObject targetBufferObject,
	float[] kernelData,
	int width,
	int height
)

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: Int32

Returns 0 if there is no error, 1 if one of the buffers is two small.

Remarks

  • The data in the input buffer must contain floats.

  • The function puts float values in the output buffer.

See Also