Sarah Gerard <
sarahg...@gmail.com>
10:55 AM (2 hours ago)
to elastix-imageregistration
Hi,
I am trying to perform a 4D groupwise registration (and I want to use UseCyclicTransform true. However, whenever I add the TransformBendingEnergyPenalty as a metric I get the following error:
itk::ExceptionObject (0x5213e50)
Location: "ElastixTemplate - Run()"
File: /Users/segerard/src/InsightToolkit-5.2.0/Modules/Core/Common/include/itkImageConstIterator.h
Line: 211
Description: ITK ERROR: Region ImageRegion (0x7ffcbd5a5050)
Dimension: 4
Index: [3, 1, 0, 24]
Size: [4, 4, 4, 4]
is outside of buffered region ImageRegion (0x524ae70)
Dimension: 4
Index: [0, 0, 0, 0]
Size: [7, 6, 4, 26]
Note I only get this error when I try using both UseCyclicTransform and TransformBendingEnergyPenalty (if I use either without the other, it works). Also my 4D images have the temporal dimension as the last dimension.
Best Regards,
Sarah