This article has been reviewed according to Science X's editorial process and policies. Editors have highlighted the following attributes while ensuring the content's credibility:

fact-checked

trusted source

proofread

AI algorithm puts the color back in black and white films

AI algorithm puts the color back in black and white films
Credit: Graz University of Technology

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 coloring 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.

Realistic coloring

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 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."

Credit: Graz University of Technology

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.

Authentic image noise

With the algorithms developed, the films can be restored extremely cleanly and also colored—but this is not always necessarily desirable. Pock says, "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 was published at a major international symposium, and the source code is freely available. For , 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 color historical footage true to the original.

Citation: AI algorithm puts the color back in black and white films (2023, March 20) retrieved 19 March 2024 from https://techxplore.com/news/2023-03-ai-algorithm-black-white.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Plasma-structural coloring: A new colorful approach to an inkless future

11 shares

Feedback to editors