Breast MRI and X-ray mammography registration using gradient values