Changes between Version 12 and Version 13 of GSoC/2014/ImplementationOf3DRasterFlowLine


Ignore:
Timestamp:
08/08/14 15:41:21 (10 years ago)
Author:
annakrat
Comment:

Week 12

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/2014/ImplementationOf3DRasterFlowLine

    v12 v13  
    147147
    148148I started writing !r3.gradient module based on the gradient function in !r3.flow. The module is already running and giving correct results, I will add it to addons once the gradient function is moved to library. I will try to parallelize the gradient computation with openMP, the structure of the code is already prepared for that.
     149
     150=== Week 12 ===
     151I added gradient function to 3D raster library and than added !r3.gradient module to addons. I tested it with and without OpenMP and it seems that OpenMP doesn't really speed up the module, it usually slows it down. So I will probably remove the OpenMP support completely. I also tried different settings of cache but again, I found no significant improvement with other than default settings. Then, I added more tests for !r3.flow (and found a bug) and !r3.gradient. In the gradient function, I added better handling for NULL values (after consulting with Soeren). Before, NULL values were ignored, now zero is set when one or more of the neighboring voxels are nulls. Null voxels are propagated.
     152
     153I will move both modules in trunk next week.