SparseMatPtr Method (Int32, Boolean, NullableInt64)
|
Low-level element-access function.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic IntPtr Ptr(
int[] idx,
bool createMissing,
Nullable<long> hashVal = null
)
Public Function Ptr (
idx As Integer(),
createMissing As Boolean,
Optional hashVal As Nullable(Of Long) = Nothing
) As IntPtr
public:
IntPtr Ptr(
array<int>^ idx,
bool createMissing,
Nullable<long long> hashVal = nullptr
)
member Ptr :
idx : int[] *
createMissing : bool *
?hashVal : Nullable<int64>
(* Defaults:
let _hashVal = defaultArg hashVal null
*)
-> IntPtr
function Ptr(idx, createMissing, hashVal);
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