Example #1
0
 public static extern IntPtr CvCreateFGDetectorBase(CvEnum.FORGROUND_DETECTOR_TYPE type, ref MCvFGDStatModelParams param);
Example #2
0
 public extern static IntPtr cvCreateFGDStatModel(IntPtr firstFrame, ref MCvFGDStatModelParams parameters);
 /// <summary>
 /// Create a forground statistic model using the given parameters
 /// </summary>
 /// <param name="image">The image used for initiating the statistic model</param>
 /// <param name="parameters">FGDStatModel</param>
 public BackgroundStatisticsModel(Image<Bgr, Byte> image, ref MCvFGDStatModelParams parameters)
 {
    _ptr = CvInvoke.cvCreateFGDStatModel(image, ref parameters);
 }