[ITK] [ITK-users] SimpleITK landmark based initialisation (and image visualisation)
Yaniv, Ziv Rafael (NIH/NLM/LHC) [C]
zivrafael.yaniv at nih.gov
Tue Jul 12 10:18:37 EDT 2016
Hello Sami,
We are just about to release the latest version of SimpleITK which includes the LandmarkBasedTransformInitializer. This will happen in the next couple of weeks.
For an immediate solution, you can build the toolkit’s master branch for anaconda using the conda recipe found on my github:
git clone https://github.com/zivy/conda-recipes.git
cd conda-recipes
git checkout simpleitkMaster
cd python
conda build simpleitk
Then just install the package you built. This build process is for people who want to stay on the cutting edge, in between official releases (the master branch is our stable branch so you should be fine).
regards
Ziv
From: Sami Koho <sami.koho at gmail.com<mailto:sami.koho at gmail.com>>
Date: Tuesday, July 12, 2016 at 5:29 AM
To: insight-users <insight-users at itk.org<mailto:insight-users at itk.org>>
Subject: [ITK-users] SimpleITK landmark based initialisation (and image visualisation)
Hi,
I was thinking of adding a manual landmark based initialisation to my image registration method, as the automatic initialiser does not reliably work in my current application. I’m registering correlative microscopy images with very large shift and rotation between moving and fixed images — usually the moving image also covers only a small part of the area shown in the fixed image. By specifying the initial offset and rotation manually, registration works nicely, but this is a bit cumbersome, because I have to figure out the approximate offsets first.
The problem is that I do not seem to have the sitk.LandmarkBasedTransformInitializer() available in my SimpleITK version. It was used in the notebook http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/67_Registration_Semiautomatic_Homework.html. I have SimpleITK 0.9.1 (Compiled Sep 28 2015) that I have installed on Anaconda according to the Wiki instructions. I am using Python 2.7. Would I possibly need some other version of SimpleITK? How could I get it?
Alternatively, is there some other simple method for calculating a spatial transformation from control point pairs in SimpleITK? I can of course do that in Numpy, but I wouldn’t like to overly complicate things.
Another question, in the notebook above you are using a visualisation module named “gui" to show nice interactive plots, from which it is possible to make landmark selections as well. Is that by chance publicly available somewhere?
Best,
Sami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160712/7e3a0c04/attachment.html>
-------------- next part --------------
_____________________________________
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
More information about the Community
mailing list