Uses of image processing in medicine