1. 10 Mar, 2022 1 commit
    • David Frank's avatar
      Add view for cartesian index space · 0facef56
      David Frank authored
      Using this CartesianIndices, you can create a n-dimensional recetengular
      shape and iterate over the region. This should be quite a powerful but
      easy to use abstraction over the volume.
      
      The provided free functions, can be used to visit neighbouring voxels
      from a given position.
      0facef56
  2. 10 Feb, 2022 1 commit
  3. 07 Feb, 2022 1 commit
  4. 24 Nov, 2021 3 commits
  5. 16 Nov, 2021 1 commit
    • David Frank's avatar
      Minor improvments to DataContainerFormatter · 0fa4cc78
      David Frank authored
      * Pass a default config to DataContainer.format, such that it can be
        passed in from the outside
      * Move `format_config` into separate file to not create dependency cyles
      * Add functionality to suppress or round small numbers to 0, such that
        instead of -1.49012e-08, only 0 is printed
      0fa4cc78
  6. 03 Nov, 2021 2 commits
  7. 17 Jun, 2021 1 commit
    • David Frank's avatar
      Move asIndex to core renamed to asUnsigned, add asSigned · 3558eb04
      David Frank authored
      Some more functionality was added with the TypeCasts.hpp file:
      
      * is(...): check if a pointer/reference/unique_ptr can be dynamically
        casted to the derived type
      * downcast(...): downcast a pointer/reference/unique_ptr statically to
        the derived type, assumes caller knows that the type is correct.
      * downcast_safe(...): downcast a pointer/reference/unique_ptr to the
        derived type, but only if it's possible. If not a nullptr is returned
        for the pointer cases and std::bad_cast is thrown for the reference
        case.
      3558eb04
  8. 18 May, 2021 1 commit
    • David Frank's avatar
      #116 Rename CMake functions to snake_case and macros to SNAKE_CASE · 71247d30
      David Frank authored
      The following functions are renamed:
      * code-coverage functions (CodeCoverage.cmake)
      * Function to determine compue capabilities of cuda
        (ComputeCapabilityCUDA.cmake)
      * internal functions in FindLLVM.cmake to _snake_case
      * functions to install elsa modules (InstallElsaModule.cmake)
      * Consistently call GENERATE_BINDINGS as SNAKE_CASE
      * registerComponents to register_module (elsa/CMakeLists.txt)
      * AddElsaModule to follow snake_case convention (elsa/CMakeLists.txt)
      
      Also arguments to certain functions are now using lower case, to follow
      more conventional standards.
      71247d30
  9. 17 May, 2021 1 commit
  10. 12 May, 2021 1 commit
    • David Frank's avatar
      Refactor out duplicate CMake code for adding module · 921c4366
      David Frank authored
      CMake modules are now added via common macro 'AddElsaModule', which
      removes a lot of duplicate code.
      
      Also reworked the ml module just a bit to prefer target specific (such
      as 'target_compile_definitions' over 'add_definitions').
      
      Files were also formatted to a stricter guideline, which should reduce
      some inconsistencies.
      921c4366
  11. 27 Apr, 2021 1 commit
  12. 14 Apr, 2021 1 commit
  13. 13 Apr, 2021 1 commit
  14. 08 Apr, 2021 1 commit
    • David Frank's avatar
      #99 Add integration tests · 7842c534
      David Frank authored and Tobias Lasser's avatar Tobias Lasser committed
      Add driver and support for testing across modules. Currently,
      no real checks are made that something is actually a regression.
      
      These tests can be used for one check realistic scenarios, that
      solver reach convergence (or at least some norms get minimized).
      Second some performance data is gathered, which should make this useful
      to decide if a change actually speeds up anything.
      
      Basic integration test setup to run full reconstructions. This is a
      first step into the direction of having more comprehensive integration
      tests, which are machine tested and run.
      7842c534
  15. 21 Mar, 2021 1 commit
    • David Frank's avatar
      #104 Change naked new into unique_ptr, into make_unique · c146fd27
      David Frank authored
      To remove naked new in DataHandlerGPU and DataHandlerMapGPU, Badges are
      introduced. This way the constructor of DataHandlerMapGPU is private,
      but `std::make_unique<DataHandlerGPU>` can still use it through badges.
      Without badges `std::make_unique` couldn't find the private constructor.
      c146fd27
  16. 16 Jan, 2021 1 commit
  17. 14 Dec, 2020 1 commit
  18. 24 Aug, 2020 1 commit
  19. 03 Aug, 2020 1 commit
  20. 30 Jun, 2020 1 commit
  21. 23 Jun, 2020 2 commits
    • David Frank's avatar
      #63 Add DetectorDescriptor and PlanarDetectorDescriptor · 7397e31a
      David Frank authored and Tobias Lasser's avatar Tobias Lasser committed
      - Add Abstract class DetectorDescriptor, which is derived from DataDescriptor (Support ray generation from a given pose and detector pixel and given pose and voxel)
      - Add first derived class of DetectorDescriptor: PlanarDetectorDescriptor
      - Add usage of DetectorDescriptor in Projectors (remove dependency to geometry, ray generation is only handled by DetectorDescriptor, adapt tests)
      - Restructure tests of CUDA projectors to make failing tests more readable
      7397e31a
    • Nikola Dinev's avatar
      Feature/python bindings · f6e6f3d7
      Nikola Dinev authored and Tobias Lasser's avatar Tobias Lasser committed
      f6e6f3d7
  22. 10 Jun, 2020 2 commits
  23. 30 Apr, 2020 1 commit
  24. 17 Mar, 2020 1 commit
  25. 12 Jan, 2020 1 commit
  26. 18 Dec, 2019 1 commit
    • Jens Petit's avatar
      Add expression templates (#4) · b3227b9d
      Jens Petit authored
        * using underlying Eigen expression templates
        * scalar operations with expression templates
        * save DataContainer meta info in expressions
        * add unary operators
        * adding enum for DataHandlerMapCPU type
        * added expression templates readme
        * removed operators between DataContainers, scalars and DataHandlers
        * in-place operations using expressions
        * test cases
        * benchmark script
      b3227b9d
  27. 03 Dec, 2019 1 commit
  28. 28 Nov, 2019 1 commit
  29. 30 Oct, 2019 1 commit
  30. 25 Oct, 2019 1 commit
  31. 22 Oct, 2019 1 commit
  32. 21 Oct, 2019 1 commit
  33. 11 Oct, 2019 1 commit
  34. 04 Jun, 2019 1 commit