Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Itk 5.1b01 #2

Merged
merged 4 commits into from
Sep 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions README.rst
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variables:
ITKGitTag: v5.0.1
ITKPythonGitTag: v5.0.1
ITKGitTag: v5.1b01
ITKPythonGitTag: v5.1b01
CMakeBuildType: Release

trigger:
Expand Down