예제 #1
0
        public KNearest(MainForm form)
        {
            this.form = form;

            trainData = cvlib.cvCreateMat(train_samples * classes, size * size, cvlib.CV_32FC1);
            trainClasses = cvlib.cvCreateMat(train_samples * classes, 1, cvlib.CV_32FC1);

            K = int.Parse(form.txtK.Text);

            p = new preprocessing(form);
        }
예제 #2
0
 public MotionTemp(MainForm form)
 {
     this.form = form;
 }
예제 #3
0
 public SkinDetect(MainForm form)
 {
     this.form = form;
 }
예제 #4
0
 public HaarClassifier(MainForm form)
 {
     this.form = form;
     skinDet = new SkinDetect(this.form);
 }
예제 #5
0
 public AbsDiff(MainForm form)
 {
     this.form = form;
 }
예제 #6
0
 public preprocessing(MainForm form)
 {
     this.form = form;
 }