This is the MATLAB code for rigid image registration using normalized cross-correlation (NCC) and Robust PaTch based cOrrelation Ratio (RaPTOR). The data for this code can be downloaded at https://zenodo.org/record/4813508
If you use the data or the code, don't forget to cite the following paper:
[1] Masoumi, N., Belasso, C.J., Ahmad, M.O. et al. Multimodal 3D ultrasound and CT in image-guided spinal surgery: public database and new registration algorithms. Int J CARS 16, 555–565 (2021). https://doi.org/10.1007/s11548-021-02323-2