8.3 Parameters
About1 Introduction2 Image Recognition3 TransApplet4 API5 Interface6 Input7 Image Display8 Preprocessing9 Processing10 Normalization11 Parameter Class12 Image Signatures13 Unsupervised Filters14 BioFilters15 NeuralFilters16 Dynamic Library17 NeuralNet Filter18 Parameters19 Input Options20 Database Input21 Video Input22  Live Video Input23  Counting & Tracking24  Counting 25  Batch Job26 ImageFinder for DOS27 ImageHunt 28 Support Packages

8.1 Filter 
8.2 API 
8.3 Parameters 
8.4 Border Areas 
8.5 Mask 
8.6 Speed Up 
8.7 Skip Empty Border 

 

 

[Home][8 Preprocessing][8.3 Parameters]

 

8.3   Enter Parameters

Clicking 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.

gina@attrasoft.com