Autoassociative Learning of Structural Representations for Modeling and Classification in Medical Imaging