A method and device for controlling a medical imaging apparatus are disclosed herein. The device for controlling a medical imaging apparatus includes a processor. The processor controls a medical imaging apparatus to take a plurality of images including a region of interest of a subject, while a C-arm of the medical imaging apparatus rotates from a first rotation angle to a second rotation angle. The processor detects the rotation angle of the C-arm of the medical imaging apparatus corresponding to each of the taken images. The processor stores the detected rotation angle in a database, along with the taken image. The processor extracts a rotation angle, stored along with an image selected as an optimal image from the taken images, as an optimal rotation angle.