OpenCvSharp.Extensions
Various binarization methods (ATTENTION : The methods of this class is not implemented in OpenCV)
Binarizes by Niblack's method (This is faster but memory-hogging)
Input image
Output image
Window size
Adequate coefficient
Binarizes by Sauvola's method (This is faster but memory-hogging)
Input image
Output image
Window size
Adequate coefficient
Adequate coefficient
Binarizes by Bernsen's method
Input image
Output image
Window size
Adequate coefficient
Adequate coefficient
Binarizes by Nick's method
Input image
Output image
Window size
Adequate coefficient
注目画素の周辺画素の最大値と最小値を求める
画像の画素データ
x座標
y座標
周辺画素の探索サイズ。奇数でなければならない
出力される最小値
出力される最大値
static class which provides conversion between System.Drawing.Bitmap and Mat
Converts System.Drawing.Bitmap to Mat
System.Drawing.Bitmap object to be converted
A Mat object which is converted from System.Drawing.Bitmap
Converts System.Drawing.Bitmap to Mat
System.Drawing.Bitmap object to be converted
A Mat object which is converted from System.Drawing.Bitmap
Converts Mat to System.Drawing.Bitmap
Mat
Converts Mat to System.Drawing.Bitmap
Mat
Pixel Depth
Converts Mat to System.Drawing.Bitmap
Mat
Mat
Author: shimat, Gummo (ROI support)
Static class which provides conversion between System.Windows.Media.Imaging.BitmapSource and IplImage
Converts Mat to BitmapSource.
Input IplImage
BitmapSource
Converts Mat to BitmapSource.
Input IplImage
BitmapSource
Converts System.Drawing.Bitmap to BitmapSource.
Input System.Drawing.Bitmap
http://www.codeproject.com/Articles/104929/Bitmap-to-BitmapSource
BitmapSource
Converts BitmapSource to Mat
Input BitmapSource
IplImage
Converts BitmapSource to Mat
Input BitmapSource
Output Mat
Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance
Task Parallel Library for .NET 2.0
Number of Threads
Executes a for loop in which iterations may run in parallel.
The start index, inclusive.
The end index, exclusive.
The delegate that is invoked once per iteration.
Provides information for the platform which the user is using
OS type
Runtime type
Static class which provides conversion between System.Windows.Media.Imaging.WriteableBitmap and Mat
指定したPixelFormatに適合するMatのチャンネル数を返す
指定したPixelFormatに適合するMatTypeを返す
指定したMatのビット深度・チャンネル数に適合するPixelFormatを返す
BGR -> RGB
Converts Mat to WriteableBitmap.
The arguments of this method corresponds the consructor of WriteableBitmap.
Input Mat
Horizontal dots per inch
Vertical dots per inch
Pixel format of output WriteableBitmap
Bitmap pallette
WriteableBitmap
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
Input Mat
Pixel format of output WriteableBitmap
WriteableBitmap
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
Input Mat
WriteableBitmap
Converts Mat to WriteableBitmap.
This method is more efficient because new instance of WriteableBitmap is not allocated.
Input Mat
Output WriteableBitmap