News

AI algorithm puts the color back in black and white films

21.04.2023 - TU Graz has developed an AI-based algorithm that colors black-and-white images realistically. This is particularly interesting for the restoration of historical recordings.

Countless historical photographs are stored in black and white in the world’s archives. Today, these cultural assets and contemporary documents are conserved by means of digitization and – partially – improved through digital restoration. Efforts have been made since the 1970s to colorize this film footage. However, there was no real progress – the effort and the associated costs for manual or semi-automatic coloring techniques were too high. It is possible in principle to color films fully automatically. However, this has the disadvantage that the colors may be nice to look at, but they are not true to reality.

This is exactly where the project “RE:Color: Efficient colouring of films in cinema quality based on novel machine learning methods” at Graz University of Technology (TU Graz) came in. Computer scientists led by Thomas Pock from the Institute of Computer Graphics and Vision together with the Graz-based company specialized in the restoration of historical films, HS-Art, have developed an integrated software application that combines interactive and automated coloring techniques with deep learning technologies. The result is an algorithm for a predominantly automatic, yet fully user-controlled coloring process.

According to Pock, it is essential that humans can influence the coloring process: “You always need someone who is familiar with the historical traditions who can say what the clothes, the façades, etc. looked like back then. Was the soldier’s uniform green or blue? No algorithm can decide that, but it can learn from it.” The algorithm must therefore be fed with a sufficiently large collection of training samples in order to then automatically take over the coloring of historical films. “It’s about coloring the films as efficiently as possible with as little user input as possible. This can mean, for instance, that a person specifies the coloring for a film frame and the software then takes over the coloring of further frames,” explains Pock. This central requirement of user-guided control is only fulfilled thanks to pre-trained neural networks that can be dynamically influenced by user interaction.

For this purpose, the  researchers have developed different novel approaches in the field of automated coloring based on artificial intelligence (AI). Together with the developers of HS-Art, they then implemented the most efficient approach in a prototype application and generated a sufficiently powerful collection of training samples. Then the implementation of human-guided control took place to obtain authentic and appropriate color schemes.

With the algorithms developed, the films can be restored extremely cleanly and also colored – but this is not always necessarily desirable. Pock: “With historical footage and cinema films in general, you need a certain amount of noise, so-called “film grain”, otherwise it doesn’t look authentic to the audience. For this reason, the software can also artificially generate and add this noise again after restoration and coloring.”

The core algorithm was published at a major international symposium, and the source code is freely available. For efficient use, however, software based on this, which was developed by the project partner HS-Art and is in their product portfolio, is necessary. The “Diamant film colorizer” was used, for example, in a German TV documentary series to color historical footage true to the original.

Contact

Technische Universität Graz

Petergasse 12
8010 Graz
Austria

+43 316 873 0

Top Feature

Digital tools or software can ease your life as a photonics professional by either helping you with your system design or during the manufacturing process or when purchasing components. Check out our compilation:

Proceed to our dossier

Top Feature

Digital tools or software can ease your life as a photonics professional by either helping you with your system design or during the manufacturing process or when purchasing components. Check out our compilation:

Proceed to our dossier