lassoan
(Andras Lasso)
July 4, 2020, 3:11am
1
It seems that simple AffineTransform_double_3_3 saved with ITK 5.1 in HDF format cannot be loaded with ITK 4.13. Here is an example file: https://github.com/vinkirk/public/raw/master/Xfm_acpc.h5
Is this intentional?
Does ITK5 stores transforms differently or is it a HDF incompatibility issue?
blowekamp
(Bradley Lowekamp)
July 4, 2020, 11:46am
2
Andras,
There was a name correction to a field in the HDF5 Transform format in ITKv5. This name correction was added to the ITKv4 branch for forward support:
committed 08:05PM - 20 Sep 18 UTC
Add overlapping support for generated ITK HDF5 transform files.
Change-Id: Ie7edaad2734117277e7a0bca219e13ebfab9fc23
ITKv5 supports reading the original misspelled field along with the corrected field. ITKv5 writes the corrected field.
Have a good one.
lassoan
(Andras Lasso)
July 4, 2020, 3:37pm
3
I see, thank you for the explanation. Making ITK4 forward compatible is a nice touch.
It is always hard to decide between doing “the right thing” and preserving compatibility, but users should be able to tolerate breaking changes when a new major version of the library is released.
1 Like