OpenCvSharp.Extensions
Various binarization methods (ATTENTION : The methods of this class is not implemented in OpenCV)
Binarizes by Niblack's method
Input image
Output image
Window size
Adequate coefficient
Binarizes by Niblack's method (This is faster but memory-hogging)
Input image
Output image
Window size
Adequate coefficient
Binarizes by Sauvola's method
Input image
Output image
Window size
Adequate coefficient
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座標
周辺画素の探索サイズ。奇数でなければならない
出力される平均
出力される標準偏差
注目画素の周辺画素の最大値と最小値を求める
画像の画素データ
x座標
y座標
周辺画素の探索サイズ。奇数でなければならない
出力される最小値
出力される最大値
static class which provides conversion between System.Drawing.Bitmap and IplImage/Mat
Converts System.Drawing.Bitmap to IplImage
System.Drawing.Bitmap object to be converted
An IplImage object which is converted from System.Drawing.Bitmap
Converts System.Drawing.Bitmap to IplImage
System.Drawing.Bitmap object to be converted
An IplImage object which is converted from System.Drawing.Bitmap
Copies pixel data from System.Drawing.Bitmap to IplImage instance
Converts IplImage to System.Drawing.Bitmap
Mat
Converts IplImage to System.Drawing.Bitmap
Mat
Pixel Depth
Converts IplImage to System.Drawing.Bitmap
Mat
IplImage
Author: shimat, Gummo (ROI support)
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)
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
A static class which provides conversion between System.Windows.Media.Imaging.WriteableBitmap and IplImage
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
指定したPixelFormatに適合するIplImageのビット深度を返す
指定したPixelFormatに適合するIplImageのチャンネル数を返す
指定したPixelFormatに適合するMatTypeを返す
Converts WriteableBitmap to IplImage
Input WriteableBitmap
IplImage
Converts WriteableBitmap to IplImage
Input WriteableBitmap
Output IplImage
Copies pixel data from System.Windows.Media.Imaging.WriteableBitmap to IplImage instance
指定したIplImageのビット深度・チャンネル数に適合するPixelFormatを返す
指定したIplImageのビット深度・チャンネル数に適合するPixelFormatを返す
Converts IplImage to WriteableBitmap.
The arguments of this method corresponds the consructor of WriteableBitmap.
Input IplImage
Horizontal dots per inch
Vertical dots per inch
Pixel format of output WriteableBitmap
Bitmap pallette
WriteableBitmap
Converts IplImage to WriteableBitmap (dpi=96, BitmapPalette=null)
Input IplImage
Pixel format of output WriteableBitmap
WriteableBitmap
Converts IplImage to WriteableBitmap (dpi=96, BitmapPalette=null)
Input IplImage
WriteableBitmap
Converts IplImage to WriteableBitmap.
This method is more efficient because new instance of WriteableBitmap is not allocated.
Input IplImage
Output WriteableBitmap
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