Return pointer to the particular array element
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IntPtr PtrND( CvArr arr, int[] idx, out MatrixType type, bool createNode, Nullable<uint> precalcHashval )
Parameters
- arr
- Type: OpenCvSharpCvArr
Input array. - idx
- Type: SystemInt32
Array of the element indices - type
- Type: OpenCvSharpMatrixType
Type of matrix elements - createNode
- Type: SystemBoolean
Optional input parameter for sparse matrices. Non-zero value of the parameter means that the requested element is created if it does not exist already. - precalcHashval
- Type: SystemNullableUInt32
Optional input parameter for sparse matrices. If the pointer is not NULL, the function does not recalculate the node hash value, but takes it from the specified location. It is useful for speeding up pair-wise operations
Return Value
Type: IntPtrpointer to the particular array element
See Also