protected VideoProcessor()
{
m_opencv = OpenCVController.GetSingletonInstance();
viewer = new ImageViewer();
vs = VisualData.GetSingleton();
viewer.Show();
this.ColorWriteBitmap = new WriteableBitmap(FrameWidth, FrameHeight, 96.0, 96.0,
System.Windows.Media.PixelFormats.Bgr24, null);
this.DepthWriteBitmap = new WriteableBitmap(FrameWidth, FrameHeight, 96.0, 96.0,
System.Windows.Media.PixelFormats.Bgr24, null);
this.WrtBMP_RightHandFront = new WriteableBitmap(handShapeWidth, handShapeHeight, 96.0, 96.0,
System.Windows.Media.PixelFormats.Gray8, null);
this.WrtBMP_LeftHandFront = new WriteableBitmap(handShapeWidth, handShapeHeight, 96.0, 96.0,
System.Windows.Media.PixelFormats.Gray8, null);
rightHandPosition = new System.Drawing.Point();
}