How To Install plastimatch on Ubuntu 18.04

In this tutorial we learn how to install plastimatch on Ubuntu 18.04. plastimatch is medical image reconstruction and registration

Introduction

In this tutorial we learn how to install plastimatch on Ubuntu 18.04.

What is plastimatch

plastimatch is:

Plastimatch is an open source software for deformable image registration. It is designed for high-performance volumetric registration of medical images, such as X-ray computed tomography (CT), magnetic resonance imaging (MRI), and positron emission tomography(PET). Software features include:

  • B-spline method for deformable image registration (GPU and multicore accelerated), including support for image masking, landmark penalties, and regularization
  • Demons method for deformable image registration (GPU accelerated)
  • Multi-atlas segmentation
  • ITK-based algorithms for translation, rigid, affine, multiple demons methods, and B-spline registration
  • Pipelined, multi-stage registration framework with seamless conversion between most algorithms and transform types
  • Landmark-based deformable registration using thinplate splines for global registration
  • Landmark-based deformable registration using radial basis functions for local corrections
  • Broad support for 3D image file formats (using ITK), including DICOM, Nifti, NRRD, MetaImage, and Analyze
  • Extensive toolchain for radiotherapy research, including support for DICOM, DICOM-RT, DICOM SRO, XiO file format, gamma analysis, contour manipulation, contour overlap analysis, and vector field analysis Plastimatch also features two handy utilities which are not directly related to image registration:
  • FDK cone-beam CT reconstruction (GPU and multicore accelerated)
  • Digitally reconstructed radiograph (DRR) generation (GPU and multicore accelerated)

There are three methods to install plastimatch on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install plastimatch Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install plastimatch using apt-get by running the following command:

sudo apt-get -y install plastimatch

Install plastimatch Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install plastimatch using apt by running the following command:

sudo apt -y install plastimatch

Install plastimatch Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install plastimatch using aptitude by running the following command:

sudo aptitude -y install plastimatch

How To Uninstall plastimatch on Ubuntu 18.04

To uninstall only the plastimatch package we can use the following command:

sudo apt-get remove plastimatch

Uninstall plastimatch And Its Dependencies

To uninstall plastimatch and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove plastimatch

Remove plastimatch Configurations and Data

To remove plastimatch configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge plastimatch

Remove plastimatch configuration, data, and all of its dependencies

We can use the following command to remove plastimatch configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge plastimatch

References

Summary

In this tutorial we learn how to install plastimatch package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.