Zum Hauptinhalt springen
TU Graz/ TU Graz/ Services/ News+Stories/

AI Algorithm Puts the Colour Back in Black and White Films

03/20/2023 | TU Graz news | Research

By Susanne Filzwieser

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

Researchers at TU Graz have developed an AI-based algorithm that is now the basis of software for realistically coloring historical black-and-white films. Image source: HS-ART.

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 digitisation and (partially) improved through digital restoration. Efforts have been made since the 1970s to colourise this film footage. However, there was no real progress – the effort and the associated costs for manual or semi-automatic colouring techniques were too high. It is possible in principle to colour films fully automatically. However, this has the disadvantage that the colours 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 specialised in the restoration of historical films HS-Art have developed an integrated software application that combines interactive and automated colouring techniques with deep learning technologies. The result is an algorithm for a predominantly automatic, yet fully user-controlled colouring process.

This video is hosted by Youtube, clicking on it will send data to Youtube. The privacy policy of Youtube applies.
Play video
 

Realistic colouring

According to Pock, it is essential that humans can influence the colouring process: “You always need someone who is familiar with the historical traditions who can say what the clothes, the facades, 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 colouring of historical films. “It’s about colouring the films as efficiently as possible with as little user input as possible. This can mean, for instance, that a person specifies the colouring for a film frame and the software then takes over the colouring 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 colouring 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 colour schemes.

Authentic image noise

With the algorithms developed, the films can be restored extremely cleanly and also coloured – 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 colouring.”

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 the ZDFzeit documentary series “Hitler’s Power” to colour historical footage true to the original.

Would you like to receive the latest stories, news, research stories, interviews or blog posts from TU Graz directly on your smartphone or in your email inbox? Subscribe to the TU Graz Telegram newsletter free of charge.

Contact

Thomas POCK
Univ.-Prof. Dipl.-Ing. Dr.techn.
TU Graz | Institute of Computer Graphics and Vision
Phone: +43 316 873 5056
thomas.pocknoSpam@tugraz.at