PERF: Upgrade elastix to 2026-05-15 (faster AfterThreadedComputePDFs)#388
Conversation
|
Just re-ran the original benchmark from Nicolas Chiaruttini (@NicoKiaru) at https://discourse.itk.org/t/8x-slower-registration-with-itk-elastix-python-api-vs-elastix-cli-minimal-reproducible-example/7736/1 (including the use of the unsupported "NumberOfThreads" parameter). At "my" LKEB/LUMC pc (AMD Threadripper, 32-Cores, 4 GHz, 64 logical processors), Windows 11, using Python 3.13. Command-line arguments: --fixed blobs.tif --moving blobs-rot15deg.tif --runs 3 --elastix D:\X\Bin\E\elastix-5.3.1-windows\elastix.exe Output with the latest itk-elastix release (0.25.3): Output with the WindowsWheel311 from this pull request: Conclusion: this pull request yields a major performance improvement. However, with this particular benchmark, the CLI (elastix.exe) still remains faster than itk-elastix. To be continued...! P.S. With this pull request, the "elastix.log" created by itk-elastix has a warning, saying: So with this pull request it should be easier for users to find out that "NumberOfThreads" is not supported. |
3688b56 to
02d6046
Compare
Included elastix pull requests: SuperElastix/elastix#1444 "Improve performance of Advanced, ParzenWindowHistogram, ParzenWindowMutualInformation ImageToImageMetric" SuperElastix/elastix#1440 "PERF: Use ImageBufferRange in AfterThreadedComputePDFs" SuperElastix/elastix#1431 "ENH: Print a warning for each unused parameter of the ParameterMap" All included new commits: SuperElastix/elastix@5.3.1...77c726a
02d6046 to
87c016c
Compare
Included elastix pull requests:
All included new commits:
SuperElastix/elastix@5.3.1...77c726a