Described are methods and systems for scanning at least a portion of a patient with a gamma detector mounted on an arm extending towards the patient. One described method includes: obtaining data indicative or coordinates of points on the outer surface of the patient; determining a target position for the gamma detector based on the data indicative, of the coordinates; and causing the gamma detector to detect gamma radiation from the patient when the gamma detector is at the target position.