MATLAB: How to align two images

alignaligningimageimage processingimage registerimage registeringprocessingregisterregisteringtwo image

I want to align these two images, but as you can see they have different color, but I want it to be in the same shape/direction for further image processing