A detailed description of a new approach to perceptual analysis and processing of medical images is given. Instead of traditional pattern recognition a new method of image analysis is presented, based on a syntactic description of the shapes selected on the image and graph-grammar parsing algorithms.