Struct InputArray
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Stack-only input proxy (see file header). Carries a native handle or an inline value; building one allocates nothing on the managed heap.
public readonly ref struct InputArray
- Inherited Members
Methods
- Create(Mat?)
Wraps a Mat (no allocation).
- Create(MatExpr)
Wraps a MatExpr (materializes it to a native cv::MatExpr).
- Create(Scalar)
Wraps a Scalar value (no allocation; travels inline).
- Create(UMat)
Wraps a UMat (no allocation).
- Create(Vec2b)
Wraps a Vec2b value (no allocation; travels inline).
- Create(Vec2d)
Wraps a Vec2d value (no allocation; travels inline).
- Create(Vec2f)
Wraps a Vec2f value (no allocation; travels inline).
- Create(Vec2i)
Wraps a Vec2i value (no allocation; travels inline).
- Create(Vec2s)
Wraps a Vec2s value (no allocation; travels inline).
- Create(Vec2w)
Wraps a Vec2w value (no allocation; travels inline).
- Create(Vec3b)
Wraps a Vec3b value (no allocation; travels inline).
- Create(Vec3d)
Wraps a Vec3d value (no allocation; travels inline).
- Create(Vec3f)
Wraps a Vec3f value (no allocation; travels inline).
- Create(Vec3i)
Wraps a Vec3i value (no allocation; travels inline).
- Create(Vec3s)
Wraps a Vec3s value (no allocation; travels inline).
- Create(Vec3w)
Wraps a Vec3w value (no allocation; travels inline).
- Create(Vec4b)
Wraps a Vec4b value (no allocation; travels inline).
- Create(Vec4d)
Wraps a Vec4d value (no allocation; travels inline).
- Create(Vec4f)
Wraps a Vec4f value (no allocation; travels inline).
- Create(Vec4i)
Wraps a Vec4i value (no allocation; travels inline).
- Create(Vec4s)
Wraps a Vec4s value (no allocation; travels inline).
- Create(Vec4w)
Wraps a Vec4w value (no allocation; travels inline).
- Create(Vec6b)
Wraps a Vec6b value (no allocation; travels inline).
- Create(Vec6d)
Wraps a Vec6d value (no allocation; travels inline).
- Create(Vec6f)
Wraps a Vec6f value (no allocation; travels inline).
- Create(Vec6i)
Wraps a Vec6i value (no allocation; travels inline).
- Create(Vec6s)
Wraps a Vec6s value (no allocation; travels inline).
- Create(Vec6w)
Wraps a Vec6w value (no allocation; travels inline).
- Create(double)
Wraps a double value (no allocation; travels inline).
- Create<T>(IEnumerable<T>)
Wraps a sequence, inferring the MatType from
T.
- Create<T>(IEnumerable<T>, MatType)
Wraps a sequence by copying it into a freshly-created Mat of the given
type.
- Create<T>(T[,])
Wraps a 2-D array, inferring the MatType from
T.
- Create<T>(T[,], MatType)
Wraps a 2-D array by copying it into a freshly-created Mat of the given
type.
- Create<T>(T[])
Wraps a 1-D array, inferring the MatType from
T.
- Create<T>(T[], MatType)
Wraps a 1-D array by copying it into a freshly-created Mat of the given
type(not allocation-free: this materializes a real Mat, same as the class-basedInputArray.Create<T>it replaces).
Operators
- implicit operator InputArray(Mat)
Wraps a Mat (no allocation).
- implicit operator InputArray(MatExpr)
Wraps a MatExpr. The expression is materialized into a native cv::MatExpr (kept alive via OpenCvSharp.InputArray.Source), so this path is not allocation-free — matching the inherent cost of feeding a lazy expression into an OpenCV call.
- implicit operator InputArray(Scalar)
Wraps a Scalar value (no allocation; travels inline).
- implicit operator InputArray(UMat)
Wraps a UMat (no allocation).
- implicit operator InputArray(Vec2b)
Wraps a Vec2b value (no allocation; travels inline).
- implicit operator InputArray(Vec2d)
Wraps a Vec2d value (no allocation; travels inline).
- implicit operator InputArray(Vec2f)
Wraps a Vec2f value (no allocation; travels inline).
- implicit operator InputArray(Vec2i)
Wraps a Vec2i value (no allocation; travels inline).
- implicit operator InputArray(Vec2s)
Wraps a Vec2s value (no allocation; travels inline).
- implicit operator InputArray(Vec2w)
Wraps a Vec2w value (no allocation; travels inline).
- implicit operator InputArray(Vec3b)
Wraps a Vec3b value (no allocation; travels inline).
- implicit operator InputArray(Vec3d)
Wraps a Vec3d value (no allocation; travels inline).
- implicit operator InputArray(Vec3f)
Wraps a Vec3f value (no allocation; travels inline).
- implicit operator InputArray(Vec3i)
Wraps a Vec3i value (no allocation; travels inline).
- implicit operator InputArray(Vec3s)
Wraps a Vec3s value (no allocation; travels inline).
- implicit operator InputArray(Vec3w)
Wraps a Vec3w value (no allocation; travels inline).
- implicit operator InputArray(Vec4b)
Wraps a Vec4b value (no allocation; travels inline).
- implicit operator InputArray(Vec4d)
Wraps a Vec4d value (no allocation; travels inline).
- implicit operator InputArray(Vec4f)
Wraps a Vec4f value (no allocation; travels inline).
- implicit operator InputArray(Vec4i)
Wraps a Vec4i value (no allocation; travels inline).
- implicit operator InputArray(Vec4s)
Wraps a Vec4s value (no allocation; travels inline).
- implicit operator InputArray(Vec4w)
Wraps a Vec4w value (no allocation; travels inline).
- implicit operator InputArray(Vec6b)
Wraps a Vec6b value (no allocation; travels inline).
- implicit operator InputArray(Vec6d)
Wraps a Vec6d value (no allocation; travels inline).
- implicit operator InputArray(Vec6f)
Wraps a Vec6f value (no allocation; travels inline).
- implicit operator InputArray(Vec6i)
Wraps a Vec6i value (no allocation; travels inline).
- implicit operator InputArray(Vec6s)
Wraps a Vec6s value (no allocation; travels inline).
- implicit operator InputArray(Vec6w)
Wraps a Vec6w value (no allocation; travels inline).
- implicit operator InputArray(double)
Wraps a double value (no allocation; travels inline as Scalar(d,0,0,0)).