How to align brain CT and MR images?

I have tried brain rigid image base registration in slicer3d. But the result is not very good. Could any body give my some suggestions about how to register the brain CT and MR image? I don’t want to use landmark method, because I want to do it automatically using python code.
here is my data.download
image

Hi, I just run a rigid registration with SlicerANTs and got a good result. You can probably achieve the same with SlicerElastix.

You can see the ants command in the slicer log and then run the antsRegistrationCLI module from python. Alternatively, you can the see the test in General Registration (ANTs) to see how to run it’s logic.