MATLAB: How i can convert two different images to identical form

Image Processing Toolboxregistrationx-ray registration

I work on registration between two images the first is X-RAY and the second is normal , to do this function i need initially to convert these two images to identical format in order to find correspondences between them . if can help me in code please
Related Question