The present application relates to a color transfer method, device, equipment and storage medium, which are applied in the field of
image processing, including obtaining reference images corresponding to different scene types, and building a dictionary
library based on the reference images, the dictionary
library including scene dictionaries corresponding to different scene types; obtaining original visible light images and original
infrared images, and performing
grayscale multi-scale fusion to generate
grayscale fusion images; dividing the original visible light image and the
grayscale fusion image into blocks according to a preset image
block size, generating a number of visible light image blocks and a number of grayscale
fusion image blocks; judging the types of a number of visible light image blocks according to the visible light image blocks and the dictionary
library, and transferring the color of the
reference image corresponding to the type of the visible light image block to the grayscale
fusion image block using a color transfer
algorithm, generating a number of color fusion image blocks; splicing and fusing a number of color fusion image blocks to generate a
color image. The technical effects of the present application are: accurate color transfer and reduction of color assignment errors.