public extern static int cvBGCodeBookDiff( ref MCvBGCodeBookModel model, IntPtr image, IntPtr fgmask, Rectangle roi);
public extern static void cvBGCodeBookClearStale( ref MCvBGCodeBookModel model, int staleThresh, Rectangle roi, IntPtr mask);
public extern static void cvBGCodeBookUpdate( ref MCvBGCodeBookModel model, IntPtr image, Rectangle roi, IntPtr mask);