Input files in Scattered Transform module

Hi 3D Slicer experts and all
I have 2 images (CT and MRI), which MRI image is with distortion. I want to calculate the B-Spline Transform, using Scattered Transform module. which one do I insert for “file with initial point positions” of input files panel, (CT or MRI)?
Thanks a lot

HI 3D Slicer experts
Unfortunately, I did not receive any feedback on my question. I think that CT image, which is without distortion, should be inserted for “file with initial point positions”. is this true? can you help me with this question?
Thanks a lot

Scattered transform module converts a set of landmark displacements to a regular bspline grid. No images are used. If you want to register images to compute a transform then you can use “General registration (BRAINS)” module or “General registration (Elastix)” module (provided by SlicerElastix extension).

Hi
I’ve been using the scattered Transform module in Slicer 4.7.0-2017-09-13 to create B- Spline matrix for a while, but recently it seems broken. I have 2 .txt files of more than 20 thousand points and every time I insert them in the Input files section, the process ends up with an error like " the scattered transform module encountered with the serious problem". I want to know is there sth wrong with it? and how can I fix this problem? can you help me?
By the way, I tried this module in some other version of Slicer, but the outcome was the same.
Thanks a lot

Can you provide an example data set that reproduces the issue?

Hi
This is an example of two sets of points in CT and MRI that I expect scattered transform to create BSpline matrix of them.
Thanks a lot

MR and CT points

Please upload the files somewhere and post the link here. Use a file format that Slicer can directly load.

Hi
These are the CT and MR data links that have been uploaded.

https://uupload.ir/filelink/RjrHINoGt5Gg/1u1r_pointsintersectionct.txt
https://uupload.ir/filelink/wx9AHwCeijql/7bsw_pointsintersectionmr.txt
Also, I have another question. Formerly when I used slicer 4.7, the residual number at the end of the process was not the same in different versions of slicer(4.8 or 4.10 for instance). why this happens and which residual number is correct? higher or lower?
Thanks a lot