As an important part of unmanned platform, the images taken by vehicle-mounted infrared camera are less affected by night, strong light and bad weather, which are widely used in the field of path planning and decision control in complex scenes. However, infrared images also have some shortcomings, such as high dynamic range, low contrast, high noise and blurred details, which make it difficult to enhance images and detect targets. In order to solve the above problems, two high grayscale infrared image enhancement algorithms were proposed in this paper. The MDDC_HDRII algorithm first proposed the idea of dehazing to solve the overexposure problem of the image, which adopted the method of multi-scale detail enhancement to improve the detail information of the image. PAEA_HDRII algorithm took the sensitivity of human vision as a reference factor, which made the image mostly in blue and red channels and enriched the detailed information of the image.Firstly, a high grayscale infrared image enhancement algorithm based on multi-scale fusion was proposed by combining the idea of debate and exposure fusion. Secondly, to solve the problems of poor visual effect and limited self-adaptation ability in the current pseudo-color ehancement algorithm, a pseudo-color enhancement algorithm for high gray-scale infrared images based on chromatographic remapping was proposed. Thirdly, qualitative and quantitative experiments were carried out by using the published FLIR data set. The results show that the two methods proposed in this paper can improve the overall quality of infrared images more effectively and highlight the details of the image. The objective image quality evaluation indexes are superior to most of the existing mainstream traditional algorithms. Then, two algorithms were used to enhance SAR images, and the experimental results show that this algorithm has good universality. Finally, the images enhanced by the two algorithms in this paper was sent to the YOLOv4 network for target detection, which improved the accuracy of target detection. The MDDC_HDRII algorithm first proposed the idea of dehazing to solve the overexposure problem of the image, which adopted the method of multi-scale detail enhancement to improve the detail information of the image. PAEA_HDRII algorithm took the sensitivity of human vision as a reference factor, which made the image mostly in blue and red channels and enriched the detailed information of the image.The algorithm can be applied in the image enhancement and target detection of vehicle-borne infrared images, SAR images, medical images and industrial film images, and provide reliable technical support for applications in related fields.