I am doing a deformable image registration for 4DCT lung images. I want to evaluate the registration accuracy by calculating the TRE in SITK. I did Elastix registration in 3D-Slicer and got the transformation as displacement field.
The visualization results show a successful registration, however, TRE after registration is increased!
What are the target points that you compute TRE from? How do you compute the TRE? Have you checked that you applied the transform to the points correctly (do they visually look good - i.e., move with the image as expected)?
I compute TRE via SITK, utilities.target_registration_errors .
I could visualize the DVF and it looks good. However, the vector lengths of the displacement field are surprisingly small, compared to the average distance for the landmarks.
You might be using a composite transform (affine + DVF) for the registration. If you only use DVF during evaluation, it is not surprising that TRE is worse. This might not be the problem, but it is worth checking.