Changes between Version 15 and Version 16 of barSoftwareGapFillDetails
- Timestamp:
- 07/26/11 21:09:16 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
barSoftwareGapFillDetails
v15 v16 8 8 [[Image(debug_100_99_vBrain_step_0.gif)]] 9 9 10 Fragment of rasterized conto ur slide based on Paxinos and Franklin ''The Mouse Brain In Stereotaxic Coordinates, third edition''.10 Fragment of rasterized contor slide based on Paxinos and Franklin ''The Mouse Brain In Stereotaxic Coordinates, third edition''. 11 11 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.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+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. 13 13 14 14 [[Image(debug_460_461_VO_step_0-anim.gif)]] … … 41 41 || 5 || 84309 || 42 42 43 If the reduction of flooded area at certain stage of filter application is grate d 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].43 If 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]. 44 44 45 45 The 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. … … 51 51 should be an integer between -1 and `MaxGrowLevel`. Assigning `-1` means 52 52 that `GrowLevel` is undefined and has to be selected automatically, `0` means 53 that gap filling should not be used for this particular label. 53 that gap filling should not be used for this particular label. Other values 54 54 denote the number of dilation filter applications. 55 55