Skip to content

Commit

Permalink
Merge pull request #2 from InsightSoftwareConsortium/itk-5.1b01
Browse files Browse the repository at this point in the history
Itk 5.1b01
  • Loading branch information
thewtex committed Sep 11, 2019
2 parents c977c6e + ea53c8b commit 1dce68f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 27 deletions.
21 changes: 1 addition & 20 deletions README.rst
Expand Up @@ -24,26 +24,7 @@ used to solve (medical) image registration problems. The modular design of
elastix allows the user to quickly configure, test, and compare different
registration methods for a specific application.

Installation
------------

Install cross-platform binary Python packages with::

pip install itk-elastix

Usage
-----

To register two images, traditionally called the fixed image and the moving
image::

import itk

fixed_image = itk.imread('path/to/fixed_image.mha')
moving_image = itk.imread('path/to/moving_image.mha')

registered_image = itk.elastix_registration_method(fixed_image, moving_image)

.. note:: This package is a work in progress.

Acknowledgements
----------------
Expand Down
3 changes: 0 additions & 3 deletions include/itkElastixRegistrationMethod.hxx
Expand Up @@ -48,11 +48,8 @@ ElastixRegistrationMethod< TFixedImage, TMovingImage >
this->SetPrimaryInputName( "FixedImage" );
this->SetPrimaryOutputName( "ResultImage" );

this->AddRequiredInputName( "FixedImage", 0 );
this->AddRequiredInputName( "MovingImage", 1 );
this->AddRequiredInputName( "ParameterObject", 2 );
this->SetNumberOfRequiredInputs( 3 );


this->m_InitialTransformParameterFileName = "";
this->m_FixedPointSetFileName = "";
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -13,7 +13,7 @@

setup(
name='itk-elastix',
version='0.1.0',
version='0.2.0',
author='Insight Software Consortium',
author_email='itk+community@discourse.itk.org',
packages=['itk'],
Expand Down Expand Up @@ -44,6 +44,6 @@
keywords='ITK InsightToolkit',
url=r'https://itk.org/',
install_requires=[
r'itk>=5.0.0.post1'
r'itk>=5.1b01'
]
)
4 changes: 2 additions & 2 deletions test/azure-pipelines.yml
@@ -1,6 +1,6 @@
variables:
ITKGitTag: v5.0.1
ITKPythonGitTag: v5.0.1
ITKGitTag: v5.1b01
ITKPythonGitTag: v5.1b01
CMakeBuildType: Release

trigger:
Expand Down

0 comments on commit 1dce68f

Please sign in to comment.