Skip to content
Commits on Source (3)
......@@ -22,3 +22,4 @@ debian/tmp/usr/fast/bin/NonLocalMeans2D usr/lib/fast
debian/tmp/usr/fast/bin/seededRegionGrowingSegmentation usr/lib/fast
debian/tmp/usr/fast/bin/streamImagesFromDisk usr/lib/fast
debian/tmp/usr/fast/bin/testFAST usr/lib/fast
debian/missing-sources/using_libfast-examples usr/share/doc/libfast-examples/examples
Synopsis
----------
The libfast-examples package encompasses a variety of binaries for the "fast" package. These binaries
are located at /usr/lib/fast and can be selectively executed alongside either the libfast-data package or
any external data. These binaries can be used for experimentation, testing the framework or even
used for computation.
Usage
----------
The example binaries can either use and compute your data or data from the libfast-data package. If
using libfast-data, download this package and extract the compressed file (FAST_Test_Data.xz) situated in
/usr/lib/fast. Most of the binaries will then automatically look in the newly extracted ../data
directory when run.
In some cases, the path to a specific data needs to be stated. For instance, the "liverVesselSegmentation"
binary requires a path to the CT file as an argument.
Information about these binaries, and their source origins, can be read at https://github.com/smistad/FAST/wiki/Examples
......@@ -5,8 +5,8 @@ Author: Shayan Doust <hello@shayandoust.me>
Index: fast/CMakeLists.txt
===================================================================
--- fast.orig/CMakeLists.txt 2019-08-31 12:13:11.067543072 +0100
+++ fast/CMakeLists.txt 2019-08-31 12:13:59.735356876 +0100
--- fast.orig/CMakeLists.txt 2019-09-01 19:24:24.824877063 +0100
+++ fast/CMakeLists.txt 2019-09-01 19:24:49.669024504 +0100
@@ -34,7 +34,7 @@
option(FAST_MODULE_WholeSlideImaging "Build whole slide imaging module" OFF)
option(FAST_MODULE_Clarius "Build clarius ultrasound module" OFF)
......@@ -56,14 +56,12 @@ Index: fast/CMakeLists.txt
## Build test executable
if(FAST_BUILD_TESTS)
add_executable(testFAST ${FAST_TEST_SOURCE_FILES} source/FAST/Algorithms/CoherentPointDrift/Rigid.cpp source/FAST/Algorithms/CoherentPointDrift/Rigid.hpp source/FAST/Algorithms/CoherentPointDrift/Affine.cpp source/FAST/Algorithms/CoherentPointDrift/Affine.hpp)
@@ -242,6 +263,10 @@
# dlls automatically to the bin folder.
@@ -243,5 +264,8 @@
include(cmake/FASTCustomCommands.cmake)
endif(NOT FAST_BUILD_QT5 AND WIN32)
+execute_process(COMMAND mkdir -p usr/share/fast/assets)
+execute_process(COMMAND cp -r ../doc/images usr/share/fast/assets)
+install(TARGETS FAST-STATIC DESTINATION .)
+install(TARGETS FAST DESTINATION .)
+
include(cmake/ModulePython.cmake)
include(cmake/InstallFAST.cmake)