In the fields of industry, security, military and other areas, high gray-level low contrast images have been widely used. However, due to the large dynamic range of gray level, high noise, blurry detail information and low contrast, it brings difficulties to subsequent image enhancement, target detection and other processes. Ordinary image enhancement algorithms are only suitable for conventional 8-bit images, which are not effective to deal with high-gray and low-contrast images. To address these issues, this paper proposed an adaptive high-gray image enhancement algorithm based on logarithmic mapping and simulated exposure, which was used for processing X-ray film images, infrared images, SAR images and other high gray-level low contrast images. Firstly, a detailed algorithm model construction method was provided for high gray-level low contrast images. Secondly, in order to verify the universality of the algorithm proposed in this paper, qualitative and quantitative experimental analyses were carried out using X-ray film images, infrared images and SAR images respectively. Finally, taking the most complex infrared image in the application environment as an example, the images, enhanced by the algorithm proposed in this paper, were sent to the YOLOv8 neural network for target detection, which improved the detection accuracy. The experiment shows that the algorithm, proposed in this paper, can significantly improve the image quality of high gray-level low contrast images, the detail information is obvious and the contrast is significantly improved. Various indicators are far higher than those of traditional algorithms. At the same time, this algorithm can provide reliable technical support for applications, such as target detection and target tracking in this field.