C# Class CURELab.SignLanguage.HandDetector.ImageConverter

add summary here
Datei anzeigen Open project: huangfuyang/Sign-Language-with-Kinect Class Usage Examples

Public Methods

Method Description
Array2Image ( byte data, int width, int height, int stride ) : byte>.Image
ToBitmap ( this bitmapsource ) : Bitmap
ToBitmapSource ( this bmp ) : System.Windows.Media.Imaging.BitmapSource
ToByteArray ( this array ) : byte[]
UpdateWriteBMP ( System.Windows.Media.Imaging.WriteableBitmap wbmp, Bitmap bmp ) : void
WriteBMPtoBMP ( System.Windows.Media.Imaging.WriteableBitmap writeBmp ) : Bitmap

Method Details

Array2Image() public static method

public static Array2Image ( byte data, int width, int height, int stride ) : byte>.Image
data byte
width int
height int
stride int
return byte>.Image

ToBitmap() public static method

public static ToBitmap ( this bitmapsource ) : Bitmap
bitmapsource this
return System.Drawing.Bitmap

ToBitmapSource() public static method

public static ToBitmapSource ( this bmp ) : System.Windows.Media.Imaging.BitmapSource
bmp this
return System.Windows.Media.Imaging.BitmapSource

ToByteArray() public static method

public static ToByteArray ( this array ) : byte[]
array this
return byte[]

UpdateWriteBMP() public static method

public static UpdateWriteBMP ( System.Windows.Media.Imaging.WriteableBitmap wbmp, Bitmap bmp ) : void
wbmp System.Windows.Media.Imaging.WriteableBitmap
bmp System.Drawing.Bitmap
return void

WriteBMPtoBMP() public static method

public static WriteBMPtoBMP ( System.Windows.Media.Imaging.WriteableBitmap writeBmp ) : Bitmap
writeBmp System.Windows.Media.Imaging.WriteableBitmap
return System.Drawing.Bitmap