A New Algorithm for Adding Color to Video or Animation Clips

 

(1, 2 )Zhigeng Pan        (1)Zhaohua Dong            (1)Mingmin Zhang

(1)     State Key Lab of CAD&CG, Zhejiang University, Hangzhou, 310027, Zhejiang, China

(2)     VRDM, Nanjing University, Nanjing, 210093, Jiangsu, China

{zgpan, dzh, zmm@cad.zju.edu.cn}

 

ABSTRACT

Colorizing grayscale video is a useful technique in scientific computing visualization and entertainment. In this paper, we introduce a method to transfer color from a reference image to the whole video. Although the general problem of adding chromatic values to a grayscale image has no exact, objective solution, the current approach attempts to free user from laborious work, except that the user may contribute their skill to reference image. Rather than choosing RGB colors from a palette to color individual components, we resort to anther color space, called lab, which minimizes correlation between channels for many natural scenes. Taking advantage of the correlation between two conjoint frames of video, we track the object and assign the color of it in the preceding frame to that of the posterior one. Experimental results show the algorithm works quite well.