PET-CT/Development/Main

From KitwarePublic
Jump to navigationJump to search

Source code

Source code in Kitware's public GitLab. The project uses CMake, a cross-platform build configuration system. Particularly, SlicerPET uses superbuild feature of CMake.

Dashboard

SlicerPET dashboard

External Projects

The SlicerPET application is based on Slicer Framework. In addition to the external projects included by Slicer official, SlicerPET includes PlusLib revision 3900.

Building executable

Generating installers

Windows

  • Install NSIS in your system
  • Build SlicerPET in a release mode
  • When the build finishes, load S-bld/Slicer-build/Slicer.sln project file in Visual Studio
  • Build PACKAGE target only to generate the installer. ( There will be a new installer in S-bld/Slicer-build/ ( With a filename a SlicerPET-2.0.0-*-win-amd64.exe )

Uploading installers to Packages server

How to upload packages to packages.kitware.com:

  • Create an account and join the PET-CT community
  • Download the following script : Upload-SlicerPET-to-packages-kitware-com.cmake
    • Change the MIDAS_USER and enter you MIDAS_API_KEY that you can generate in your packages.kitware.com profile.
    • Modify the following lines if you are uploading windows or linux executables to the appropriate values:
 file(GLOB packages "SlicerPET-*.exe")
 ...
 PACKAGE_TYPE "NSIS installer"
  • Run the command line "cmake -P Upload-SlicerPET-to-packages-kitware-com.cmake"

Video Tools

To produce the videos showing how the different modules work [1], we used the following tools:

  • On Windows:
    • We used CamStudio, a tool that allows to record all screen and audio activity on the computer. To improve the quality of the videos, we boosted the video option of the tool to the maximum (Quality 100% and 1000 frame per second).
    • We used VLC to record the streaming video from a camera device.
  • On Mac:
    • We used iMovie for post-production, editing and voice-over