BrownBiomechanics / EOS-Test-Bed

0 stars 0 forks source link

EOS Test Bed

This repo servers as a small test library to test out the EOS projection model.

Budilding

Requires:

Note: This requires OpenCL ICD Loader, OpenCL Headers, and LIBTIFF. I reference the versions of these libraries that build with Autoscoper's superbuild.

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=<same type that Autoscoper was built with> \
     -DOpenCLHeaders_DIR=<autoscoper-build>\OpenCL-Headers-build\OpenCLHeaders \
     -DOpenCLICDLoader_DIR=<autoscoper-build>OpenCL-ICD-Loader-build\OpenCLICDLoader \
     -DTIFF_INCLUDE_DIR=<autoscoper-build>/TIFF-install/include \
     -DTIFF_LIBRARY=<autoscoper-build>TIFF-install\lib\tiff.lib \

Make sure the TIFF_LIBRARY is referencing either the debug or release version of the library depending on the build type.

Running

./EOS <volume name> <output name (.pgm)> <is_lateral> <vol_dim_x> <vol_dim_y> <vol_dim_z>