Return parameters based on ROI

C# | Visual Basic | Visual C++ |
protected static void RoiParam( IntPtr ptr, out long start, out int rows, out int elementCount, out int byteWidth, out int widthStep )
Protected Shared Sub RoiParam ( _ ptr As IntPtr, _ <OutAttribute> ByRef start As Long, _ <OutAttribute> ByRef rows As Integer, _ <OutAttribute> ByRef elementCount As Integer, _ <OutAttribute> ByRef byteWidth As Integer, _ <OutAttribute> ByRef widthStep As Integer _ )
protected: static void RoiParam( IntPtr ptr, [OutAttribute] long long% start, [OutAttribute] int% rows, [OutAttribute] int% elementCount, [OutAttribute] int% byteWidth, [OutAttribute] int% widthStep )

- ptr (IntPtr)
- The Pointer to the IplImage
- start ( Int64 %)
- The address of the pointer that point to the start of the Bytes taken into consideration ROI
- rows ( Int32 %)
- The number of rows taken into consideration ROI
- elementCount ( Int32 %)
- ROI.Width * ColorType.Dimension
- byteWidth ( Int32 %)
- The number of bytes in a row taken into consideration ROI
- widthStep ( Int32 %)
- The width step required to jump to the next row