Changes between Version 15 and Version 16 of barSoftwareGapFillDetails


Ignore:
Timestamp:
07/26/11 21:09:16 (13 years ago)
Author:
pmajka
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • barSoftwareGapFillDetails

    v15 v16  
    88[[Image(debug_100_99_vBrain_step_0.gif)]] 
    99 
    10 Fragment of rasterized contour slide based on Paxinos and Franklin ''The Mouse Brain In Stereotaxic Coordinates, third edition''. 
     10Fragment of rasterized contor slide based on Paxinos and Franklin ''The Mouse Brain In Stereotaxic Coordinates, third edition''. 
    1111 
    12 Leaking structures are handled in 3dBAR by gap filling algorithm, an extension of the basic tracing procedure. The algorithm requires single input parameter – `MaxGrowLevel` describing maximal size of the gaps that will be closed during tracing of a particular area. The algorithm creates multiple (`n=MaxGrowLevel`) copies of initial input bitmap, each with the contours expanded using the [http://en.wikipedia.org/wiki/Dilation_%28morphology%29 dilation filter]  approximately by one pixel. 
     12Leaking structures are handled in 3dBAR by ''gap filling'' algorithm, an extension of the basic tracing procedure. The algorithm requires single input parameter – `MaxGrowLevel` describing maximal size of the gaps that will be closed during tracing of a particular area. The algorithm creates multiple (`n=MaxGrowLevel+1`) copies of initial input bitmap, each with the contours expanded using the [http://en.wikipedia.org/wiki/Dilation_%28morphology%29 dilation filter]  approximately by one pixel. 
    1313 
    1414[[Image(debug_460_461_VO_step_0-anim.gif)]] 
     
    4141  ||  5          ||  84309  || 
    4242 
    43 If the reduction of flooded area at certain stage of filter application is grated than defined threshold (15-20% in our implementation), it means that boundary gap must have been closed. After finding the optimal number of border expansions (denoted by `growlevel`) and the bitmap is passed to [http://potrace.sourceforge.net/ PoTrace].  
     43If the reduction of flooded area at certain stage of filter application is grater than defined threshold (15-20% in our implementation), it means that boundary gap must have been closed (see Figure 4 above). After finding the optimal number of border expansions (denoted by `growlevel`) and the bitmap is passed to [http://potrace.sourceforge.net/ PoTrace].  
    4444 
    4545The gap filling algorithm is applied individually for each seed label thus different regions may be processed with different value of `GrowLevel`. Information about which `GrowLevel` was used to trace a particular path is stored in its attributes. 
     
    5151should be an integer between -1 and `MaxGrowLevel`.  Assigning `-1` means 
    5252that `GrowLevel` is undefined and has to be selected automatically, `0` means 
    53 that gap filling should not be used for this particular label.  Other values 
     53that gap filling should not be used for this particular label. Other values 
    5454denote the number of dilation filter applications.  
    5555 
friendster counter