C# Class Kinect.Core.Camera

For getting the image from the Kinect camera
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: atosorigin/Kinect

Méthodes protégées

Méthode Description
OnCameraUpdated ( System.Windows.Media.Imaging.BitmapSource source, CameraView view ) : void

Called when the correct camera image is updated

OnPropertyChanged ( string propertyName ) : void

Called when [property changed].

Private Methods

Méthode Description
CalculateFPS ( ) : void

Calculates the FPS.

Context_DepthFrameReady ( object sender, ImageFrameReadyEventArgs e ) : void
Context_VideoFrameReady ( object sender, ImageFrameReadyEventArgs e ) : void
ConvertDepthFrame ( IList depthFrame16, bool colorUsers ) : byte[]
GetUserColor ( int id ) : Color

Gets the color of the user.

Initialize ( ) : void

Initializes the specified usergenerator.

SetUserColor ( int id, Color color ) : void

Sets the color of the user.

Method Details

OnCameraUpdated() protected méthode

Called when the correct camera image is updated
protected OnCameraUpdated ( System.Windows.Media.Imaging.BitmapSource source, CameraView view ) : void
source System.Windows.Media.Imaging.BitmapSource
view CameraView
Résultat void

OnPropertyChanged() protected méthode

Called when [property changed].
protected OnPropertyChanged ( string propertyName ) : void
propertyName string Name of the property.
Résultat void