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); }
public MotionTemp(MainForm form) { this.form = form; }
public SkinDetect(MainForm form) { this.form = form; }
public HaarClassifier(MainForm form) { this.form = form; skinDet = new SkinDetect(this.form); }
public AbsDiff(MainForm form) { this.form = form; }
public preprocessing(MainForm form) { this.form = form; }