Automatic MR-PET registration algorithm