Background: Accuracy in feature extraction is an important factor in image classification and retrieval. In thispaper, a breast tissue density classification and image retrieval model is introduced for breast cancer detectionbased on thermographic images. The new method of thermographic image analysis for automated detection ofhigh tumor risk areas, based on two-directional two-dimensional principal component analysis technique forfeature extraction, and a support vector machine for thermographic image retrievalwas tested on 400 images.The sensitivity and specificity of the model are 100% and 98%, respectively.