C# Class OpenCvSharp.UserInterface.CvWindowEx

Original CvWindow implementation without highgui
Inheritance: System.Windows.Forms.Form, IDisposable
Afficher le fichier Open project: shimat/opencvsharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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);
Résultat TrackbarWithLabel

CvWindowEx() public méthode

Constructor
public CvWindowEx ( Mat image ) : System
image Mat
Résultat System

CvWindowEx() public méthode

Constructor
public CvWindowEx ( Mat image, PictureBoxSizeMode sizeMode ) : System
image Mat
sizeMode PictureBoxSizeMode
Résultat System

CvWindowEx() public méthode

Constructor
public CvWindowEx ( PictureBoxSizeMode sizeMode ) : System
sizeMode PictureBoxSizeMode
Résultat System

Dispose() public méthode

Finalizer
public Dispose ( ) : void
Résultat void

ShowImage() public méthode

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

ShowImages() static public méthode

static public ShowImages ( ) : void
Résultat void

WaitKey() public static méthode

Waits for a pressed key
public static WaitKey ( ) : Keys
Résultat Keys

WaitKey() public static méthode

Waits for a pressed key
public static WaitKey ( int delay ) : Keys
delay int
Résultat Keys