Registering 2D images using Slicer Elastix

Operating system: Windows 10
Slicer version: 5.0.3
Expected behavior: Completes successfully
Actual behavior: Error during registration

Hello,

I am trying to register 2 X-ray images using the Slicer Elastix module with preset: generic (all). However the registration fails with the message “Error occurred during actual registration”. I also saw the following messages “Stopping Condition: Error in metric.” and “Description: ITK ERROR: Region ImageRegion (00000042EDDFCCD0)
Dimension: 3
Index: [-9223372036854775808, -9223372036854775808, -9223372036854775808]
Size: [4, 4, 4]
is outside of buffered region ImageRegion (0000019CA452D440)
Dimension: 3
Index: [0, 0, 0]
Size: [11, 11, 4]”.

I wanted to check if Slicer Elastix supports registration of 2D images as is, similar to say the original Elastix or Simple Elastix? Any advice on running this registration successfully will be helpful.

Thank you!

Hello, any suggestions will be greatly helpful, thank you!