a method for processing images acquired in real time through a medical device , said images being loaded into a buffer , comprising the steps of : stopping the loading of the images into the buffer , processing loaded images using an incremental algorithm , displaying successively intermediate results of the processing , resuming the loading and stopping the processing based on an evaluation of said intermediate results .