Show / Hide Table of Contents

Class InputArray

Proxy data type for passing Mat's and vector<>'s as input parameters

Inheritance
System.Object
DisposableObject
DisposableCvObject
InputArray
Implements
ICvPtrHolder
Inherited Members
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class InputArray : DisposableCvObject, ICvPtrHolder

Fields

| Improve this Doc View Source

KIND_MASK

Declaration
public const int KIND_MASK = 1073676288
Field Value
Type Description
System.Int32
| Improve this Doc View Source

KIND_SHIFT

Declaration
public const int KIND_SHIFT = 16
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Create(IEnumerable<Mat>)

Creates a proxy class of the specified array of Mat

Declaration
public static InputArray Create(IEnumerable<Mat> matVector)
Parameters
Type Name Description
IEnumerable<Mat> matVector
Returns
Type Description
InputArray
| Improve this Doc View Source

Create(IVec)

Creates a proxy class of the specified Vec*b

Declaration
public static InputArray Create(IVec vec)
Parameters
Type Name Description
IVec vec
Returns
Type Description
InputArray
| Improve this Doc View Source

Create(Mat)

Creates a proxy class of the specified Mat

Declaration
public static InputArray Create(Mat mat)
Parameters
Type Name Description
Mat mat
Returns
Type Description
InputArray
| Improve this Doc View Source

Create(MatExpr)

Creates a proxy class of the specified MatExpr

Declaration
public static InputArray Create(MatExpr expr)
Parameters
Type Name Description
MatExpr expr
Returns
Type Description
InputArray
| Improve this Doc View Source

Create(Scalar)

Creates a proxy class of the specified Scalar

Declaration
public static InputArray Create(Scalar val)
Parameters
Type Name Description
OpenCvSharp.Scalar val
Returns
Type Description
InputArray
| Improve this Doc View Source

Create(UMat)

Creates a proxy class of the specified Mat

Declaration
public static InputArray Create(UMat mat)
Parameters
Type Name Description
UMat mat
Returns
Type Description
InputArray
| Improve this Doc View Source

Create(Double)

Creates a proxy class of the specified double

Declaration
public static InputArray Create(double val)
Parameters
Type Name Description
System.Double val
Returns
Type Description
InputArray
| Improve this Doc View Source

Create<T>(T[])

Creates a proxy class of the specified list

Declaration
public static InputArray Create<T>(T[] array)
    where T : struct
Parameters
Type Name Description
T[] array

Array object

Returns
Type Description
InputArray
Type Parameters
Name Description
T
| Improve this Doc View Source

Create<T>(T[], MatType)

Creates a proxy class of the specified list

Declaration
public static InputArray Create<T>(T[] array, MatType type)
    where T : struct
Parameters
Type Name Description
T[] array

Array object

OpenCvSharp.MatType type

Matrix depth and channels for converting array to cv::Mat

Returns
Type Description
InputArray
Type Parameters
Name Description
T
| Improve this Doc View Source

Create<T>(T[,])

Creates a proxy class of the specified list

Declaration
public static InputArray Create<T>(T[, ] array)
    where T : struct
Parameters
Type Name Description
T[,] array

Array object

Returns
Type Description
InputArray
Type Parameters
Name Description
T
| Improve this Doc View Source

Create<T>(T[,], MatType)

Creates a proxy class of the specified list

Declaration
public static InputArray Create<T>(T[, ] array, MatType type)
    where T : struct
Parameters
Type Name Description
T[,] array

Array object

OpenCvSharp.MatType type

Matrix depth and channels for converting array to cv::Mat

Returns
Type Description
InputArray
Type Parameters
Name Description
T
| Improve this Doc View Source

Create<T>(IEnumerable<T>)

Creates a proxy class of the specified list

Declaration
public static InputArray Create<T>(IEnumerable<T> enumerable)
    where T : struct
Parameters
Type Name Description
IEnumerable<T> enumerable

Array object

Returns
Type Description
InputArray
Type Parameters
Name Description
T
| Improve this Doc View Source

Create<T>(IEnumerable<T>, MatType)

Creates a proxy class of the specified list

Declaration
public static InputArray Create<T>(IEnumerable<T> enumerable, MatType type)
    where T : struct
Parameters
Type Name Description
IEnumerable<T> enumerable

Array object

OpenCvSharp.MatType type

Matrix depth and channels for converting array to cv::Mat

Returns
Type Description
InputArray
Type Parameters
Name Description
T
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Releases unmanaged resources

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX