Changes between Version 5 and Version 6 of barSoftwareGapFillDetails
- Timestamp:
- 07/25/11 12:37:25 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
barSoftwareGapFillDetails
v5 v6 15 15 [[Image(debug_460_461_VO_step_0-anim.gif)]] 16 16 17 Sizes of consecutive flood-filled areas are compared. If the number of flooded pixels lowers proportionally to boundary length across different levels of gap filling it means that most probably the boundaries of the structure in question do not have any gaps .17 Sizes of consecutive flood-filled areas are compared. If the number of flooded pixels lowers proportionally to boundary length across different levels of gap filling it means that most probably the boundaries of the structure in question do not have any gaps: 18 18 19 19 [[Image(debug_460_461_VO_step_0-anim-AOP.gif)]] 20 20 21 Structure without gaps has no significant changes of its area. 22 23 ||= growlevel =||= area of the structure in pixels =|| 24 || 0 || 51124 || 25 || 1 || 51124 || 26 || 2 || 51124 || 27 || 3 || 51124 || 28 || 4 || 51124 || 29 || 5 || 51112 || 30 21 31 [[Image(debug_460_461_VO_step_0-anim-VO.gif)]] 32 33 Structure with gaps in its contours has significant changes of its area. 34 35 ||= growlevel =||= area of the structure in pixels =|| 36 || 0 || 196243 || 37 || 1 || '''196232''' || 38 || 2 || '''84384''' || 39 || 3 || 84331 || 40 || 4 || 84331 || 41 || 5 || 84309 || 42 22 43 23 44 If the reduction of flooded area is grated then expected at certain stage of filter application, it means that boundary gap must have been closed. After finding the optimal number of border expansions (denoted by `GrowLevel`), the resulting region is dilated the same number of times as the boundaries were grown to make the area of the resulting path unbiased and the resulting corrected bitmap is passed to [http://potrace.sourceforge.net/ PoTrace].