Changes between Version 5 and Version 6 of barSoftwareGapFillDetails


Ignore:
Timestamp:
07/25/11 12:37:25 (13 years ago)
Author:
pmajka
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • barSoftwareGapFillDetails

    v5 v6  
    1515[[Image(debug_460_461_VO_step_0-anim.gif)]] 
    1616 
    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. 
     17Sizes 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: 
    1818 
    1919[[Image(debug_460_461_VO_step_0-anim-AOP.gif)]] 
    2020 
     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 
    2131[[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 
    2243 
    2344If 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].  
friendster counter