placing a reference element, to which a reference coordinate sensing device is fixed, on the body of a patient, the reference coordinate sensing device generating signals used for determining position and orientation coordinates of the reference element; acquiring an image of the body, including the element, during the surgery; processing the image to determine image-based coordinates of the refer