PurposeTo evaluate the ability of texture features for distinguishing between benign and malignant testicular masses, and furthermore, for identifying primary testicular lymphoma in malignant tumors and identifying seminoma in testicular germ cell tumors, respectively.MethodsWe retrospectively collected 77 patients with an abdominal and pelvic enhanced computed tomography (CT) examination and a histopathologically confirmed testicular mass from a single center. The ROI of each mass was split into two parts by the largest cross-sectional slice and deemed to be two samples. After all processing steps, three-dimensional texture features were extracted from unenhanced and contrast-enhanced CT images. Excellent reproducibility of texture features was defined as intra-class correlation coefficient ≥0.8 (ICC ≥0.8). All the groups were balanced via the synthetic minority over-sampling technique (SMOTE) method. Dimension reduction was based on pearson correlation coefficient (PCC). Before model building, minimum-redundancy maximum-relevance (mRMR) selection and recursive feature elimination (RFE) were used for further feature selection. At last, three ML classifiers with the highest cross validation with 5-fold were selected: autoencoder (AE), support vector machine(SVM), linear discriminant analysis (LAD). Logistics regression (LR) and LR-LASSO were also constructed to compare with the ML classifiers.Results985 texture features with ICC ≥0.8 were extracted for further feature selection process. With the highest AUC of 0.946 (P <0.01), logistics regression was proved to be the best model for the identification of benign or malignant testicular masses. Besides, LR also had the best performance in identifying primary testicular lymphoma in malignant testicular tumors and in identifying seminoma in testicular germ cell tumors, with the AUC of 0.982 (P <0.01) and 0.928 (P <0.01), respectively.ConclusionUntil now, this is the first study that applied CT texture analysis (CTTA) to assess the heterogeneity of testicular tumors. LR model based on CTTA might be a promising non-invasive tool for the diagnosis and differentiation of testicular masses. The accurate diagnosis of testicular masses would assist urologists in correct preoperative and perioperative decision making.