Click or drag to resize

SparseMatPtr Method (Int32, Boolean, NullableInt64)

Low-level element-access function.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public IntPtr Ptr(
	int[] idx,
	bool createMissing,
	Nullable<long> hashVal = null
)

Parameters

idx
Type: SystemInt32
Array of Mat::dims indices.
createMissing
Type: SystemBoolean
Create new element with 0 value if it does not exist in SparseMat.
hashVal (Optional)
Type: SystemNullableInt64
If hashVal is not null, the element hash value is not computed but hashval is taken instead.

Return Value

Type: IntPtr
See Also