Medical imaging modalities, such as magnetic resonance imaging (MRI) and computerized tomography (CT), have allowed medical researchers and clinicians to examine the structural and functional features of the human body, thereby assisting the clinical diagnosis. However, due to the highly controlled imaging environment, the imaging process often creates noise, which seriously affects the analysis of the medical images. In this study, a medical imaging enhancement algorithm is presented for ankle joint talar osteochondral injury. The gradient operator is used to transform the image into the gradient domain, and fuzzy entropy is employed to replace the gradient to determine the diffusion coefficient of the gradient field. The differential operator is used to discretize the image, and a partial differential enhancement model is constructed to achieve image detail enhancement. Three objective evaluation indexes, namely, signal-to-noise ratio (SNR), information entropy (IE), and edge protection index (EPI), were employed to evaluate the image enhancement capability of the proposed algorithm. Experimental results show that the algorithm can better suppress noise while enhancing image details. Compared with the original image, the histogram of the transformed image is more uniform and flat and the gray level is clearer.