Edge’s Super-Res Image Enhancement

One interesting feature that the Edge team is experimenting with this summer is called “SuperRes” or “Enhance Images.” This feature allows Microsoft Edge to use a Microsoft-built AI/ML service to enhance the quality of images shown within the browser. You can learn more about how the images are enhanced (and see some examples) in theContinue reading “Edge’s Super-Res Image Enhancement”


This content originally appeared on text/plain and was authored by ericlaw

One interesting feature that the Edge team is experimenting with this summer is called “SuperRes” or “Enhance Images.” This feature allows Microsoft Edge to use a Microsoft-built AI/ML service to enhance the quality of images shown within the browser. You can learn more about how the images are enhanced (and see some examples) in the Turing SuperRes blog post.

Currently only a tiny fraction of Stable channel users and much larger fraction of Dev/Canary channel users have the feature enabled by field trial flags. If the feature is enabled, you’ll have an option to enable/disable it inside edge://flags:

…and users of the latest builds will also see a “HD” icon appear in the omnibox. When clicked, it opens a configuration balloon that allows you to control the feature:

As seen in the blog post, this feature can meaningfully enhance the quality of many photographs, but the model is not yet perfect. One limitation is that it tends not to work as well for PNG screenshots, which sometimes get pink fuzzies:

“Pink Fuzzies” JPEG Artifacts

… and today I filed a bug because it seems like the feature does not handle ICCv4 color profiles correctly.

If you encounter failed enhancements like this, please report them to the Edge team using the … > Help and Feedback > Send Feedback tool so the team can help improve the model.

On-the-Wire

Using Fiddler, you can see the image enhancement requests that flow out to the Turing Service in the cloud:

Inspecting each response from the server takes a little bit of effort because the response image is encapsulated within a Protocol Buffer wrapper:

Because of the wrapper, Fiddler’s ImageView will not be able to render the image by default:

Fortunately, the response image is near the top of the buffer, so you can simply focus the Web Session, hit F2 to unlock it for editing, and use the HexView inspector to delete the prefix bytes:

…then hit F2 to commit the changes to the response. You can then use the ImageView inspector to render the enhanced image, skipping over the remainder of the bytes in the protocol buffer (see the “bytes after final chunk” warning on the left):

Stay sharp out there!

-Eric


This content originally appeared on text/plain and was authored by ericlaw


Print Share Comment Cite Upload Translate Updates
APA

ericlaw | Sciencx (2022-09-12T19:34:26+00:00) Edge’s Super-Res Image Enhancement. Retrieved from https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/

MLA
" » Edge’s Super-Res Image Enhancement." ericlaw | Sciencx - Monday September 12, 2022, https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/
HARVARD
ericlaw | Sciencx Monday September 12, 2022 » Edge’s Super-Res Image Enhancement., viewed ,<https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/>
VANCOUVER
ericlaw | Sciencx - » Edge’s Super-Res Image Enhancement. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/
CHICAGO
" » Edge’s Super-Res Image Enhancement." ericlaw | Sciencx - Accessed . https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/
IEEE
" » Edge’s Super-Res Image Enhancement." ericlaw | Sciencx [Online]. Available: https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/. [Accessed: ]
rf:citation
» Edge’s Super-Res Image Enhancement | ericlaw | Sciencx | https://www.scien.cx/2022/09/12/edges-super-res-image-enhancement/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.