Source: http://gizmodo.com/5953601/incredible-csi-enhance-technology-fixes-unfocused-photos
Remember all those movies and TV series in which a FBI agent turned a completely blurred photo into a focused image by clicking one button? Remember how you sneered? Well, soon you will not be able to laugh at it anymore. This app lets you deblur any heavily blurred image just like that.
Even while imperfect, the results are truly astonishing.
Created by Vladimir Yuzhikov—a software engineer specialized in image and signal processing—the SmartDeblur app is truly impressive. According to him, the "restoration of distorted images is one of the most interesting and important problems of image processing—from the theoretical, as well as from the practical point of view." Even while the math for doing it started to develop about 70 years ago, he says, it's only now that we are seeing the results of it.
Yuzhikov worked on two common cases: blurring due to incorrect focus and blurring due to movement. "Each of you knows very well," he points out, they "are very difficult to repair." In fact, the examples used as samples by Yuzhikov are impossible to fix using current commercial technology.
Magic processing
He started his work with his own picture of Venice. He applied a synthetic blurring filter on it and then he applied his software to it. It worked, as you can see it above. And while it didn't revert to its original state, the results were impressive.
Many people think that blurring is an irreversible operation and the information in this case is lost for good, because each pixel turns into a spot, everything mixes up, and in case of a big blur radius we will get a flat color all over the image. But it is not quite true—all the information just becomes redistributed in accordance with some rules and can be definitely restored with certain assumptions.
But, of course, artificially blurred images are not the real problem. The real problem is real world fuzzy images caused by poor lens focusing or unwanted motion blur. The results, however, were not as perfect but equally impressive.
Take a look at his examples:
Example of blurred image because of poor focus:
Taken with a Canon 500D camera using manual focus.
Yuzhikov's app result:
![Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_upMLd7UFr3gyhazcj5YDIPF7XtyZO2zjYVPgKQ0TZTCC6uf-VddvsFe9Q0-N8kBO8ns0froxeUm85JNi-JYVmW3T3lyKrpWrTknozfMVslHx8Jt5QV3_i21N-yDVZcWSA=s0-d)
Example of blurred image because of motion:
![Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tj7RFUcTc8GCnt5yghAP0iKw5Fe7DGX-az4DA7haoTsOZt558pvohZLw0VEvp2LfrkCp2hxbWl0JZXH1_UZQni5bLP7xGwGlGYOjyaM4JTqSdUuychXcdcIjY5iE31_6AJ=s0-d)
Yuzhikov's app result:
![Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_s-pdw8AxoQXwAYSS3BlhNe21pFcC29K1ZdDJ5Oq3FEqvTZT-NTBvg-lS7C0PGY2Go8uzEzscI7H3Jx09c7MGXLwsvLxGzDH8zDo7JsgYWtl-xqdFytItMpV4JcTDVf=s0-d)
Example of out of focus image of text (left) and fixed image (right)
![Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sicIYSnyRMzx41VQgkLYkhXWOCe_L0apT529vRTlaWTnQWCyhxrm82oox_5UEnrU-ztjvrAe1XS7f2JWS6ywAEoyllH3BtweEwjIdG35xYO0fZu2Go9hu2V8Gmn9qKHqprB8mv=s0-d)
The program
![Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos Incredible CSI-Like "Enhance!" Technology Fixes Unfocused Photos](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tdfoy2QI9sPqNGcjZmWcxY_U0K0rFZVgVJ5QNOBVlnA9ow-1MwgBP6HZAp9TLMrzssXZWR9LKKArbG8yDPh5TeQ92fbmog-CIHnOqVNhy2V1-AIpkxggKalODu9KIg=s0-d)
While the images have artifacts, it's quite amazing to see the level of detail that Yuzhikov's program can obtain from these blurred images, like window panes on windows that were just muddy spots. I'm sure that we will soon see this and much better focusing filters in future software. And with the computational power of smartphones increasing by the day—especially their graphic processing units, which are ideal for the math required in this—it will not be surprised to see this feature built in the camera software of future iOS, Android and Windows phones.
You can download and try it here (sadly, it's Windows-only now). [Yuzhikov—Thanks Ángel Jiménez!]
Read More...
Summary only...