The method involves generating patient image data using an image-generating medical apparatus i.e. image-generating apparatus (4). A patient image (2) is produced on a basis of the generated data and displayed on an image output unit i.e. touch screen monitor (1). The medical apparatus is controlled by an interaction with the image, where the interaction is achieved using touch inputs, multi-touch inputs or gesture inputs/recognition. The apparatus is controlled by vision detection and/or eye movement detection. Independent claims are also included for the following: (1) a program allows a computer to perform a method for controlling a medical apparatus (2) a computer program storage medium comprising a program that allows a computer to perform a method for controlling a medical apparatus.