Matching of medical images by self-organizing neural networks