Broadcast News
07/11/2019
Machine Learning Fueled Video Super Resolution
Worldwide, millions of hours of video are being watched daily from a variety of sources such as live streaming, cable TV, Blu-Ray and DVD.
With the widespread presence of HD, UHD 4K, and recently 8K, televisions, the demand for high-quality versions of low-resolution video has never been greater. However, many of these videos are either limited by the resolution they were originally acquired in, or degraded to accommodate the requirements for specific display devices and to reduce network bandwidth.
When rendering lower resolution video practically all display devices are currently able to perform interpolation (bilinear, bicubic, Lanczos, etc.). This makes edges, textures and abstract shapes look blurry and aesthetically unpleasing. Interpolation is a basic, computationally cheap technique, which has the inherent drawback that no enhancement is done.
It is not cool when your brand new BMW is stuck in first gear. Sure, the car runs, but it is unsatisfying to say the least. As video consumers we should demand video to look as awesome as possible on our devices, but unfortunately the present state of affairs is that we have come to lower expectations for e.g. older content that wasn't produced for our modern, high pixel count displays. The reason being that not many solutions exist to the problem of increasing resolution after the final cut and digital mastering.
Re-digitization and restoration of film stock is a good option in terms of achieving optimal visual results (e.g. Peter Jackson's "They Shall Not Grow Old"). Normally this requires manual handling which comes with a hefty price tag. ML/AI powered tools provide ways of reducing cost in the future, but today these projects very much rely on manual labor.
Generally footage is not recorded on film because the storage medium and handling is too expensive for most use cases. The past 20 years most footage is mostly shot and mastered digitally, and analog tape video recording for TV production has a history dating back to the late 1950s. Unfortunately recreating the original signal at any resolution is a mathematical impossibility (unlike what you would believe by watching CSI and Hollywood movies), but certainly there must be ways to improve upon basic interpolation without breaking the bank. If there is an untapped potential which improves the viewer experience why not go for it?
Super Resolution to the rescue
Super-resolution technology, either on individual images or video, has progressed a lot in recent years and yields significantly better results compared to interpolation. It’s a very attractive research topic and more than 600 papers has been published over the last two decades. These techniques to a certain extent require information to be hallucinated. Most methods are computationally very expensive, and while feasible in a research setting for image processing they are either too slow or not designed for video. Commercial video super-resolution products using fast methods do exist today as plugins for video editing tools and in high-end UHD TV sets, but they are still not common.
Deep Learning techniques such as end-to-end trained Generative Adversarial Networks (GANs) are slowly starting to become state-of-the-art for video, but it is still very much a topic of active research in terms of dealing with issues like temporal consistency. As an example, exciting work has been published very recently by researchers at fast.ai on combining "decrappification" and "deoldification" with Super Resolution. Their results are exciting and shows high quality, high resolution video can now be produced from seriously degraded footage.
However, the major disadvantage of Deep Learning based approaches today is the fact they are not straight-forward to deploy in a production setting. These techniques require a lot of (GPU) memory which becomes an issue when generating UHD 4K and 8K output.
A practical approach
With "PABSR1" ("PAtch-Based Super Resolution 1"), PIXOP has created a patch-based image processing technique that incorporates machine learning in order to produce high-quality versions of low-resolution videos. Our method is largely inspired by "RAISR" ("Rapid and Accurate Image Super Resolution"), the revolutionizing super-resolution technique developed by Google back in 2016. RAISR was motivated by a desire to save transmission bandwidth on Google+ for mobile devices. Its speed/image quality/versatility design trade-off makes RAISR a really interesting candidate for video super-resolution, as well.
It's been quite a journey, though. As as first attempt, I worked for several months back in 2017 to get a full implementation of RAISR running in plain Julia code. Although the RAISR paper is awesome and describes most aspects in great detail, it turned out to be challenging to get all bells and whistles working right.
Early prototype work from 2017 showing a working implementation of RAISR in Julia for video enhancement. Processing all the frames for this short video took more than 36 hours.
PABSR1, which has distinct algorithmic differences and improvements compared to RAISR (e.g. by computing gradients more robustly), when implemented in optimized C++ including various AVX2 intrinsics running on AWS infrastructure, is capable of producing visually convincing results on video. By processing individual frames separately it can produce around 35 frames per second of HD video using CPUs only. This makes video super-resolution practical as a 50 minutes episode of a TV series can be processed in about half an hour.
Trained filters
PABSR1 filters are trained on patches from corresponding low-res and high-res image pairs, according to three edge features:
• Angle, the direction of an edge
• Strength, the edge sharpness
• Coherence, a measure of edge directionality
A lookup hash table is then generated based on these features, the modulo of the pixel position and a combination of least-squares solvers.
A subset of learned filters for 3x super-resolution. The intensity and colour of each kernel value in this visualization designates the weight and sign (red for positive feedback, blue for negative feedback).
Notice how, from left to right, that filters have a selective response to the underlying edge being reconstructed, i.e. as the angle of the edge changes, the gradient angle of the filter rotate accordingly. Similarly, as the strength increases, the sharpness of the filters increases, and the directionality of the filter increases with rising coherence.
At run-time PABSR1 selects and applies the most relevant learned filter. When these filters are applied, they recreate details which are comparable to the original (while also avoiding aliasing issues like Moire patterns and jaggies), i.e. a significant improvement to interpolation.
Sharpness boosting
A powerful advantage of the filter learning approach is the possibility to bake sharpness boosting into the learned filters. This allows e.g. clarity to be enhanced during run-time upscaling; a highly useful property in the context of video in order to compensate for degradations such as blur and compression.
PABSR1 2x upscaling: plain vs sharpness boosted. The learned filters used to produce the right image include sharpness boosting in the training phase. Fine details like e.g. body hair and wood textures stand out significantly clearer as a result.
You might be wondering whether it is possible to get similar results by simply sharpening an interpolated image. However, it does not look nearly as good from my testing. The ML approach used in PABSR1 for learning "optimal sharpening" is superior as it respects image gradients.
Fractional upscaling
Fractional upscaling factors are currently achieved via trilinear interpolation between super-resolved versions of the low resolution image (nearest integer factors, in this case 2x and 3x).
2.25x upscaling achieved by combining intermediate 2x and 3x super-resolved results.
Try it yourself
Additional interactive examples can be found on our website, and PABSR1 can be tested at no cost as part of PIXOP Platform's beta tester program.
www.pixop.com
Image Credit: Denise Jans
With the widespread presence of HD, UHD 4K, and recently 8K, televisions, the demand for high-quality versions of low-resolution video has never been greater. However, many of these videos are either limited by the resolution they were originally acquired in, or degraded to accommodate the requirements for specific display devices and to reduce network bandwidth.
When rendering lower resolution video practically all display devices are currently able to perform interpolation (bilinear, bicubic, Lanczos, etc.). This makes edges, textures and abstract shapes look blurry and aesthetically unpleasing. Interpolation is a basic, computationally cheap technique, which has the inherent drawback that no enhancement is done.
It is not cool when your brand new BMW is stuck in first gear. Sure, the car runs, but it is unsatisfying to say the least. As video consumers we should demand video to look as awesome as possible on our devices, but unfortunately the present state of affairs is that we have come to lower expectations for e.g. older content that wasn't produced for our modern, high pixel count displays. The reason being that not many solutions exist to the problem of increasing resolution after the final cut and digital mastering.
Re-digitization and restoration of film stock is a good option in terms of achieving optimal visual results (e.g. Peter Jackson's "They Shall Not Grow Old"). Normally this requires manual handling which comes with a hefty price tag. ML/AI powered tools provide ways of reducing cost in the future, but today these projects very much rely on manual labor.
Generally footage is not recorded on film because the storage medium and handling is too expensive for most use cases. The past 20 years most footage is mostly shot and mastered digitally, and analog tape video recording for TV production has a history dating back to the late 1950s. Unfortunately recreating the original signal at any resolution is a mathematical impossibility (unlike what you would believe by watching CSI and Hollywood movies), but certainly there must be ways to improve upon basic interpolation without breaking the bank. If there is an untapped potential which improves the viewer experience why not go for it?
Super Resolution to the rescue
Super-resolution technology, either on individual images or video, has progressed a lot in recent years and yields significantly better results compared to interpolation. It’s a very attractive research topic and more than 600 papers has been published over the last two decades. These techniques to a certain extent require information to be hallucinated. Most methods are computationally very expensive, and while feasible in a research setting for image processing they are either too slow or not designed for video. Commercial video super-resolution products using fast methods do exist today as plugins for video editing tools and in high-end UHD TV sets, but they are still not common.
Deep Learning techniques such as end-to-end trained Generative Adversarial Networks (GANs) are slowly starting to become state-of-the-art for video, but it is still very much a topic of active research in terms of dealing with issues like temporal consistency. As an example, exciting work has been published very recently by researchers at fast.ai on combining "decrappification" and "deoldification" with Super Resolution. Their results are exciting and shows high quality, high resolution video can now be produced from seriously degraded footage.
However, the major disadvantage of Deep Learning based approaches today is the fact they are not straight-forward to deploy in a production setting. These techniques require a lot of (GPU) memory which becomes an issue when generating UHD 4K and 8K output.
A practical approach
With "PABSR1" ("PAtch-Based Super Resolution 1"), PIXOP has created a patch-based image processing technique that incorporates machine learning in order to produce high-quality versions of low-resolution videos. Our method is largely inspired by "RAISR" ("Rapid and Accurate Image Super Resolution"), the revolutionizing super-resolution technique developed by Google back in 2016. RAISR was motivated by a desire to save transmission bandwidth on Google+ for mobile devices. Its speed/image quality/versatility design trade-off makes RAISR a really interesting candidate for video super-resolution, as well.
It's been quite a journey, though. As as first attempt, I worked for several months back in 2017 to get a full implementation of RAISR running in plain Julia code. Although the RAISR paper is awesome and describes most aspects in great detail, it turned out to be challenging to get all bells and whistles working right.
Early prototype work from 2017 showing a working implementation of RAISR in Julia for video enhancement. Processing all the frames for this short video took more than 36 hours.
PABSR1, which has distinct algorithmic differences and improvements compared to RAISR (e.g. by computing gradients more robustly), when implemented in optimized C++ including various AVX2 intrinsics running on AWS infrastructure, is capable of producing visually convincing results on video. By processing individual frames separately it can produce around 35 frames per second of HD video using CPUs only. This makes video super-resolution practical as a 50 minutes episode of a TV series can be processed in about half an hour.
Trained filters
PABSR1 filters are trained on patches from corresponding low-res and high-res image pairs, according to three edge features:
• Angle, the direction of an edge
• Strength, the edge sharpness
• Coherence, a measure of edge directionality
A lookup hash table is then generated based on these features, the modulo of the pixel position and a combination of least-squares solvers.
A subset of learned filters for 3x super-resolution. The intensity and colour of each kernel value in this visualization designates the weight and sign (red for positive feedback, blue for negative feedback).
Notice how, from left to right, that filters have a selective response to the underlying edge being reconstructed, i.e. as the angle of the edge changes, the gradient angle of the filter rotate accordingly. Similarly, as the strength increases, the sharpness of the filters increases, and the directionality of the filter increases with rising coherence.
At run-time PABSR1 selects and applies the most relevant learned filter. When these filters are applied, they recreate details which are comparable to the original (while also avoiding aliasing issues like Moire patterns and jaggies), i.e. a significant improvement to interpolation.
Sharpness boosting
A powerful advantage of the filter learning approach is the possibility to bake sharpness boosting into the learned filters. This allows e.g. clarity to be enhanced during run-time upscaling; a highly useful property in the context of video in order to compensate for degradations such as blur and compression.
PABSR1 2x upscaling: plain vs sharpness boosted. The learned filters used to produce the right image include sharpness boosting in the training phase. Fine details like e.g. body hair and wood textures stand out significantly clearer as a result.
You might be wondering whether it is possible to get similar results by simply sharpening an interpolated image. However, it does not look nearly as good from my testing. The ML approach used in PABSR1 for learning "optimal sharpening" is superior as it respects image gradients.
Fractional upscaling
Fractional upscaling factors are currently achieved via trilinear interpolation between super-resolved versions of the low resolution image (nearest integer factors, in this case 2x and 3x).
2.25x upscaling achieved by combining intermediate 2x and 3x super-resolved results.
Try it yourself
Additional interactive examples can be found on our website, and PABSR1 can be tested at no cost as part of PIXOP Platform's beta tester program.
www.pixop.com
Image Credit: Denise Jans
Useful Links
Top Related Stories
Click here for the latest broadcast news stories.
17/07/2015
Avid To Host 4K & Resolution Independence Pro Video Event in New York
Avid will host a 4K & Resolution Independence Pro Video Event in New York on July 29, where attendees will discover how Avid Resolution Independence a
Avid To Host 4K & Resolution Independence Pro Video Event in New York
Avid will host a 4K & Resolution Independence Pro Video Event in New York on July 29, where attendees will discover how Avid Resolution Independence a
24/06/2005
VGA resolution on the way for Mpeg-4 video enabled mobile devices
Hantro, a leading provider of mobile video technology, has announced that Freescale Semiconductor has integrated their MPEG-4 encoder System on Chip (
VGA resolution on the way for Mpeg-4 video enabled mobile devices
Hantro, a leading provider of mobile video technology, has announced that Freescale Semiconductor has integrated their MPEG-4 encoder System on Chip (
30/07/2002
ITC produces training video on flashing images
A training video to help producers of programmes and advertisements comply with the Independent Television Commission's Guidance Note on the Use of Fl
ITC produces training video on flashing images
A training video to help producers of programmes and advertisements comply with the Independent Television Commission's Guidance Note on the Use of Fl
14/02/2002
BBC Learning release classic series on video and DVD
BBC Learning, a division of BBC Worldwide, have dipped into the BBC’s extensive archives to produce a series of classic television programmes on video
BBC Learning release classic series on video and DVD
BBC Learning, a division of BBC Worldwide, have dipped into the BBC’s extensive archives to produce a series of classic television programmes on video
14/08/2023
PSCo Launches High Resolution Absen 2.5mm LED Floor
Trade-only display specialist PSCo (part of the Midwich Group) is pleased to announce the introduction of the Absen MR2.5, the highest resolution LED
PSCo Launches High Resolution Absen 2.5mm LED Floor
Trade-only display specialist PSCo (part of the Midwich Group) is pleased to announce the introduction of the Absen MR2.5, the highest resolution LED
30/11/2017
Finding The Root Cause Of Piracy In A Multi-Format, Multi-Resolution Post-Production Industry
Author: Harrie Tholen, Managing Director at NexGuard, and Dan Tatut, VP Business Strategy & Development at Marquise Technologies. The past few years h
Finding The Root Cause Of Piracy In A Multi-Format, Multi-Resolution Post-Production Industry
Author: Harrie Tholen, Managing Director at NexGuard, and Dan Tatut, VP Business Strategy & Development at Marquise Technologies. The past few years h
04/08/2017
Cantemo Portal 3.2 Improves Search And Error Resolution
Cantemo has announced the latest update to its media management solution, Cantemo Portal. Cantemo Portal 3.2 will be demonstrated at IBC in September.
Cantemo Portal 3.2 Improves Search And Error Resolution
Cantemo has announced the latest update to its media management solution, Cantemo Portal. Cantemo Portal 3.2 will be demonstrated at IBC in September.
17/09/2013
Gefen 4x1 HDMI Switcher Delivers 4k Resolution
Digital connectivity solutions provider Gefen today announced that its 4x1 Switcher for HDMI 4k/2k is available to order, with shipments beginning in
Gefen 4x1 HDMI Switcher Delivers 4k Resolution
Digital connectivity solutions provider Gefen today announced that its 4x1 Switcher for HDMI 4k/2k is available to order, with shipments beginning in
18/07/2013
'Higher Resolution - Do We Need It?'
The IABM (International Association of Broadcasting Manufacturers) latest Technology Event was entiteled "Higher Resolution — Do We Need It?". Hosted
'Higher Resolution - Do We Need It?'
The IABM (International Association of Broadcasting Manufacturers) latest Technology Event was entiteled "Higher Resolution — Do We Need It?". Hosted
26/07/2011
Lighthouse Installs Highest Resolution LED Screen In Hong Kong Shopping Mall
Leading LED screen manufacturer Lighthouse Technologies has supplied one of Hong Kong's largest shopping and commercial complexes, amp, with an ultra-
Lighthouse Installs Highest Resolution LED Screen In Hong Kong Shopping Mall
Leading LED screen manufacturer Lighthouse Technologies has supplied one of Hong Kong's largest shopping and commercial complexes, amp, with an ultra-
29/10/2010
GefenPRO Supports High Resolution Computers
Digital connectivity solutions provider Gefen has announced the availability of its 10x4 DVI DL Matrix, a new addition to the recently introduced Gefe
GefenPRO Supports High Resolution Computers
Digital connectivity solutions provider Gefen has announced the availability of its 10x4 DVI DL Matrix, a new addition to the recently introduced Gefe
08/09/2010
Hamlet Introduces Compact High-Resolution Colour Legaliser
An expert in high precision cost effective test and measurement equipment, is extending its range with the IBC2010 launch of KromaScope, a full featur
Hamlet Introduces Compact High-Resolution Colour Legaliser
An expert in high precision cost effective test and measurement equipment, is extending its range with the IBC2010 launch of KromaScope, a full featur
05/08/2010
Premier Media Group Looks To Multi-Resolution Future With Quantel
Australian sports broadcaster Premier Media Group (PMG) has purchased a Quantel Enterprise sQ system to provide a platform to help it continue to meet
Premier Media Group Looks To Multi-Resolution Future With Quantel
Australian sports broadcaster Premier Media Group (PMG) has purchased a Quantel Enterprise sQ system to provide a platform to help it continue to meet
13/02/2009
Panasonic Announces New High-Resolution BT-LH2550E
Panasonic has announced the immediate availability of its new high-resolution BT-LH2550E LCD HD production monitor. With a full 1920 x 1200-pixel In-P
Panasonic Announces New High-Resolution BT-LH2550E
Panasonic has announced the immediate availability of its new high-resolution BT-LH2550E LCD HD production monitor. With a full 1920 x 1200-pixel In-P
21/05/2008
Super-Resolution Technology Makes History At Film Festival
'Sounds', the first movie produced with Super-Resolution Technology, came home with multiple awards in several categories at the recently completed Wo
Super-Resolution Technology Makes History At Film Festival
'Sounds', the first movie produced with Super-Resolution Technology, came home with multiple awards in several categories at the recently completed Wo