Changelogs » Disptools

PyUp Safety actively tracks 267,270 Python packages for vulnerabilities and notifies you when to upgrade.



  * add support for MSVC, now the C extension can be built with Visual Studio
  * switch build configuration to CMake
  * add alternative GPGPU (CUDA) implementation of the C algorithms
  * add continuos integration (AppVeyor)
  * move documentation to a separate [gh-pages]( branch
  New features:
  * add function to decompose displacement fields (
  * add function to compute mutual information (,
  * add parameters to control termination of the algorithms for displacement generation (
  * add parameter to upper-limit the step length in the algorithms for displacement generation (
  * add custom color maps to `disptools.drawing.extract_slice` (,
  * add function to convert a binary mask to a Simulatrophy mask (
  * allow handling of non-consistent coordinate systems in the generation of displacements (
  * add function to compute image entropy (
  * implement a wrapper to call Simulatrophy (
  * higher quality image resampling (
  * add functions to compute Jaccard and F measure (
  API changes:
  * rename `disptools.drawing.resize_image` to `disptools.drawing.scale_image` (
  * change default Jacobian lower thresholds (
  * new default parameter values for `disptools.measure.reject_outliers` (
  * return the standard deviation together with the mean in `disptools.measure.volume_change` (
  * fix metadata copying in several functions (
  * various fixes to `extract_slice` (,,
  * fix bug related to fractional image spacing (


*Added regularisation term to the `gradient` algorithm.
  *Refactoring of the interface for the `displacements.displacement` function. New default values for the arguments.
  *C verbose output to `stdout`, print `eta` at each iteration.
  *Implemented `mesure.centre_of_mass`.


Fix a bug in the selection of the algorithm.


Fix bugs due to incomplete copy of SimpleITK image object information in some functions.
  Update Sphinx config to automatically read the version number from ``.


Add, fix debug switch macro.


Add support for reading and writing Elastix parameter files.