Comments (5)
@zapaishchykova Thank very much for submitting this issue, Anna. The issue is indeed caused by the image sampler using a random number generator (ImageSampler "Random"
). Internally it uses the MersenneTwisterRandomVariateGenerator
from ITK. Coincidentally I just submitted a proposal to allow resetting the next seed of that random number generator:
- ITK pull request InsightSoftwareConsortium/ITK#4247
As far as I can see now, the proposed new function, ResetNextSeed()
, should allow making the registration deterministic! So please "like" (👍) that pull request!
Kind regards, Niels
from elastix.
And then it would be good to make use of it in elastix.
This should also synchronize behavior with the command line executable, as that one is perfectly reproducible.
from elastix.
Yes it seems someone made a binary package in ubuntu of elastix.
You can also get it from
https://github.com/SuperElastix/elastix/releases/tag/5.1.0
from elastix.
perfect, thanks! Just tested the cmd - its indeed deterministic. I will stick to cmd version for now, while waiting for the pull request to be propagated to the Python library.
from elastix.
@N-Dekker awesome, what a great coincidence!
@mstaring do you by chance know the command line alternative for the itk.elastix_registration_method? is it this one https://manpages.ubuntu.com/manpages/trusty/man1/elastix.1.html? Then I can replace Python wrapper with some shell commands via subprocess.
from elastix.
Related Issues (20)
- ComputeImageExtremaFilter SameGeometry should include Index, Spacing, and Direction HOT 1
- ComputeImageExtremaFilter should reset SameGeometry when image and mask have different image domains HOT 2
- Unreachable error handling, "Consider using the ImageRandomSampler", in ImageRandomSamplerSparseMask
- AdvancedImageToImageMetric, AdvancedMeanSquaresImageToImageMetric estimating min and max twice, redundantly
- Why my C++ project which uses ITK_Elastix, Opencv library with .net frame work does not in window7 but works fine on window10. HOT 6
- How to create c++ dll files of ITK- elastix libraries because static one making executable high size? HOT 5
- __cxa_thread_atexit use in elxComponentLoader.cxx HOT 2
- TransformixFilter should _not_ automatically do `this->SetOutputDirectory(".")`
- `AdvancedCombinationTransform::GetNumberOfTransforms()` returns zero when initial transform is not a combination! HOT 1
- itk::ElastixRegistrationMethod UpdateLargestPossibleRegion() APi in C++ taking more than 15 seconds to find the Coarse Edge detection for fixed and moving edge
- Clarify direction of JacobianDet and Deformation fields?
- Elastix should stop running (and fail) when initial transform is not supported
- Can you provide a demo of OpenCL GPUBSplineInterpolateImageFunction?
- Initial translation between images when using masks HOT 1
- Registration of Different Slice Numbers
- Document difference between `SetExternalInitialTransform` and `SetInitialTransform` HOT 5
- ElastixRegistrationMethod GetNumberOfTransforms, GetCombinationTransform, etc. does not work with non-float ImageType HOT 1
- PCA-based metrics for T1 mapping
- Error in C++ project while initializing Pointer object of type using itk::TransformixFilter<ImageType>; HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastix.