Show / Hide Table of Contents

Class BitmapConverter

static class which provides conversion between System.Drawing.Bitmap and Mat

Inheritance
System.Object
BitmapConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp.Extensions
Assembly: OpenCvSharp.Extensions.dll
Syntax
public static class BitmapConverter

Methods

| Improve this Doc View Source

ToMat(Bitmap)

Converts System.Drawing.Bitmap to Mat

Declaration
public static Mat ToMat(this Bitmap src)
Parameters
Type Name Description
Bitmap src

System.Drawing.Bitmap object to be converted

Returns
Type Description
Mat

A Mat object which is converted from System.Drawing.Bitmap

| Improve this Doc View Source

ToMat(Bitmap, Mat)

Converts System.Drawing.Bitmap to Mat

Declaration
public static void ToMat(this Bitmap src, Mat dst)
Parameters
Type Name Description
Bitmap src

System.Drawing.Bitmap object to be converted

Mat dst

A Mat object which is converted from System.Drawing.Bitmap

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