C# Class OpenCvSharp.UserInterface.CvWindowEx

Original CvWindow implementation without highgui
Inheritance: System.Windows.Forms.Form, IDisposable
ファイルを表示 Open project: shimat/opencvsharp Class Usage Examples

Public Methods

Method Description
CreateTrackbar ( string name, int value, int count, CvTrackbarCallback onChange ) : TrackbarWithLabel

Creates the trackbar and attaches it to this window

CvWindowEx ( Mat image ) : System

Constructor

CvWindowEx ( Mat image, PictureBoxSizeMode sizeMode ) : System

Constructor

CvWindowEx ( PictureBoxSizeMode sizeMode ) : System

Constructor

Dispose ( ) : void

Finalizer

ShowImage ( Mat image ) : void

Shows the image in this window

ShowImages ( ) : void

WaitKey ( ) : Keys

Waits for a pressed key

WaitKey ( int delay ) : Keys

Waits for a pressed key

Private Methods

Method Description
ClosedAllWindows ( ) : bool

CvWindowEx ( ) : System

static constructor

CvWindowEx_KeyDown ( object sender, KeyEventArgs e ) : void
EndKeyCheck ( ) : void

GetPressedKey ( ) : Keys

SetClientSize ( System size ) : void

ClientSizeを画面からはみ出ない大きさに調整して設定する.

StartKeyCheck ( ) : void

Method Details

CreateTrackbar() public method

Creates the trackbar and attaches it to this window
public CreateTrackbar ( string name, int value, int count, CvTrackbarCallback onChange ) : TrackbarWithLabel
name string Name of created trackbar.
value int The position of the slider
count int Maximal position of the slider. Minimal position is always 0.
onChange CvTrackbarCallback the function to be called every time the slider changes the position. This function should be prototyped as void Foo(int);
return TrackbarWithLabel

CvWindowEx() public method

Constructor
public CvWindowEx ( Mat image ) : System
image Mat
return System

CvWindowEx() public method

Constructor
public CvWindowEx ( Mat image, PictureBoxSizeMode sizeMode ) : System
image Mat
sizeMode PictureBoxSizeMode
return System

CvWindowEx() public method

Constructor
public CvWindowEx ( PictureBoxSizeMode sizeMode ) : System
sizeMode PictureBoxSizeMode
return System

Dispose() public method

Finalizer
public Dispose ( ) : void
return void

ShowImage() public method

Shows the image in this window
public ShowImage ( Mat image ) : void
image Mat Image to be shown.
return void

ShowImages() static public method

static public ShowImages ( ) : void
return void

WaitKey() public static method

Waits for a pressed key
public static WaitKey ( ) : Keys
return Keys

WaitKey() public static method

Waits for a pressed key
public static WaitKey ( int delay ) : Keys
delay int
return Keys