Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
Main Photography Discussion
Best App for fixing out of focus picture
Page <<first <prev 5 of 5
Jan 6, 2023 16:34:27   #
Fredrick Loc: Former NYC, now San Francisco Bay Area
 
First photo below is a scanned version of an old Polaroid print. I took this photo and applied shake reduction in Photoshop Elements. One click. Certainly not perfect, but better.


(Download)


(Download)

Reply
Jan 6, 2023 17:53:07   #
RPaul3rd Loc: Arlington VA and Sarasota FL
 
rsellas wrote:
Best App for fixing out of focus picture


The best way to fix an out of focus photo is not to take one in the first place.

Reply
Jan 6, 2023 19:20:55   #
charlienow Loc: Hershey, PA
 
Fredrick wrote:
First photo below is a scanned version of an old Polaroid print. I took this photo and applied shake reduction in Photoshop Elements. One click. Certainly not perfect, but better.


I ran this thru Topaz AI Photo for a comparison

Chuck


(Download)

Reply
 
 
Jan 6, 2023 22:07:40   #
yssirk123 Loc: New Jersey
 
Try Topaz Sharpen AI - I had a lens that was intermittently not focusing properly and I was able to save a good % of the images. If your shots are badly out of focus, it won't work very well.

Reply
Jan 7, 2023 11:35:03   #
JD750 Loc: SoCal
 
SalvageDiver wrote:
The basic process used is 'Deconvolution" and well-known. You can get a quick synopsis from wikipedia. A more thorough explanation of this process can be found in almost any signal or image processing text.

Basically, if you try and take an image of a very small point (like a very narrow beam laser) of know characteristics, that image is spread or blurred as it passes thru the lens onto the sensor (or film). The blurring is referred as the point spread function (PSF). So you have the original image multiplied by the PSF (convolved in the frequency domain) to get the final blurred image.

At NASA (or Langley), the camera/lens systems are physically tested to get a very accurate measure of it's PSF. The better the PSF (and noise) is known, the better the original image can be recovered from the recorded image. The process is to divide the recorded image by the PSF (deconvolved in the frequency domain) to recover the original image. The recovered image will never be the same as the original unless you have a perfect measurement of the PSF and no noise. But it will be an improvement.

So your question is 'why hasn't it been incorporated into other products today?' Well it has, sort of.

The problem with incorporating this process into general software is that the PSF and noise is unknown for any given recorded image. These various software applications that purport to use deconvolution rely on what's called "blind deconvolution", even though they don't advertise this. They use basic estimates of an unknown PSF, either fixed or derived iteratively, to deconvolve with the recorded image. Gaussian-like functions are used with varying spreads to estimate a PSF. Some just refer to those as different model selections. Blind Deconvolution has not been highly effective as a general image restoration method for a number of reasons. The PSF of camera systems are complex with a number of lens characteristics contributing to image blurring, sensor characteristics and unknown noise characterization. Improvements in the deconvolution algorithms, such as Weiner deconvolution, Richardson-Lucy deconvolution, Van Cittert deconvolution, etc., has improved the process but is mainly used in more complex, specialized software.

The concept is well known, but good implementation is difficult requiring a good measure of the PSF and is computationally intensive since it's usually done in the frequency domain. Blind Deconvolution in general photography provides very limited benefits and creates very messy results when overdone.

Referring back to the OP, if simple sharpening can't fix it, the delete key is your best friend.
The basic process used is 'Deconvolution" and... (show quote)

That makes sense!!

Thank you for explaining that! :) I learned something today!

I see the key here is having knowledge of the PSF. So it’s a “best guess” with commercial software applications.

Reply
Jan 7, 2023 17:27:32   #
bobbyjohn Loc: Dallas, TX
 
Fotoartist wrote:
A little out of focus, that would be Photoshop and Topaz. I call it Reviving Sharpness. Beyond that and it goes in the round file.

Hello Fotoartist. Another possibility is Luminar NEO. Here I used the extension called Supersharp AI, set to Middle level. Took only 2 clicks to achieve this result.


(Download)

Reply
Jan 7, 2023 18:31:50   #
CHG_CANON Loc: the Windy City
 
bobbyjohn wrote:
Hello Fotoartist. Another possibility is Luminar NEO. Here I used the extension called Supersharp AI, set to Middle level. Took only 2 clicks to achieve this result.


I wouldn't expect to get paid when submitting either version.

Reply
 
 
Jan 7, 2023 19:32:00   #
SalvageDiver Loc: Huntington Beach CA
 
JD750 wrote:
That makes sense!!

Thank you for explaining that! :) I learned something today!

I see the key here is having knowledge of the PSF. So it’s a “best guess” with commercial software applications.


Glad to help. Been using these techniques, primarily in the field of spectroscopy, for the last 35 years prior to retiring. I know this subject deviated somewhat from the OP's original post, but what the heck; it's still interesting.

Another misconception I read in this thread was that the information in a blurred image is lost, which it isn't. As it passes thru an optical system, it's just rearranged by the true PSF. Using a good estimate of the PSF allows the re-rearrangement back to close to the original image (i.e. linear systems are reversable). Used extensively in the scientific community, especially in astronomy, microscopy, medicine and forensics to name a few.

Happy new year JD750, wish you and your family all the best in 2023.

Reply
Jan 8, 2023 12:48:14   #
jlg1000 Loc: Uruguay / South America
 
bobbyjohn wrote:
Hello Fotoartist. Another possibility is Luminar NEO. Here I used the extension called Supersharp AI, set to Middle level. Took only 2 clicks to achieve this result.


Left: slightly out of focus but might be usable with some sharpening in CO1 or LR, and the viewed from 3' or 4' away...

Right: full of ugly artifacts and halos, impossible to improve or correct... straight to the trash bin.

I've tried many of those programs and measured entropy of the outcome in Matlab to find out that they only give the impression of sharpness. Usually the introduced artifacts are worse than the slight out if focus of the original.

Besides, the left photo could be beautiful if you'd added some Orton effect to further *defocus* it

Reply
Jan 9, 2023 01:05:37   #
JD750 Loc: SoCal
 
SalvageDiver wrote:
Glad to help. Been using these techniques, primarily in the field of spectroscopy, for the last 35 years prior to retiring. I know this subject deviated somewhat from the OP's original post, but what the heck; it's still interesting.

Another misconception I read in this thread was that the information in a blurred image is lost, which it isn't. As it passes thru an optical system, it's just rearranged by the true PSF. Using a good estimate of the PSF allows the re-rearrangement back to close to the original image (i.e. linear systems are reversable). Used extensively in the scientific community, especially in astronomy, microscopy, medicine and forensics to name a few.

Happy new year JD750, wish you and your family all the best in 2023.
Glad to help. Been using these techniques, primar... (show quote)

Thanks again! Best to you and your family in the coming year!

Reply
Page <<first <prev 5 of 5
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
Main Photography Discussion
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.