C# 클래스 OpenCvSharp.Extensions.BitmapSourceConverter

Static class which provides conversion between System.Windows.Media.Imaging.BitmapSource and IplImage
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
CopyFrom ( this mat, System.Windows.Media.Imaging.BitmapSource wb ) : void

Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance

ToBitmapSource ( this src ) : System.Windows.Media.Imaging.BitmapSource

Converts Mat to BitmapSource.

ToBitmapSource ( this src, int horizontalResolution, int verticalResolution, System.Windows.Media.PixelFormat pixelFormat, System.Windows.Media.Imaging.BitmapPalette palette ) : System.Windows.Media.Imaging.BitmapSource

Converts Mat to BitmapSource.

ToMat ( this src ) : Mat

Converts BitmapSource to Mat

ToMat ( this src, Mat dst ) : void

Converts BitmapSource to Mat

비공개 메소드들

메소드 설명
CreateBitmapSourceFromBitmap ( Stream stream ) : System.Windows.Media.Imaging.BitmapSource
IsInvokeRequired ( ) : bool

메소드 상세

CopyFrom() 공개 정적인 메소드

Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance
public static CopyFrom ( this mat, System.Windows.Media.Imaging.BitmapSource wb ) : void
mat this
wb System.Windows.Media.Imaging.BitmapSource
리턴 void

ToBitmapSource() 공개 정적인 메소드

Converts Mat to BitmapSource.
public static ToBitmapSource ( this src ) : System.Windows.Media.Imaging.BitmapSource
src this Input IplImage
리턴 System.Windows.Media.Imaging.BitmapSource

ToBitmapSource() 공개 정적인 메소드

Converts Mat to BitmapSource.
public static ToBitmapSource ( this src, int horizontalResolution, int verticalResolution, System.Windows.Media.PixelFormat pixelFormat, System.Windows.Media.Imaging.BitmapPalette palette ) : System.Windows.Media.Imaging.BitmapSource
src this Input IplImage
horizontalResolution int
verticalResolution int
pixelFormat System.Windows.Media.PixelFormat
palette System.Windows.Media.Imaging.BitmapPalette
리턴 System.Windows.Media.Imaging.BitmapSource

ToMat() 공개 정적인 메소드

Converts BitmapSource to Mat
public static ToMat ( this src ) : Mat
src this Input BitmapSource
리턴 Mat

ToMat() 공개 정적인 메소드

Converts BitmapSource to Mat
public static ToMat ( this src, Mat dst ) : void
src this Input BitmapSource
dst Mat Output Mat
리턴 void