private void skin_dlg() { if (skinDet == null) { skinDet = new SkinDetect(this); } if (dlgParam == null) { dlgParam = new DlgParams(); dlgParam.BackColor = Color.FromArgb(244, 239, 240); dlgParam.Icon = this.Icon; dlgParam.Text = "Noise Removal"; dlgParam.AddTrackbar("Dilate", 0, 0, 10, 1, 1); dlgParam.AddTrackbar("Erode", 1, 0, 10, 1, 1); dlgParam.AddTrackbar("Smooth", 2, 0, 10, 1, 1); } }
public HaarClassifier(MainForm form) { this.form = form; skinDet = new SkinDetect(this.form); }
private void skin_dlg() { if (skinDet == null) skinDet = new SkinDetect(this); if (dlgParam == null) { dlgParam = new DlgParams(); dlgParam.BackColor = Color.FromArgb(244, 239, 240); dlgParam.Icon = this.Icon; dlgParam.Text = "Noise Removal"; dlgParam.AddTrackbar("Dilate", 0, 0, 10, 1, 1); dlgParam.AddTrackbar("Erode", 1, 0, 10, 1, 1); dlgParam.AddTrackbar("Smooth", 2, 0, 10, 1, 1); } }