View Full Version : Refocus blurred
fenomeno83
15th April 2019, 18:37
Hi.
What can I use to focus blurred images?
thanks
johnmeyer
15th April 2019, 19:55
Hi.
What can I use to focus blurred images?
thanksThere are various programs you can buy which promise to do this, but the fact is, it cannot be done. That is why NASA had to send astronauts up to the Hubble Telescope after they discovered that its optics were flawed and it could not focus correctly. The astronauts added an additional optical device, much like putting on a pair of eyeglasses, and that put everything into focus.
The point of my story is that, even with NASA's infinite compute power, they couldn't re-focus images that were taken out of focus.
Mounir
17th April 2019, 23:29
Try akvis refocus
StainlessS
18th April 2019, 01:37
That is why NASA had to send astronauts up to the Hubble Telescope after they discovered that its optics were flawed and it could not focus correctly. The astronauts added an additional optical device, much like putting on a pair of eyeglasses, and that put everything into focus.
e-focus images that were taken out of focus.
Something many people dont know is that NASA had a second lens ground for Hubble, [on even a different continent], as it took about 11 years (or something like that to grind, and if earthquake or whatever destoyed lens, did not wanna start all over again). The 2nd lens was ground at Grubb Parsons (an engineerring company on TyneSide, North East England, (about Walker[EDIT: actually Heaton] I think, just outside of NewCastle [where the brown ale comes from]).
2nd lens was just fine, but probably a little big to hump up into space, easier to put on the space spectacles.
johnmeyer
18th April 2019, 03:25
Something many people dont know is that NASA had a second lens ground for Hubble, [on even a different continent], as it took about 11 years (or something like that to grind, and if earthquake or whatever destoyed lens, did not wanna start all over again). The 2nd lens was ground at Grubb Parsons (an engineerring company on TyneSide, North East England, (about Walker I think, just outside of NewCastle [where the brown ale comes from]).
2nd lens was just fine, but probably a little big to hump up into space, easier to put on the space spectacles.I didn't know that. I do know that NASA has had some epic, and rather stupid fails. Not grinding the primary lens correctly was pretty epic, but even worse was the failure to correctly convert English to metric which in 1999 resulted in the crash and total loss of one of the Mars probes.
jmac698
3rd May 2019, 23:00
Fixing blurred images, mathematically, is known as an ill-posed problem, roughly meaning the number of solutions are infinite. However, there's ways around this problem, by making some assumptions about the answer, such as things that make sense like the picture will be positive values, or that the histogram of the pixel differences is narrower. These approaches do give reasonable answers. Another approach is to train neural nets, where a suitable function is automatically determined from examples of the data, and this works great too. A typical artefact of these solutions is ringing on the edges of the result though.
In practical terms, there's a number of free packages for deblurring images, but as for something easy to fix blurred videos, I'm not up on video products these days so I'm not sure.
What you are looking for (and what I've been talking about) is known technically as blind deconvolution, so that's a search term for some of the more geeky solutions.
A geeky solution may be found here:
https://github.com/shuochsu/DeepVideoDeblurring
https://www.youtube.com/watch?v=NoqRMlbqgaQ
By geeky I mean, it would take some knowledge in Matlab or Python to set up and try the programming.
jmac698
3rd May 2019, 23:15
I should point out that "sharpening" is a kind of deblurring, for minimal blurriness, where deblurring is usually reserved for more severe out of focus or motion blur. I've included a selection, mostly for deblur.
For images, there are several free programs. One uses the Seddara technique.
https://quarktet.com/joom/index.php/seddara
The free software is called Tria
https://quarktet.com/joom/index.php/tria-image-pro
A built-in fuction in Matlab
https://www.mathworks.com/help/images/examples/deblurring-images-using-the-blind-deconvolution-algorithm.html
Smart Deblur
http://smartdeblur.net/
Motion Deblur
http://www.cse.cuhk.edu.hk/leojia/projects/robust_deblur/
Focus Magic
http://www.focusmagic.com/
Wondershare Fotophire Focus
https://photo.wondershare.com/photo-focus.html
Unshake
http://www.zen147963.zen.co.uk/Unshake/Download.html
Movavi Photo Editor
https://www.movavi.com/photo-editor/
Tapaz Labs
https://www.topazlabs.com/downloads
Robust Motion Deblur
http://www.cse.cuhk.edu.hk/~leojia/deblurring.htm
inPixio
https://www.inpixio.com/photo-focus/
Blurity
https://www.microsoft.com/en-us/store/p/youcam-makeup-makeover-studio-editor/9nklg59r0tk0
Websites
Fotor Photo Blur
URL: http://www.fotor.com/features/blur.html
Photo Sharpen
URL: http://www.photo-sharpen.com/
Lunapic
URL: https://www194.lunapic.com/editor/?action=sharpen
Enhance.Pho.to
URL: http://enhance.pho.to/
Mara Sharpen
URL: https://mara.photos/sharpen/
Photopea
URL: https://www.photopea.com/
Pine Tools
URL: http://pinetools.com/sharpen-image
Sharpen Photo Online
URL: https://www.tutorialspoint.com/sharpen_photo_online.htm
jmac698
3rd May 2019, 23:27
Slightly off topic, there's a number of ways to avoid blur in the first place by using computational photography techniques. This is the idea of re-imagining a camera as a device which collects data in a suitable way that can be inversely computed into a picture after the fact. For example, what's a shape, that if applied the operation of shearing, retains it's same shape? The answer is a parabola. When you shear a parabola, you still have a parabola, but offset by some amount. What does this mean for photography? Well, if you take a picture of say, a moving car (it has to be something in one direction only), while moving the camera in a parabola pattern - meaning, moving it left and right with acceleration during the same exposure, you can perfectly recreate motion blur - free pictures.
Another way involves different patterns of flash in the same exposure, the reason it works is that, these patterns create a unique artificial blur that can be used as prior knowledge to find a unique solution to an ill-posed problem. Another way is to use a special lens that makes all blur the same, no matter how far away, this is because if you apply the same deblurring function to an image, it works best only for one kind of blur, where the blur changes depending on how far away the object is. Which leads to another technique - finding some way to get a rough 3d map of the scene (basically distance of each pixel), to apply appropriate different deblurs to each section.
That's just a summary of some of the research. Just don't anyone to think it's impossible or not solvable problem, maybe to the average consumer, but the tech is definitely coming down :)
jmac698
3rd May 2019, 23:34
NASA did fix the blurry Hubble images - but a real fix is still better.
In fact, this mistake happening caused a huge amount of research into how to fix it in software, and was a great boon to the topic.
https://ntrs.nasa.gov/search.jsp?R=19940018024
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.