Discussion:
[ITK-users] MultiResolutionIterationEvent missing in python [ITK 4.12]
Adrien BAILLY
2017-08-29 16:44:34 UTC
Permalink
Dear all,

I am trying to perform a multi-resolution image registration using itk's
python module (pip install itk) and following the example from
Example/RegistrationITKv4/MultiResImageRegistration1.cxx.

Unfortunately the class itk.MultiResolutionIterationEvent does not exists
in the python module. After looking around in ITK source code it seems that
it is missing from the python wrapper because it is not added in the file
Modules/Core/Common/wrapping/ITKCommonBase.wrap line 5-14.

Is there another way than using MultiResolutionIterationEvent for changing
the optimizer parameters between levels ? Or should I add the wrapping
command to ITKCommonBase.wrap and generate the python module manualy?

Best regards,

Adrien
Matt McCormick
2017-08-29 19:28:01 UTC
Permalink
Hi Adrien,

Thanks for pointing out the omission.

Could you please submit a patch to add wrapping for the class? [1]
Once integrated, nightly binary builds of the Python packages will be
available.

Thanks,
Matt


[1] https://itk.org/Wiki/ITK/Git/Develop
Post by Adrien BAILLY
Dear all,
I am trying to perform a multi-resolution image registration using itk's
python module (pip install itk) and following the example from
Example/RegistrationITKv4/MultiResImageRegistration1.cxx.
Unfortunately the class itk.MultiResolutionIterationEvent does not exists in
the python module. After looking around in ITK source code it seems that it
is missing from the python wrapper because it is not added in the file
Modules/Core/Common/wrapping/ITKCommonBase.wrap line 5-14.
Is there another way than using MultiResolutionIterationEvent for changing
the optimizer parameters between levels ? Or should I add the wrapping
command to ITKCommonBase.wrap and generate the python module manualy?
Best regards,
Adrien
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users

Loading...