Hi Gang,
I tried using your FAQ- CAC Matlab script for table generation.
It works but there are some values in the corner data is little off because the mesh generates 3876 and 2176 values under xt and yt I think. Which results in NAN in further steps leading to some misplaced value in the corner pixels.
Apart from that am attaching the model am doing it, can you please verify if we are in the right direction for this , find the attached files. TI-Method.zip
Regards,
Dinesh