|
|
|
|
|
[Home][8 Preprocessing][8.3 Parameters]
|
8.3 Enter ParametersClicking the �OK� button on Figure 8.2 will enter the parameters to the Image Pre-processing filter. The �OK� button is implemented as follows: private void button1_Click(object sender, System.EventArgs e) { try { ipre70.setMaskX (int.Parse (textBox1.Text)) ; ipre70.setMaskY (int.Parse (textBox2.Text )) ; ipre70.setMaskW (int.Parse (textBox3.Text )) ; ipre70.setMaskH (int.Parse (textBox4.Text )) ; ipre70.setMaskType (int.Parse (textBox11.Text )) ;
ipre70.setBorderCut (int.Parse (textBox5.Text )) ;
ipre70.setStickShift (int.Parse (textBox6.Text )) ;
ipre70.setSkipEmptySpaceType (int.Parse (textBox7.Text )) ;
ipre70.setSkipEmptySpacePercentage (int.Parse (textBox8.Text )) ;
ipre70.setSkipEmptySpaceThresholdFilter (int.Parse (textBox9.Text )) ; ipre70.setSkipEmptySpaceEdgeFilter (int.Parse (textBox10.Text )) ;
this.Close(); } catch { MessageBox.Show ("Please enter valid integers", "Entry Error"); } }
[Home][About][1 Introduction][2 Image Recognition][3 TransApplet][4 API][5 Interface][6 Input][7 Image Display][8 Preprocessing][9 Processing][10 Normalization][11 Parameter Class][12 Image Signatures][13 Unsupervised Filters][14 BioFilters][15 NeuralFilters][16 Dynamic Library][17 NeuralNet Filter][18 Parameters][19 Input Options][20 Database Input][21 Video Input][22 Live Video Input][23 Counting & Tracking][24 Counting ][25 Batch Job][26 ImageFinder for DOS][27 ImageHunt ][28 Support Packages]
Copyright (c) 2006 - 2007 Attrasoft. All rights reserved. |