The invention discloses an
infrared image dynamic compression and detail enhancement method, a storage medium and an
infrared image dynamic compression and detail enhancement device. The method comprises the following steps: dividing an original image into a base layer and a detail layer by using a parameter-adaptive guide filter; the adaptive parameter of the guide filter is calculated according to a
local variance histogram of the to-be-processed original image, and the
local variance histogram of the original image is obtained by counting the
local variance of the to-be-processed original image; performing
dynamic range compression on the base layer; performing
image enhancement on the detail layer according to a
gain coefficient representing the overall definition of the image; the
gain coefficient is obtained according to the adaptive parameter; and combining the base layer image after
dynamic range compression with the detail enhanced image to obtain a final
dynamic range compression image. According to the invention, adaptive parameters are introduced, so that the filter is suitable for different
infrared images. In the enhancement of the detail layer, a
gain coefficient representing the overall definition of the image is calculated according to the adaptive parameters so as to improve the detail performance in the image.