The invention relates to a color transfer method and
system based on a visible light image and an
infrared image, and is applied to the field of
image processing, and the method comprises the steps: obtaining reference images corresponding to different scenery types, and constructing a dictionary
database according to the reference images, the dictionary
database comprising scenery dictionaries corresponding to different scenery types; obtaining an original visible light image and an original
infrared image, and carrying out gray scale multi-scale fusion to generate a gray scale
fusion image; partitioning the original visible light image and the
gray level fusion image according to a preset image
block size to generate a plurality of visible light image blocks and a plurality of
gray level fusion image blocks; the types of the visible light image blocks are judged according to the visible light image blocks and the dictionary
database, the colors of the reference images corresponding to the types of the visible light image blocks are transmitted to the
gray level fusion image block through a color transmission
algorithm, and a plurality of color fusion image blocks are generated; and splicing and fusing the plurality of color fusion image blocks to generate a
color image. The method has the technical effects that the color transmission is accurate, and the color assignment error is reduced.