![]() |
|
|
|
|
|
[Home][17. Image PreProcessing][17.5 Empty Border]
|
|
|
17.5 Skip the Empty Border by Content PercentThe last function for the Preprocessing filter is to skip border by content percent, not pixel percent. The “Skip Empty Border” field in Figure 17.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, meaning skipping black empty space on the edge. The result is shown in Figure 17.7; you will see that the second image is the first image without a black border. Figure 17.7 Skipping the black empty space. Example 2. Set “Skip Empty Border” = 4, meaning skipping black empty space on the edge. Set “Skip percent” = 10. The result is shown in Figure 17.8; you will see that the second image is the first image with 10% of the contents cut on each side. Figure 17.8 Skipping 10% of the contents on black background.
[Home][About][1. Introduction][2. Overview][3. GUI][4. Image Signatures][5. Unsupervised Filters][6. Results & Analysis][7. BioFilters][8. NeuralFilters][9. Duplicated Documents][10. Face Recognition][11. Auto Part Recognition][12. Dynamic Library][13. NeuralNet Filter][14. Segment Variation][15. TV Advertisements][16. Counting & Tracking][17. Image PreProcessing][18. Image Processing][19. Batch Job][20. Parameters][21. Input Option][22. Application Developers][23. Reference Manual][24. Support Services][25. Readme.txt]
Copyright (c) 1998 - 2006 Attrasoft, Inc. All rights reserved. |
|