Skip to content
Snippets Groups Projects
  1. Nov 22, 2016
  2. Nov 21, 2016
  3. Nov 19, 2016
  4. Nov 17, 2016
  5. Nov 16, 2016
    • Julien Michel's avatar
      PERF: Optimize BCOInterpolateImageFunction (kindly provided by Laurentiu Nicola) · b3a50337
      Julien Michel authored
      Simplify the code and avoid some allocations to improve performance.
      
      I haven't checked the definition of RealType, but merging the output and
      value variables might arguably affect precision. The unit tests still
      seem to pass, however.
      
      Tested by 2x upsampling a 10-band 5490x5490 float32 image on an Intel
      Celeron J1900.
      
      There is further room for improvement by eliding the remaining memory
      allocations. A container like the small_vector from Boost might be
      useful here, but we can't use that since it's not available in older
      Boost versions.
      
      before:
      661.44s user 9.31s system 304% cpu 3:40.52 total
      594.06s user 9.43s system 303% cpu 3:19.00 total
      591.15s user 9.43s system 301% cpu 3:19.28 total
      
      after:
      443.42s user 10.48s system 294% cpu 2:34.00 total
      443.11s user 9.87s system 309% cpu 2:26.27 total
      448.50s user 10.50s system 311% cpu 2:27.52 total
      b3a50337
    • Julien Michel's avatar
      PERF: Optimize BCOInterpolateImageFunction · 6a8c2a84
      Julien Michel authored
      Simplify the code and avoid some allocations to improve performance.
      
      I haven't checked the definition of RealType, but merging the output and
      value variables might arguably affect precision. The unit tests still
      seem to pass, however.
      
      Tested by 2x upsampling a 10-band 5490x5490 float32 image on an Intel
      Celeron J1900.
      
      There is further room for improvement by eliding the remaining memory
      allocations. A container like the small_vector from Boost might be
      useful here, but we can't use that since it's not available in older
      Boost versions.
      
      before:
      661.44s user 9.31s system 304% cpu 3:40.52 total
      594.06s user 9.43s system 303% cpu 3:19.00 total
      591.15s user 9.43s system 301% cpu 3:19.28 total
      
      after:
      443.42s user 10.48s system 294% cpu 2:34.00 total
      443.11s user 9.87s system 309% cpu 2:26.27 total
      448.50s user 10.50s system 311% cpu 2:27.52 total
      6a8c2a84
  6. Nov 15, 2016
  7. Nov 14, 2016
  8. Nov 07, 2016
  9. Nov 04, 2016
  10. Nov 03, 2016
  11. Nov 02, 2016
  12. Oct 31, 2016
  13. Oct 28, 2016
  14. Oct 27, 2016
  15. Oct 25, 2016
  16. Oct 24, 2016
    • Manuel Grizonnet's avatar
      ENH: add ITK_OVERRIDE when missing · 8de50fda
      Manuel Grizonnet authored
      Add ITK_OVERRIDE msotly in Monteverdi
      
      save override in OTB (need to manually fix this after tidy)
        cd src/Modules ; grep -nR "override" * > ~/temporary/override_otb.txt
        cd ~/software
        python run-clang-tidy.py -checks=-*,modernize-use-override -header-filter=/home/grizonnetm/projets/otb/src/OTB/Modules/.*/.*/include/.* -j8 -fix -p ~/projets/otb/bin/release/OTB-clang3.8/ ~/projets/otb/src/OTB/Modules/*/*/src/*.cxx ~/projets/otb/src/OTB/Examples/*/*.cxx ~/projets/otb/src/OTB/Modules/*/*/test/*.cxx > ~/temporary/run-clang-tidy-log.txt
        #rename override with ITK macro ITK_OVERRIDE
        cd src/Modules
        find . -path ./ThirdParty -prune -o -type f -print -name "*.h" -o -name "*.txx" | xargs perl -pi -e 's/\ override/\ ITK_OVERRIDE/g'
      8de50fda
    • Guillaume Pasero's avatar
      a95d786b
    • Manuel Grizonnet's avatar
      c3efc8c6
  17. Oct 21, 2016
  18. Oct 20, 2016
Loading