8.7 Skip Empty Border
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.7 Skip Empty Border]

 

8.7   Skip the Empty Border by Content Percent

The last function for the Preprocessing filter is to skip border by content percent, not pixel percent.

The �Skip Empty Border� field in Figure 8.2 specifies the type:

          0   No skip;

          1   Skip the white empty border space;

          2   Skip the black empty border space;

          3   Skip x percent of the contents on the white background space;

          4   Skip x percent of the contents on the black background space;

          5   Skip empty border space on the user defined Threshold Filter;

          6   Skip x percent of the contents on the user defined Threshold/Edge Filters.

We will discuss Threshold/Edge Filters in the next chapter, Image Processing.

Example 1. Set �Skip Empty Border� = 2, means skipping the black empty space on the edge. The result is shown in Figure 8.6; you will see that the second image is the first image without a black border.

Figure 8.6  Skipping the black empty space.

Example 2. Set �Skip Empty Border� = 4, means skipping the black empty space on the edge. Set �Skip percent� = 10. The result is shown in Figure 8.7; you will see that the second image is the first image with 10% of the contents cut on each side.

Figure 8.7  Skipping 10% of the contents on the black background.

 

[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