8.4 Border Areas
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.4 Border Areas]


8.4   Cut Off the Border Areas

Let us assume we want to cut off 10 % of the border; click the “Parameter” button; and then click the parameter button again. You will see Figure 8.2. Enter 10 to the first textbox in Figure 8.2. Click the “Key” button and select an image from “c:\transapplet70\ex_wheel\”. Click the “Preprocessing Image” button and you will have Figure 8.3. You will see that the second image is the first image with 10% of the border cut off.

Figure 8.3 Five Percent Border Cut.

The implementation of the “Preprocessing Image” button is:

      private void button11_Click(object sender, System.EventArgs e)


                  if (b1 == null)


                      richTextBox1.AppendText ("Please select an image");




                  b2 = ipre70.getPreProcessingImageColor  (b1);

                  pictureBox2.Image = b2;

                  richTextBox1.AppendText  (" (W, H) = " + b2.Width + " " + b2.Height + "\n");



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