Return pthe specified sparse matrix element if it exists; otherwise, default(T).
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- idx
- Type: SystemInt32
Array of Mat::dims indices. - hashVal (Optional)
- Type: SystemNullableInt64
If hashVal is not null, the element hash value is not computed but hashval is taken instead.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.CPlusPlus.SparseMat.Value``1(System.Int32[],System.Nullable{System.Int64})"]
Return Value
Type: T[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.SparseMat.Value``1(System.Int32[],System.Nullable{System.Int64})"]
See Also