Click or drag to resize
SbKernel2i32SetSize Method (UInt64, UInt64)

Set the size of the kernel.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void SetSize(
	ulong numRows,
	ulong numCols
)

Parameters

numRows
Type: SystemUInt64
numCols
Type: SystemUInt64
Remarks

Size is the number of rows and number of columns.

If numCols (or numRows) is smaller than the current number of columns (or rows), the kernel is reduced to the first numCols columns (or numRows rows). If numCols (or numRows) is greater than the current number of columns (or rows), values inside the old bounds are preserved and values outside the old bounds are filled to 0.

See Also