Colorization is as old as film itself dating back well over a century to the dawn of silent movies, usually then just as a special effect. It was highly laborious and performed by individuals, so naturally computers were recruited as soon as that became practical in the 1970s but still it was only to assist humans. Use cases now included not just converting movies originally filmed in black and white but also to restore quality of color content including TV shows where the quality had deteriorated through ageing of the film medium.
A major problem with earlier digital methods was that colors had to be assigned by region and dividing frames up accordingly was still highly laborious, before the computer could get to work. Furthermore colorization of moving images also requires tracking the shifting positions of regions from one frame to the next in motion compensation. Some automatic region-tracking algorithms were developed, but with limited success and low accuracy, resulting in poor representation of reality.
However the process seemed tailor made for machine learning when that became possible on sufficient scale a few years ago. Not surprisingly given that its business is colorization Timebrush Studios was one of the first to develop a process based on neural net technology to produce colors with clearer lines and less spill-over.
Another step forward was made by a team at the Hebrew University of Jerusalem’s Benin School of Computer Science and Engineering by cutting out that manual region detection process on the premise that adjacent pixels with similar gray levels both spatially within frames and over time between frames should also have similar colors.
But it has all been very much work in progress and now Japan’s NHK has made a concerted effort to harness machine learning firstly to cut down the human effort further and ultimately eliminate it entirely so that large scale colorization of archives can take place, which is clearly desirable at least for restoration of legacy color content shot in the pre-digital era. NHK has divided the task into three distinct, but interlocking processes, each with its own version of machine learning, using a deep 100-layer deep convolutional model with sufficient training power and discrimination.
Firstly comes the process of colorizing individual frames, for which the system was trained on footage converted to black and white from high quality contemporary content. The model was then trained hard until it yielded frames in color as close as possible to the original.
But inevitably given the variable quality of some old black and white footage this resulted in significant differences in color between successive frames even when very little change or movement had occurred, which would look incongruous with colors constantly changing incorrectly. So the second machine learning module propagates colors between frames after they have been assigned by the first algorithm, essentially a normalizing process to ensure consistency. This would then yield a much more convincing colorization, although it could still be significantly different from reality because of various artefacts in the process. Therefore a third module is to assist human editors apply corrections as quickly and accurately as possible.
Still under development there is no published literature on NHK’s method which was demonstrated at IBC 2018, but the plan is to start serious trials in 2019 with a view to commercialization.