Skip to content
  • Daniel Girardeau-Montaut's avatar
    Rasterize median (#1648) · b5b296e1
    Daniel Girardeau-Montaut authored
    
    
    * Basic median calculation. Only height, not color nor SF
    
    * Move more stats processing into the section where points are sorted on cells
    
    * Add color an SF to the section where points are sorted on cells
    
    * Fix indentation style
    
    * Add median height as exportable scalar field from rasterize tool
    
    * Simple coding style changes
    
    * Coding style fix. Using .front() .back() on vectors, adding spaces around = + - *, consistent use of camelCase
    
    * Bug fix. Was just reading out first point repeating, instead off all points in cell, when calculating SF
    
    * Coding style fix. Fix some space indentations to tab. More .front() .back() on vectors
    
    * CamelCasing
    
    * Not modifying cellPointHeightEnd vector (square) when calculating std dev
    
    * Changed pointRefList from C-style array to std::vector
    
    * Replace c-style (void**) cast to reinterpret_cast<void**>
    
    * Calculate max number of points in cells, and allocate memory for this once, instead of adjusting for every cell
    
    * Fix bug in calculating correct point index from pointRef address
    
    * Cleaner pointer arithmetic
    
    * Minor cosmetic code style change (camelCase)
    
    * Bugfix. Without resixing arrays for every cell, iterators can not run to .back() but must be manually set to nbPoints
    
    * Cleanup code
    
    * Updated changelog
    
    Co-authored-by: default avatarMagnus Andersen <Magnus.Andersen@norbit.com>
    b5b296e1
To find the state of this project's repository at the time of any of these versions, check out the tags.