Creates an structuring element.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
[ObsoleteAttribute("This might create problem when values is not Pinned, will be removed in the next version")] public static IntPtr cvCreateStructuringElementEx( int cols, int rows, int anchorX, int anchorY, CV_ELEMENT_SHAPE shape, int[,] values ) |
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("This might create problem when values is not Pinned, will be removed in the next version")> _ Public Shared Function cvCreateStructuringElementEx ( _ cols As Integer, _ rows As Integer, _ anchorX As Integer, _ anchorY As Integer, _ shape As CV_ELEMENT_SHAPE, _ values As Integer(,) _ ) As IntPtr |
Visual C++ |
---|
[ObsoleteAttribute(L"This might create problem when values is not Pinned, will be removed in the next version")] public: static IntPtr cvCreateStructuringElementEx( int cols, int rows, int anchorX, int anchorY, CV_ELEMENT_SHAPE shape, array<int,2>^ values ) |
Parameters
- cols
- Type: System..::.Int32
Number of columns in the structuring element.
- rows
- Type: System..::.Int32
Number of rows in the structuring element.
- anchorX
- Type: System..::.Int32
Relative horizontal offset of the anchor point.
- anchorY
- Type: System..::.Int32
Relative vertical offset of the anchor point.
- shape
- Type: Emgu.CV.CvEnum..::.CV_ELEMENT_SHAPE
Shape of the structuring element.
- values
- Type: array<
System..::.Int32
,2>[,](,)[,]
Pointer to the structuring element data, representing row-by-row scanning of the element matrix. Non-zero values indicate points that belong to the element. If the pointer is IntPtr.Zero, then all values are considered non-zero, that is, the element is of a rectangular shape. This parameter is considered only if the shape is CV_SHAPE_CUSTOM.
Return Value
[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvCreateStructuringElementEx(System.Int32,System.Int32,System.Int32,System.Int32,Emgu.CV.CvEnum.CV_ELEMENT_SHAPE,System.Int32[0:,0:])"]