Luminous Landscape Forum

Raw & Post Processing, Printing => Digital Image Processing => Topic started by: marcmccalmont on January 14, 2016, 09:29:47 am

Title: deconvolution sharpening plug in
Post by: marcmccalmont on January 14, 2016, 09:29:47 am
I've got a new computer and it seems my favorite sharpening plugin (for PS) is no longer available Focusfixer 3.21
Any suggestions for a replacement deconvolution sharpener?
Thanks in advance for your help
Marc
Title: Re: deconvolution sharpening plug in
Post by: bjanes on January 14, 2016, 09:47:43 am
I've got a new computer and it seems my favorite sharpening plugin (for PS) is no longer available Focusfixer 3.21
Any suggestions for a replacement deconvolution sharpener?
Thanks in advance for your help
Marc

Windows or Mac? Focus Magic is available on both and is very good. Topaz Detail and InFocus are also good.

Bill
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on January 14, 2016, 09:54:03 am
Windows or Mac? Focus Magic is available on both and is very good. Topaz Detail and InFocus are also good.

Bill
Windows!
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on January 14, 2016, 10:34:55 am
Windows or Mac? Focus Magic is available on both and is very good. Topaz Detail and InFocus are also good.

+1 on all three.

FocusMagic is primarily a deconvolution sharpening plugin, and it does a stellar job with automatically balancing between resolution restoration and noise suppression. This would be a direct replacement, only better.

Topaz Detail has a deconvolution control ('Deblur'), but its main forte is a very high level of control over all sorts of detail enhancement.

Topas InFocus is a deconvolution sharpening tool with much more control over the deconvolution parameters than 'Detail' offers, but can be a bit heavy on the artifact by-products (e.g. ringing) it creates, although that's usually caused by using the wrong settings, like too large a radius.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: m_rouleau on January 14, 2016, 04:42:02 pm
I've got a new computer and it seems my favorite sharpening plugin (for PS) is no longer available Focusfixer 3.21
Any suggestions for a replacement deconvolution sharpener?
Thanks in advance for your help
Marc

If you have Photoshop CC 2015, take a look at the Smart Sharpening filter. It is much improved over previous versions and very competitive with Focus Magic and InFocus in terms of results.
Title: Re: deconvolution sharpening plug in
Post by: bjanes on January 14, 2016, 07:59:09 pm
+1 on all three.

FocusMagic is primarily a deconvolution sharpening plugin, and it does a stellar job with automatically balancing between resolution restoration and noise suppression. This would be a direct replacement, only better.

Topaz Detail has a deconvolution control ('Deblur'), but its main forte is a very high level of control over all sorts of detail enhancement.

Topas InFocus is a deconvolution sharpening tool with much more control over the deconvolution parameters than 'Detail' offers, but can be a bit heavy on the artifact by-products (e.g. ringing) it creates, although that's usually caused by using the wrong settings, like too large a radius.

Perhaps I haven't read the Topaz documentation in sufficient detail, but from what I have seen they have done a poor job of differentiating 'Detail' from 'InFocus' and where one should use each tool. It seems to me that one would use InFocus primarily for capture sharpening and Detail for creative sharpening. At least that has been how I have been using them. InFocus has no built in masking and is applied globally unless you use it on a layer mask. However, I usually use FocusMagic for capture sharpening since it so easy to use and gives good results. Detail does have good built in masking, which makes it easy for selective creative sharpening.

For output sharpening, I usually use built in Lightroom algorithm or PhotoKit when I am printing from Photoshop.

Any pointers that you could provide would be most appreciated.

Regards,

Bill

Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on January 15, 2016, 04:28:25 am
I'll start with FocusMagic and go from there
Mostly used for global capture sharpening
Thanks
Marc
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on January 15, 2016, 04:47:50 am
Perhaps I haven't read the Topaz documentation in sufficient detail, but from what I have seen they have done a poor job of differentiating 'Detail' from 'InFocus' and where one should use each tool. It seems to me that one would use InFocus primarily for capture sharpening and Detail for creative sharpening.

Hi Bill,

That's correct.

However, Detail also has a 'Deblur' control, which is basically a much simplified control version of deconvolution (Capture) sharpening. But for Capture sharpening in particular, their InFocus plugin offers much more possibilities. 'Detail' on the other hand excels in modifying structural detail, which can come across as sharpening, but it isn't, it's Creative 'sharpening'. It does not do that by modifying acutance or edge-contrast, but rather by modifying the amplitude of certain spatial detail 'sizes' (frequencies).

I also use FocusMagic for it's excellent deconvolution quality with low risk of artifacts, as Capture sharpening tool, also because it really restores resolution. Sometimes I prefer the biting sharpness of InFocus, but that depends on the subject.
Detail is so good in bringing out surface detail and structure, that it's hard to beat with any other tool. It can also be used for output sharpening, after resampling to 600 or 720 PPI, although I sometimes also use FocusMagic for part of that (reclaiming a bit of resolution after upsampling to more than the file offers natively).

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bob Rockefeller on January 15, 2016, 09:58:48 am
Where does Affinity Photo fit in with all this?

Are it's sharpening tools up to standard?

Does it work properly with these Ps plug-ins?
Title: Re: deconvolution sharpening plug in
Post by: francois on January 15, 2016, 10:04:18 am
Where does Affinity Photo fit in with all this?

Are it's sharpening tools up to standard?

Does it work properly with these Ps plug-ins?

FocusMagic doesn't work at all. I've reported it and I hope they can find a way to make it work.
Title: Re: deconvolution sharpening plug in
Post by: Manoli on January 15, 2016, 10:42:34 am
Where does Affinity Photo fit in with all this? - Does it work properly with these Ps plug-ins?

The only Topaz plugin I've managed to install under Affinity is Clarity. Both InFocus and Detail don't work - yet.
Title: Re: deconvolution sharpening plug in
Post by: kirkt on January 15, 2016, 11:55:32 am
I've managed to get Detail, DeNoise and InFocus to work, Clarity crashes when I invoke it from AF.  I am running AF 1.4 on El Capitan 10.11.2.  I point the AF plug-in folder list to my PSCC2015 plug-in folder and allow global.  I also allow "Unknown" plug-ins. 

Ironically, the AF plug-in status window shows Clarity as the only one that is "Working."

Who knows...

Focus Magic does not work - only the Motion Blur option even shows up in the AF plug-in filter menu.  Piccure+ freezes AF after you select save and return to AF.

kirk
Title: Re: deconvolution sharpening plug in
Post by: Manoli on January 15, 2016, 01:44:04 pm
I've managed to get Detail, DeNoise and InFocus to work, Clarity crashes when I invoke it from AF.  I am running AF 1.4 on El Capitan 10.11.2.  I point the AF plug-in folder list to my PSCC2015 plug-in folder and allow global.  I also allow "Unknown" plug-ins. 

Ironically, the AF plug-in status window shows Clarity as the only one that is "Working."
Who knows...

Hmmm , exactly the same setup and settings , totally opposite result !
Title: Re: deconvolution sharpening plug in
Post by: ablankertz on January 19, 2016, 07:32:17 pm
If you have Photoshop CC 2015, take a look at the Smart Sharpening filter. It is much improved over previous versions and very competitive with Focus Magic and InFocus in terms of results.

I would say "very competitive" is an understatement- it's just as good. In the testing I've done, I couldn't find any improvement (and only trivial differences) in using Topaz Infocus or FocusMagic over Smart Sharpening set to "lens blur." Not surprising, really. There are only so many deconvolution algorithms out there, and it makes sense that different companies would find the same one the best for general purpose photography.
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on January 20, 2016, 01:12:12 pm
I couldn't find any improvement (and only trivial differences) in using Topaz Infocus or FocusMagic over Smart Sharpening set to "lens blur." Not surprising, really.

Interesting.  It is my understanding that Smart Sharpen 'lens blur' uses an Airy disc as the PSF, at least up to about CS5 or so.  I am not sure after that.

Jack
Title: Re: deconvolution sharpening plug in
Post by: t6b9p on January 21, 2016, 12:02:23 pm
For my own benefit (about 6 months ago) I performed a limited capture sharpening & NR matrix test. Preliminary testing was performed to find the optimum settings in each program for the image at hand. These settings were then utilized in the matrix test which resulted in about 350 images produced from a single B&W infrared image using combinations of:
ACR8 Sharpening & NR
Focus Magic
Topaz InFocus
Nik Sharpener (quickly dropped in preliminary testing)
Neatimage
Topaz Denoise
Nik DFine

Testing could have been far more exhaustive for the variety of combinations but preliminary "quick look see" narrowed it down to only 350 images!

All were pushed really hard using the same settings in Nik SilverEfexPro to exaggerate any issues.

In trying to pick the combination that showed the best detail & least artifacts, mazing, halos, ringing, "blockiness" etc when viewed at 100%, my conclusion:
Web sized Image ~ any of the combinations is fine, ACR being preferable due to simplicity and speed.
Large print ~ Focus Magic + Neatimage (ACR Sharpening & NR OFF).

Of course, your mileage may vary.
Title: Re: deconvolution sharpening plug in
Post by: kers on January 21, 2016, 12:46:02 pm
For my own benefit (about 6 months ago) I performed a limited capture sharpening & NR matrix test. Preliminary testing was performed to find the optimum settings in each program for the image at hand. ....


hello t6b9p,

When you talk about optimum settings, are you referring to print or screen?
I ask because on screen i see always lot of grain but in print not at all.
I hardly use any noise compression for they usually only ruin the detail in print.

Pieter Kers
Title: Re: deconvolution sharpening plug in
Post by: Simon Garrett on January 21, 2016, 01:17:38 pm
I understood that smart sharpen in PS used deconvolution sharpening, but perhaps I've got that wrong.

In Lightroom (and ACR) the sharpening uses deconvolution if the detail slider is moved right.  No convolution when the detail slider is at the left end, or so Jeff Schewe says in "The Digital Negative". 
Title: Re: deconvolution sharpening plug in
Post by: t6b9p on January 21, 2016, 01:45:16 pm
Quote
When you talk about optimum settings, are you referring to print or screen?

Given the amount of time to conduct the test, even without printing each result, I was talking about screen. The goal was to find which software combination gave me the best "looking" output for a difficult image, under subsequent adverse post process conditions while viewing on screen. Focus Magic and/or Neatimage seem to fulfill my goal but for print output, application of these two programs, and parameters utilized, would be dependent on the actual image in question due to subject, capture parameters, equipment etc, after all, the test was based on only one difficult image.

Quote
In Lightroom (and ACR) the sharpening uses deconvolution if the detail slider is moved right.  No convolution when the detail slider is at the left end, or so Jeff Schewe says in "The Digital Negative".
In my test I used one set of conditions for "pure" Deconvolution and several additional sets, placing the sliders to obtain the best I could get.
Title: Re: deconvolution sharpening plug in
Post by: picc_pl on January 24, 2016, 09:28:30 am
Hello,

currently piccure+ is compatible with PS (CS4 or later), PSE (7 or later), LR (3 or later), DxO (9 or later) and PhaseOne C1 (8 or later). We have not tested it with AF - sorry to hear that it crashed the computer. However, there is a standalone version available (including a RAW converter). You find a lot about piccure+ in the internet and forums and on our homepage (just google). It is currently the only solution that corrects spatially-varying complex optical aberrations (e.g. coma) as well as camera shake (e.g. micro-shakes) by the means of (blind) deconvolution. You do not need to specify a lens, some motion trace etc. The software does all that for you, there is a 30-days free trial with no limitations on functionality.
Best,
Lui
Co-Founder
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on January 25, 2016, 09:10:39 am
Hello,

currently piccure+ is compatible with PS (CS4 or later), PSE (7 or later), LR (3 or later), DxO (9 or later) and PhaseOne C1 (8 or later). We have not tested it with AF - sorry to hear that it crashed the computer. However, there is a standalone version available (including a RAW converter). You find a lot about piccure+ in the internet and forums and on our homepage (just google). It is currently the only solution that corrects spatially-varying complex optical aberrations (e.g. coma) as well as camera shake (e.g. micro-shakes) by the means of (blind) deconvolution. You do not need to specify a lens, some motion trace etc. The software does all that for you, there is a 30-days free trial with no limitations on functionality.
Best,
Lui
Co-Founder
Any discounts for first time users?
Thanks
Marc
Title: Re: deconvolution sharpening plug in
Post by: walter.sk on January 25, 2016, 04:17:37 pm
[piccure+ plus]   is currently the only solution that corrects spatially-varying complex optical aberrations (e.g. coma) as well as camera shake (e.g. micro-shakes) by the means of (blind) deconvolution. You do not need to specify a lens, some motion trace etc. The software does all that for you, there is a 30-days free trial with no limitations on functionality.
Best,
Lui
Co-Founder
I've been a user of Focus Magic since it was offered many years ago.  I just downloaded Piccure+Plus and tried it with several of my images, and found that on some, the default setttings did a better job of deconvolution than I was ever able to achieve with Focus Magic, the Detail tab of LR or Camera RAW, the Topaz InFocus, and some others.  I am still trying to figure out the controls of Piccure+Plus for the other images (I read the user manual but need time to work with it.)

For those images it worked well with, I found no artifacts and stunning deblurring with no work on my part!  This looks like quite a powerful program! 
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on January 26, 2016, 09:37:00 am
I've been a user of Focus Magic since it was offered many years ago.  I just downloaded Piccure+Plus and tried it with several of my images, and found that on some, the default setttings did a better job of deconvolution than I was ever able to achieve with Focus Magic, the Detail tab of LR or Camera RAW, the Topaz InFocus, and some others.  I am still trying to figure out the controls of Piccure+Plus for the other images (I read the user manual but need time to work with it.)

For those images it worked well with, I found no artifacts and stunning deblurring with no work on my part!  This looks like quite a powerful program!

I just gave piccure+ a try and wow very very good
Title: Re: deconvolution sharpening plug in
Post by: brianrybolt on January 26, 2016, 10:52:35 am
piccure+ plus is interesting and some good results happen BUT it is incredibly SLOW.  Wouldn't touch it with a barge pole until they speed it up.
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 26, 2016, 09:17:18 pm
I just gave piccure+ a try and wow very very good

Could you post a before on that 100% crop jpeg so we can see Piccure+'s magic?

This is about the second or third time someone has posted finished results using some type of image sharpening and/or clarity enhancing software and not show a before. If they went to the trouble of posting finished samples why not post the before?

Really nice shot of Bryce Canyon. Probably the best I've seen and I've seen quite a few. And certainly I wouldn't go all that way out there and shoot that detailed of a landscape with anything less than a high rez Phase One camera.
Title: Re: deconvolution sharpening plug in
Post by: walter.sk on January 27, 2016, 10:16:23 pm
Here is a Canon 5Diii image shot with the Canon 100-400 zoom.  It was RAW, with no adjustments in ACR and the Sharpening and Noise settings set to 0.  I used the Piccure+ plugin in Photoshop CC 2015, with the following settings:

Method: Lens+
Speed-Quality set to Quality+
Optical Aberration set to Micro
Smooth-Sharp set to Smooth (0)
No CA adjustment.

The only place I can see artifacts is at the tops of the letters in the sign, at 200% and greater. 
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 28, 2016, 01:24:16 am
Thanks for making the effort to post these examples, Walter. Looks like Piccure+ does a fair job of sharpening without kicking up micro-fine noise along edges. I'm assuming there are enough setting parameters to get crisper results without too much noise.

The cyan halo artifact at the top of the white letters is actually in the original. I can see it.
Title: Re: deconvolution sharpening plug in
Post by: Rajan Parrikar on January 28, 2016, 01:01:16 pm
I have all the three plugins - Topaz InFocus, piccure+, FocusMagic.

For capture sharpening, FocusMagic works very well, better than Topaz InFocus in my view. I use piccure+ mostly for correcting motion-blurred images and in several cases have been astonished with the recovery. But yes, very slow (even with a souped up trashcan Mac Pro).

Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on January 29, 2016, 10:48:01 am
Could you post a before on that 100% crop jpeg so we can see Piccure+'s magic?

This is about the second or third time someone has posted finished results using some type of image sharpening and/or clarity enhancing software and not show a before. If they went to the trouble of posting finished samples why not post the before?

Really nice shot of Bryce Canyon. Probably the best I've seen and I've seen quite a few. And certainly I wouldn't go all that way out there and shoot that detailed of a landscape with anything less than a high rez Phase One camera.
yes I'll do that for you but it will be a JPEG so neither will look like a high rez TIFF
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on January 29, 2016, 11:36:25 am
Pre and Post sharpened C1 raw conversion with sharpen set at 0
Piccure+ set at quality+, sharpen 27, denoise off
The tree on the left was near the limit of the DOF and towards the outer edge of the image circle
Marc
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 29, 2016, 04:07:54 pm
Pre and Post sharpened C1 raw conversion with sharpen set at 0
Piccure+ set at quality+, sharpen 27, denoise off
The tree on the left was near the limit of the DOF and towards the outer edge of the image circle
Marc

Thanks, Marc. That's impressive.

Applied CS5's Smart Sharpen to your pre-sharpen version and I couldn't come close. Don't know if CS6 and above can do a better job. I noticed Piccure+ gives nice even sharpening across various low to high frequency detail almost like an adjustment mask but without having to paint it back in at different blend levels.
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 29, 2016, 04:25:13 pm
Did my LR4 upsample test on the post sharpened version going from 3000x2000 pixel to poster size and it passed with flying colors. Has the same clean soft line look of wall sized movie posters I view up close at my local theater. See the screenshot from a 50% zoom view in Photoshop.
Title: Re: deconvolution sharpening plug in
Post by: m_rouleau on January 30, 2016, 07:12:27 am
Thanks, Marc. That's impressive.

Applied CS5's Smart Sharpen to your pre-sharpen version and I couldn't come close. Don't know if CS6 and above can do a better job. I noticed Piccure+ gives nice even sharpening across various low to high frequency detail almost like an adjustment mask but without having to paint it back in at different blend levels.

Adobe's had a number of different iterations of Smart Sharpen. The latest (in CC) is by far the best.
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on January 30, 2016, 09:04:36 am
Adobe's had a number of different iterations of Smart Sharpen. The latest (in CC) is by far the best.

I'd be interested in a comparison.  Are there any online tests that show this?

Jack
Title: Re: deconvolution sharpening plug in
Post by: rdonson on January 30, 2016, 10:33:41 am
Marc and Tim these are indeed impressive results.

Now I'm wondering how well it would work on Fuji X-Trans sensors such as my X-T1 or the new XPro2.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on January 30, 2016, 12:04:12 pm
I think there is a little more going under the hood than just one simple round of deconvolution sharpening. 

I do not think you can get the same as Tim's and Marc examples just using Smart Sharpen in PS or in LR alone.  I believe a round of USM or applying HP sharpening will greatly narrow the difference.

Quick play CS6 first using Smart Sharpen then on a duplicate layer applied low level USM.  FWIW maybe a touch too much but..
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 30, 2016, 03:32:26 pm
I think there is a little more going under the hood than just one simple round of deconvolution sharpening. 

I do not think you can get the same as Tim's and Marc examples just using Smart Sharpen in PS or in LR alone.  I believe a round of USM or applying HP sharpening will greatly narrow the difference.

Quick play CS6 first using Smart Sharpen then on a duplicate layer applied low level USM.  FWIW maybe a touch too much but..

Tony, you worked off the already post sharpen (with Piccure+) version I upsampled in LR4 so you're not making an accurate comparison. Try your sharpening technique on Marc's original pre-sharpened version and then layer yours over Piccure+ version as I did in Photoshop and turn the layer view off/on. I applied Smart Sharpen in CS5 and couldn't get the same amount of sharpening consistency across a wide range of high to low frequency detail without introducing edge artifacts.

Piccure+ appears to analyze edge contrast ratio across the image and apply varying thicknesses of edge sharpening much like masking but a more dynamically adjusting masking according to high to low frequency detail in the image. It's not the same as USM which applies the same thickness of sharpening on all edges regardless of fine detail or edges along broad flat areas.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on January 30, 2016, 05:19:38 pm
Hi Tim
No, what you are seeing on the left is my version from Marc's pre sharpening version with my initial sharpen using Smart Sharpen, lens blur, more accurate with a radius of around 0.7 and amount no more than 200.
Then a dup layer where I used USM at around 0.3 (ish) and moderate amount.

To compare against yours on the right Upsampled in CS6 to 8000+ pixels then zoom to 50% and screen capture side by side using Snipping tool.

TBH, I do not feel that we should really draw much conclusion about comparisons due to working with JPEG which has already been baked and lost say half of its colour data and maybe some luminosity data along the way.  It would be better to test on raw images staying 16 bit until we have to save for web

I have not tried the application and am not suggesting it does not live up to its claims just what little I have seen I have not thought it showing anything dramatically different to what can be achieved using similar methods to the above.  I may be wrong of course and YMMV

Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 30, 2016, 06:08:55 pm
Your version on the left is a screengrab that is not at Marc's original 100% crop/zoom factor. You've zoomed in on the jpeg compression which gives the impression of more micro-fine detail which looks like artifacts on my screen. Also the reduced saturation suggests you didn't preserve the embedded AdobeRGB profile from Marc's original crop. I get a warning of an embedded Argb profile when opening in CS5 Photoshop. The preview is noticeably more saturated than your screengrab.

When you do comparisons keep everything the same. Why didn't you just apply your sharpening to the pre-sharpened version and upload it here. No screengrabs.
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 30, 2016, 06:16:51 pm
Tony, your uploaded image doesn't have an embedded profile so I'm guessing that's the cause of the desaturation. Got to embed a profile when doing A/B comparisons?
Title: Re: deconvolution sharpening plug in
Post by: TonyW on January 30, 2016, 07:38:12 pm
Tim, should have taken more care I know but what I see on screen comparing Marc's post processed to my version of pre processed using Smart Sharpen looks very close indeed.  Had not realised that I had not embedded profile

As it is late I just uploaded the pre processed version again this time only used Smart Sharpen at the figures you see overlaid.  What I can say is that on screen at 100% view the two images are very close match.  But really the proof of the pudding should be in printing.

My concern about accuracy relates to the fact that the we/I am working on a JPEG which already has default sharpening applied.  And now it is being reapplied via CS6 to match another JPEG!

Anyway FWIW I am curious if CS5 Smart Sharpen the same or CS6 improved using the figures I quoted.

Hopefully by clicking on the image you will be taken to Photobucket where you can click on the magnify to get a full size image.  Marc I will remove this image whenever you want
 
(http://i298.photobucket.com/albums/mm256/TonyWarrington/CS6SmartSharpen.jpg) (http://s298.photobucket.com/user/TonyWarrington/media/CS6SmartSharpen.jpg.html)
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 30, 2016, 10:23:21 pm
You're not working from the 100% zoom crop that I'm talking about, Tony, so you're still not comparing apples to apples.

Here's the pre-sharpen version viewed from LuLa after clicking magnified next to your photobucket magnified.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on January 31, 2016, 05:36:11 am
Tim should have given clearer instructions re Photobucket.  TBH rarely put anything there over 1024 pixels.  :-[

To see the full 3089 x 2059 pixel after clicking on the magnify icon on the first screen you need to right click this new image and select View Image from the menu.  Your new view will present the image with a grey surround and your cursor will turn into a '+' magnifier. Click this and you should get a 100% view - phew  ???

Two examples attached.  First original pre sharpening next to deconvolution only.  Second original post sharpened version next to deconvolution only

EDIT:Changed the Post_DeconOnly image as saved with wrong profile
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 31, 2016, 02:28:13 pm
I concede, Tony, you're right. Smart Sharpen did a better job of bringing out more micro-fine detail which basically gives the appearance of improving lens acutance and resolution. The micro-fine granular artifacts will soften up and blur upon upsampling.

In fact last night I was attempting to get this granular high frequency detail in a flower image I shot years ago and processed under CS3 whose ACR version sharpening didn't have. The issue with CS5's version of Smart Sharpen and even ACR 6.7 Detail panel is that even though I could get fine detail in the flower petal I had to accept the noise in the background so when doing my upsampling test I got these polka-dot artifacts from the noise while the actual petal detail looked correct. But it took forever squeezing all the detail I could get adjusting all the sliders. It got to where I couldn't distinguish noise from actual captured detail viewing at 100%. But then I was working on a 6MP image.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on January 31, 2016, 03:39:35 pm
Glad to hear finally arrived at a satisfactory comparison Tim.   :)

Sorry it took me so long to get there (being a bit lazy this week!) and thanks for your patience.  Although I was confident of what I was seeing and producing I really should have just taken more care when presenting as a comparison and you were quite right to point out my shortfalls.

For me it was not a question of trying to prove that one method or application better than another but where one application scored higher could I get the same with my current toolset i.e. CS6 without plugins.
 
Still not entirely happy with the outcome from Smart Sharpen. 
One round of sharpening pushing the JPEG to nearly breaking point is perhaps not the smart way to go about testing sharpening.  The fact of applying to a JPEG in the first instance is likely to lead to tears  :'(. 

I still think that a more considered approach using a first round of capture sharpening leading through creative sharpening and final output sharpening would have been better way but to do that I would really want to be working from a 16 bit TIFF or raw file.

I don't think it fair to make any judgement based on one image test either for CS6 or Piccure+.  I am sure there is more to be gained from both.

I don't know about anyone else but what I want from these products is to be totally blown away.  For my eyes to bleed with the sharpness, for euphoria induced by no noise other than what I require.  8) ;D

One thing that does look promising is the motion blur correction.  The image presented on the website Taj Mahal I do not think I could get anywhere near with CS6.  Although there does appear to be ghosting left behind this could be cleaned up in CS6.

So I have decided I must see first hand and have downloaded the trial and also a screen grab of the before and after.

From what you say it looks like CS6 smart sharpen improved over CS5 and from what I have heard has been further improved in CC - I think increase sharpening potential with less noise increase.

I am desperately trying to resist the siren call of CC, not sure how long I can hold out  :-\
Title: Re: deconvolution sharpening plug in
Post by: picc_pl on January 31, 2016, 04:04:07 pm
One technical comment from my side: it makes a very big difference whether you use piccure+ on JPGs or RAW images. There are a few reasons for this:
- piccure+ determines a different aberration for every pixel of the image (non-gaussian) based on the image itself. Technically this is called "reverse spatially-varying optical aberrations through blind deconvolution". This involves two steps: determining those aberrations and reversing them.
- For JPGs there are three problems: 1) the image is usually sharpened by the camera and 2) every color channel only has 256 colors (8-bit) and 3) there are compression artefacts. Determining those optical aberrations is negatively affected by all those three factors. Reversing those aberrations thus becomes more difficult. piccure+ determines each pixel based on the information of several hundred surrounding pixels. The quality of the rendering largely depends on how accurately the assumptions in the model were.
- TIF have several advantages: 16-bit per color channel allow a much finer and more accurate estimation of the blur - in addition the blur is not affected by artefacts or presharpening (as opposed to JPG). This is why we (highly) recommend using TIF /RAW images. It really makes a big difference.

From my personal experience I'd say that the shake reduction (Motion+) works fairly decent on JPGs as well - but you don't get the same quality in Lens+ if you apply it to JPGs compared to TIFs. The observations made that the corrections applied by piccure+ vary across the image plane are correct - that is the secret sauce that makes the difference and the computation so much more complex.

And the effect really depends on your gear and shooting habits. But the difference between JPG and TIF is so significant, so I wanted to point that out... If you shoot JPG because you need the 10 frames/second it doesn't help that "some software may give a good improvement it you just did 3 fps". Aside from piccure+ - I can only recommend anybody to shoot RAW. I didn't do that for a long time - until I realised how much editing capabilities vanish if you don't... And software develops and matures - so things suddenly become possible. Having more than 8-bit can really make a big difference (artefacts and sharpening aside).

Best,
Lui
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on January 31, 2016, 11:25:26 pm
Lui, can piccure+ increase granularity as shown in Tony's micro-fine rock detail example of Marc's 100% Phase One crop? Is there a slider or setting you'ld suggest to bring out more detail?

Also you say to shoot Raw which most of us including myself exclusively do but Piccure+ doesn't work parametrically on Raw data as a LR plugin but only on the tiff conversion of the Raw. And I and most others agree that 16bit tiff is second best to working directly on the Raw version, but there are incamera jpegs set to high quality that can produce as good as a tiff without compression artifacts where noise and noise suppression artifacts baked in are far worse issues. I do know now though that even when I have to resort to editing those jpegs I'ld rather first save as a 16bit tiff before parametrically working on them in ACR/LR which can be done automatically upon opening or importing.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 01, 2016, 07:15:13 am
Hi Lui,

Your comments about working on JPEG are exactly what concerned me working on Marc's posted image and the fact is that I did not think that real conclusions could be drawn from this comparison - ideally we should be working on better data from raw or 16 bit TIFF. 

When I have looked at posted befores and afters usually in my mind is how do I achieve the same with my current toolset (and knowledge) thereby saving money (ok cheapskate I know  ???).  Generally if I can get close to correcting a JPEG I am fairly confident I can do the same or better with a better set of data using my current tools. 

I have to say I do not like breaking the raw workflow to spawn a TIFF for further work, as with many images I can stay within LR and produce pretty good results directly through to output.  Of course there are times when I need the help of PS and at these times can see the value of some third party plugins.

Not had time to try Piccure+ fully yet but one thing I did try was the motion correction.  Not having anything of my own to try (either I never get them or they are immediately trashed - your call on this  ;)) I grabbed the uncorrected Taj Mahal images shown on your website.  Not reading any help or manual (that's for sissies  ;D) set about adjusting the sliders.  First thoughts were I must have got it wrong and used the corrected version, will try again in the morning.

I have tried several different deblur applications over the years with mixed results - ok if you need to decipher a car number plate but not much use in producing a good image.

Trying the image again showed that my first try was correct.  In short the application did a great job even working from a relatively small JPEG grabbed from screen.  Not tried anything else recently and I do not think I would be able to get anywhere near with CS6.  While there were a few ghosting artifacts (maybe possible to minimise once application understood) the overall result certainly impressed me and the artifacts could be repaired anyway using Photoshop CS6.

I have included a screen capture of this mornings try.  I hope this in order, of course if not I will remove at your request

Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 01, 2016, 08:15:25 am
Lui, can piccure+ increase granularity as shown in Tony's micro-fine rock detail example of Marc's 100% Phase One crop? Is there a slider or setting you'ld suggest to bring out more detail?

Hi Tim,

While the restoration is quite effective, it seems like there is something else going on besides plain deconvolution. But maybe that is due to the tests I had to do on the JPEG version, and Marc had a TIFF at his disposal, and due to the specific settings that were used with Piccure+.

Quote
Also you say to shoot Raw which most of us including myself exclusively do but Piccure+ doesn't work parametrically on Raw data as a LR plugin but only on the tiff conversion of the Raw. And I and most others agree that 16bit tiff is second best to working directly on the Raw version, ...


Just to make sure, most (parametric) photo-editors do not work on the Raw data either, they just postpone the export of the final image and recalculate for display. So the only benefit they have is that they can do a number of operations in linear gamma space, without having to convert down and up again.

Quote
... but there are incamera jpegs set to high quality that can produce as good as a tiff without compression artifacts where noise and noise suppression artifacts baked in are far worse issues.

JPEGs are in principle always lossy (irreversibly) compressed (the color channels are truncated in precision). What is lost cannot be used for deconvolution, and these compression artifacts will get amplified by deconvolution. There are some JPEG libraries that also allow lossless compression, but they are not all that common.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on February 03, 2016, 05:27:42 am
full resolution TIFF "All Rights Reserved Marc McCalmont" for personal use only
feel free to download and sharpen as you wish
https://www.dropbox.com/sh/l7yiwno9byp8a54/AADTayz3cO6npoLiLY9tvSy8a?dl=0
Marc
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 03, 2016, 08:08:23 am
I hope to find the time to explore Piccure+ a little further. First off, I have a question to the developers concerning the install process. 

I tried to install it on my Desktop Mac. During the install process, there was an alert,  something like "The 'Rez' component requires the Developer command line tool to be installed. Do you want to install it now?" I clicked 'yes', thinking the tool might be included in the install package. But it looked like the installer tried to find the tool via the Internet and couldn't, since that computer is not connected to the Internet. None the less, it said that the install was successful.

Then I installed it on the MacBook, which has Internet access. Here was no alert about any Developer tools. But nor was there any sign that anything was downloaded during the install. Also here, the install was called successful.

So what am I to believe? Can I exspect the Rez component to work on the MacBook? Or what shall I do to be sure?

Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 03, 2016, 08:20:38 am
Marc,

First a big thank you for sharing your raw images for personal use very generous. 

The subject matter is ideal with  plenty of nice edges and detail and a bonus of the same subject with the Nikon D800e and the Phase One back.  As good as the D800e is the Phase One IQ is a real step up.  Problem now is I want one  ;D  Excellent images and I will be playing with sharpening soon, hoping to identify which is your boat  ;D

BTW.  Loved the Bryce image and the way you caught the light giving such a great sense of depth with the colour . 
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on February 03, 2016, 10:32:56 am
Marc,

First a big thank you for sharing your raw images for personal use very generous. 

The subject matter is ideal with  plenty of nice edges and detail and a bonus of the same subject with the Nikon D800e and the Phase One back.  As good as the D800e is the Phase One IQ is a real step up.  Problem now is I want one  ;D  Excellent images and I will be playing with sharpening soon, hoping to identify which is your boat  ;D

BTW.  Loved the Bryce image and the way you caught the light giving such a great sense of depth with the colour .

My boat is the biggest one of course :)
Some day I'd love the IQ3 100 for the real live view and long exposures but I'm very happy with the IQ180 and love my Rhodenstock HR lenses, It's really fun to shoot with a technical camera.
The Bryce image was one I took several years ago and when reviewing some RAW's I noticed it among the pile of Bryce shots, I like the tree in the foreground adding a little color and interest.
Marc
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 03, 2016, 02:46:46 pm
While waiting for a solution to the Rez problem, I installed Piccure+ as a plug-in for PhotoLine (because the stand-alone app is for batch processing only). The plug-in was recognised without problems. Opening an image (in ProPhoto) showed a gross color shift in the sky, see screen shot. I tried to process the image, thinking maybe this color shift might only be in the preview. But the processing failed with error "Could not create '/Applications/Piccure+/Profiles' folder."
MacOSX 10.10.5
No I'm NOT trying to badmouth Piccure+. I'm seriously interested in exploring it further.
Title: Re: deconvolution sharpening plug in
Post by: picc_pl on February 03, 2016, 03:30:07 pm
Hi,

always feel free to contact support (support@piccure.zendesk.com) if you have any questions - as I don't really regularly check forums.
Currently, you get this error message in piccure+, if you are not signed in as Administrator, as piccure+ stores the project files in the Applications folder. This is not optimal and we will change this with the next release. This problem does not occur in the plugin version.

Regarding the color: I think you may be using a color space that is not genuinely supported in the Preview. Does the saved image show the same color mismatch? Which color profile are you using?
Best,
Lui
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 03, 2016, 03:37:31 pm
Hi Lui,
thank you for your fast reply. So I'll move the discussion about technical problems of this kind to your support.
Best - Hening.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 03, 2016, 03:41:00 pm
Hi Henning
Don't know about Mac but it may be related to your version.  According to Piccure site you should be on Mac 10.6.8 or later  http://relaunch.piccureplus.com/

The standalone version will operate on just one image at least in Windows
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 03, 2016, 04:15:13 pm
Hi Lui,
regarding the color shift, it was as we both suspected, it is only in the preview (I was able to process after equipping myself with admin privileges). The original image was in ProPhoto.
I'll contact support concerning the Rez issue.

Hi Tony,
thanks for your comment. I'm on MacOSX 10.10.5.
Concerning developing just one image in the standalone version: Yes I remember there was an answer to a FAQ that described a workaround to make this possible; but as is, there seems to be no problem for the plug-in to be recognised by PhotoLine - there shouldn't be, since PL uses the Adobe Common Plug-in Architecture.

Good light!
Title: Re: deconvolution sharpening plug in
Post by: picc_pl on February 03, 2016, 04:45:49 pm
I hope to find the time to explore Piccure+ a little further. First off, I have a question to the developers concerning the install process. 

I tried to install it on my Desktop Mac. During the install process, there was an alert,  something like "The 'Rez' component requires the Developer command line tool to be installed. Do you want to install it now?" I clicked 'yes', thinking the tool might be included in the install package. But it looked like the installer tried to find the tool via the Internet and couldn't, since that computer is not connected to the Internet. None the less, it said that the install was successful.

Then I installed it on the MacBook, which has Internet access. Here was no alert about any Developer tools. But nor was there any sign that anything was downloaded during the install. Also here, the install was called successful.

So what am I to believe? Can I exspect the Rez component to work on the MacBook? Or what shall I do to be sure?

Hello, thanks for sending us a support ticket as well - I really missed this one, sorry.
The "Developer Tools" are in essence libraries that are often shared among many programs - so in order to avoid that every program that relies on Apple components has to install it uniquely over and over again one can install the Developer Tools once for everybody. In order for piccure+ to work properly those tools are needed. I suppose in the first case you never had a program that required them installed on the computer - that is why you were prompted. I suppose the MacBook already had them installed previously - so it has less to do with internet connections but is rather a matter of whether you had them installed previously. The installer does not simply download files from the internet. I will check back with the developers in detail what it's exactly needed for.

Best,
Lui
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 09, 2016, 10:57:34 am
Now the install is OK, and I have played around a little with some sharpening methods and learned something new: All imply more or less contrast boost, which is more or less local, and can lead to more or less clipping of shadows and/or highlights.

Here's another little test of Piccure+.
100% crops, screen shots from a Retina screen. Left to right: Unsharpened - Iridient Reveal at default settings - Piccure+ with Lens+, Quality+, Optical Correction Strong, Sharp 0.

It looks to me like Piccure+ has a little edge due to a stronger contrast boost.

The raw image was shot with a C/Y Planar 1.7/50 @f/16 on an a7r1, converted to 16 bit TIF in Iridient.
Title: Re: deconvolution sharpening plug in
Post by: smahn on February 09, 2016, 12:42:48 pm
I prefer the Iridient version. The fine branches are better resolved with less haloing.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 09, 2016, 01:09:43 pm
...It looks to me like Piccure+ has a little edge due to a stronger contrast boost.
Yes looks the same to me and perhaps due to the added contrast it seems CA also increased a tad.  On this image alone does not appear to be a big difference and maybe not evident when printed?
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 10, 2016, 04:16:22 pm
I've been working with a piccure+ demo for the past couple days on photographs of birds. The shots that feature a medium light value bird body against a medium light value background are coming out superb. I am very enthusiastic about it. The light colored or white birds that are posed in front of a dark background are a different story. The white birds end up with a very obvious dark, or navy blue outline but there was little to no edgy halo in the original file that would seem to be the source. It as if the clean edges simply excite the math and the plugin synthesizes an edge line. The rest of the texture looks nice but the "find edges" effect is not acceptable so I am erasing the edges and letting the original layer show through. 

I have been running "Quality+", Abberation= "Standard", and Sharpen="10".
Title: Re: deconvolution sharpening plug in
Post by: JakeD on February 10, 2016, 05:28:41 pm
I really like Picture +. Surprised it hasn't been mentioned here more. A lot of my work involves photo restoration, old prints and negatives. So many of those old prints need sharpening work on them, in addition to the camera shake correction that this app. provides. There are very few scanned images that I don't run through this app. It's quite invaluable. Works as a Photoshop filter too.
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 11, 2016, 06:18:33 am
An idea I am curious about with piccure+ is the instruction, which is repeated a few times on the website, to not crop your image before processing. With the birds photos I am currently working on I do not have a big enough lens to crop while shooting so I am forced to crop in post. Cropping before running piccure+ saves a tremendous amount of time, so I wonder if the caution not to crop before hand is based on a solid mathematical principal or if it is just a casual "rule".

It occurs to me that the mathematics may have a sort of symmetry based on the idea that a lens presents aberration across a full frame in a sort of radial symmetry, and that cropping may undermine the effectiveness of the processing.

I am going to try some full frame and crop comparisons to see if there is a discernible difference in the final cropped image.
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 12, 2016, 07:03:44 am
I keep vacillating in my opinion. Yesterday morning I worked on a photo of a wading Reddish Egret and tried 6 different combinations of settings and they all produced dark edging and bright red fringing. The good parts were nice so I erased out the offending stuff by hand and let the original layer show through. The photo presented a challenge in that the lighting was overcast, the wind was blowing over 20 knots, and so I had to use ISO 400 just to keep a fast enough shutter speed so there was some noise when zoomed in for the final crop. The setting was also full of detailed saw grass, coarse grained mud, and rippling water. This photo left me wondering how long I would be using piccure+ before giving up.

Yesterday afternoon I returned from another outing and tried it on some bird in flight shots of juvenile bald eagles set against a cloudless sky. I was shooting at ISO 200, again with a fast shutter speed, but tracking two birds that were flying fairly quickly. By the time I zoomed in to the useful crop the birds got a bit soft. Piccure+ did a fantastic job of bringing this image to life. This photo left me very appreciative of the piccure+ plugin.

I am starting to think that the adjustments in piccure+ do not produce the results in a way I anticipate from the descriptions. Some times the higher Quality or Stronger corrections create a coarser and more vulgar appearance. I have noticed that in some cases the Sharpness settings seem to effect change when testing between 5 to 15 but then I see little change if I make a test run at 30. Finally, I have varied the denoise value on several occasions and can see no change in the amount of noise that reduced. On some of the occasions I have begun to suspect that the plugin just stopped working but it doesn't crash or stall. It appears to run normally and if I shut down Photoshop and replicate the settings on another pass I continue to not see any difference even when zoomed it at 200%.

Having said all that I suspect I will buy it because when it helps it looks great, but I would like to learn to better understand how to predict when and where to give up and try some other solution when it doesn't help.
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 13, 2016, 08:59:36 am
Does anyone know what sort of mathematical approach Nik Presharpener uses?
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 17, 2016, 09:37:43 am
I have to confess that I've only glanced through this topic, but here is a way of testing different sharpening algorithms that may be of use.  I stumbled on it by chance while using Imatest to check out some of my lenses.

I've tried a number of different sharpening methods and here are some of the results.  The target is an Imatest slanted edge and the table shows the Imatest results for the same image with different sharpening: first line is with no sharpening; second line is with ACR default of 25; 3rd line ACR25 + Focus Magic with radius of 1; 4th line Focus Magic radius 1 applied twice; last line Focus Magic with radius of 2.

The best results are for ACR25 + FM1, IMO.  It gives a good 10-90% reading, little overshoot, good MTF50 and good MTF at Nyquist. FM1+1 is a close second.

I've included three of the plots (ACR25+FM1, FM1+1 and FM2) as they give some more info.

I've also included a plot of ACR25+FM3 to show a very oversharpened result.

My trial of DeNoise is over but I'll get a copy to see if it does things any better.

Do you think this is a useful approach to evaluating different types of sharpening?

Robert

BTW ... the softness with no sharpening is due to a significant extent to the target being rather poor as it is printed using an inkjet on satin paper.

ImagePHR10-90Over-Over-MTF50MTF50PMTFMTF
/PHshoot %sharpng %LW/PHLW/PHNyq c/pNyq lw/ph
A000541---No-Sharpening.tif400014490.2-36.4172017200.046368
A000541---ACR25.tif400017370.2-26234623460.1491192
A000541---ACR25-FM1.tif400034733.6-9.1344534450.3512808
A000541---FM1.tif400022000.2-21.8260326030.108864
A000541---FM1+1.tif400036105.1-3.1340233640.2742192
A000541---FM2.tif400033425-2.4320231940.2021616

(http://www.irelandupclose.com/customer/LL/A000541---ACR25-FM1.png)   

(http://www.irelandupclose.com/customer/LL/A000541---FM1+1.png)

(http://www.irelandupclose.com/customer/LL/A000541---FM2.png)

(http://www.irelandupclose.com/customer/LL/A000541---ACR25-FM3.png)   
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 17, 2016, 01:54:36 pm
Do you think this is a useful approach to evaluating different types of sharpening?

Robert

BTW ... the softness with no sharpening is due to a significant extent to the target being rather poor as it is printed using an inkjet on satin paper.

For me this has never been useful information for getting sharp results because I just fix it in post. I look at digital images as just varying densities of microscopically small pixels I can apply contrast globally and locally to get the level of sharpness I want.

I get sharp results either straight out of the camera shooting Raw or with the soft & fuzzy shots fixed in post, both using cheap lenses.

The day someone can take a Raw shot straight out of the camera and not do any editing to it is when I think a test you've outlined would justify all that time and effort.

Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 17, 2016, 02:20:07 pm
For me this has never been useful information for getting sharp results because I just fix it in post. I look at digital images as just varying densities of microscopically small pixels I can apply contrast globally and locally to get the level of sharpness I want.

Yes, well of course this test is of no use whatsoever for processing an image ... it's only potentially useful in comparing different sharpening methods. 

So, for example, we've had discussions in the past as to whether or not it's a good idea to apply a small amount of capture sharpening in Lightroom/ACR followed by further sharpening in Photoshop, or whether it would be better to apply sharpening once in Photoshop. My own view was the latter, but I have to say that looking at the results I've posted here I would have to say that I was probably wrong.

The advantage of using a tool like Imatest is that it is more scientific and reproducible than a purely visual assessment.  It's easy to see things like haloing, oversharpening etc., and at the same time to see the effect of the sharpening on resolution.

Quote
The day someone can take a Raw shot straight out of the camera and not do any editing to it is when I think a test you've outlined would justify all that time and effort.

Well when that day comes my test will be entirely redundant ... which would be great!  Then we wouldn't need to worry about deconvolution and what-not as our images would be perfect as taken :)

Robert
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 18, 2016, 11:29:57 am
Do you think this is a useful approach to evaluating different types of sharpening?

Yes, quite.  It is obvious for instance that your last try goes way overboard, bumping up noisy/non-existent aliased frequencies an increasing real frequencies above what they were in nature, so it will probably generate more artifacts.  Here are a couple of articles on using the same method to evaluate some of the effects of demosaicing, sharpening (http://www.strollswithmydog.com/raw-converter-sharpening-with-sliders-at-zero/) and resizing (http://www.strollswithmydog.com/downsizing-algorithms-effects-on-resolution/).

Jack
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 18, 2016, 02:33:50 pm
Yes, quite.  It is obvious for instance that your last try goes way overboard, bumping up noisy/non-existent aliased frequencies an increasing real frequencies above what they were in nature, so it will probably generate more artifacts. 
Thanks for the links Jack.  I read your articles with interest.  I've run DCRAW (dcraw -w  -o 2 -6 -T -g 2.2 0)  versus ACR (no sharpening) and the results are indeed different as shown below (the tiff file is DCRAW and the tif file is ACR).

I agree that it would be really great if testing sites standardized on one raw converter and used the one that produces straight out demosaicing with no additional processing. 

I'm also rather puzzled by readings from sites like Photozone.de where they show very high MTF50 readings although they claim to only use ACR with standard settings (in other words 25 sharpening), no contrast adjustment etc.  I'm sure that their targets are much better than mine as is their lighting and focusing, but I'm still pretty suspicious of a  MTF50 of 3100 lw/ph on a Sony A6000 with a 16-50mm kit lens (my test gives a value of 2000 for the same focal length and f#).

But I guess this is way off topic!  So, returning to topic, I think you do agree that using a tool to view the edge profile and MTF of a slanted edge is useful in evaluating different sharpening algorithms.  It's certainly very clear to me that the last example that I gave above, with a Focus Magic sharpening radius 3 is grossly over-sharpened. In fact, even with a radius of 2 in Focus Magic, the image is over-sharpened.

That could be seen by visual examination.  However, what is not at all as clear is that a much gentler 2-pass sharpening yields a significantly better MTF50 and MTF-Nyquist AND with little or no haloing.  That, I think, is pretty significant.

What the test doesn't really show though is contrast (I don't think?) and micro-detail.

(http://www.irelandupclose.com/customer/LL/DCR-ACR.jpg)
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 18, 2016, 03:20:32 pm
What the test doesn't really show though is contrast (I don't think?) and micro-detail.

I don't know what micro-detail is Robert, but 'global' contrast is represented by lower frequencies, the left 1/8th of the MTF curve.  In fact it turns out that in typical viewing conditions what matters most as far as the perception of 'sharpness' is concerned is the performance of the lens around MTF90 (http://www.strollswithmydog.com/mtf50-perceived-sharpness/).  Keep that in mind the next time you buy a lens ;)

Cheers,
Jack
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 18, 2016, 04:02:49 pm
I don't know what micro-detail is Robert, but 'global' contrast is represented by lower frequencies, the left 1/8th of the MTF curve.  In fact it turns out that in typical viewing conditions what matters most as far as the perception of 'sharpness' is concerned is the performance of the lens around MTF90 (http://www.strollswithmydog.com/mtf50-perceived-sharpness/).  Keep that in mind the next time you buy a lens ;)

Cheers,
Jack
Yes, but as per your article, only at standard viewing distance :).  For us pixel-peepers MTF50 is a better guide. 

But yes, I can see that MTF90/MTF80 does give an indication of contrast.  I guess what we should be looking at there is a good flat curve near 100% up to 0.2 or 0.3 cycles/pixel.  Of course you won't get that with an unsharpened image, so it would seem to me that some form of standard sharpening should really be agreed on for testing.

As for micro-contrast ... well I don't know what that is either :).  When I apply it using Topaz I just seem to boost noise, so maybe that is what it is.
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 18, 2016, 05:33:46 pm
Jack, you couldn't post one actual photographed image sample in any of your linked articles to show how all that analysis makes a better sharpened image?

Come on!

Connect the science and graphs with reality will ya' so photographers can see with their own eyes that understanding the science really helps.
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 19, 2016, 05:08:17 am
Jack, you couldn't post one actual photographed image sample in any of your linked articles to show how all that analysis makes a better sharpened image?

Come on!

Connect the science and graphs with reality will ya' so photographers can see with their own eyes that understanding the science really helps.

Photographs, photographs, who said anything about photographs? ;)  Point well taken.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 19, 2016, 08:47:47 am
Jack, you couldn't post one actual photographed image sample in any of your linked articles to show how all that analysis makes a better sharpened image?

Come on!

Connect the science and graphs with reality will ya' so photographers can see with their own eyes that understanding the science really helps.

Well I'm sure Jack is well able to connect the graphs with reality (after all, what is reality :)?), but here is an example from me:

(http://www.irelandupclose.com/customer/LL/sharpen-test.jpg)

On the top is a 100% crop and on the bottom a 200% crop.

Looking at the 100% crop it would be fair to think that the image appears sharper and more detailed going from left to right, with the sharpest being the FM3 (Focus Magic with radius 3).

However, both the sharpening tests that I showed above using a slanted edge analysis and the 200% crop on the bottom row show that the FM3 result is oversharpened - AND - has less detail than the ACR25+FM1. The FM3 image has artifacts and a loss of fine detail, whereas the ACR25+FM1 has almost no artifacts and has quite fine detail.

So does that not show that there can be a benefit from a scientific analysis that is reproducible with small parameter changes so that you can fine-tune your sharpening for different lenses, different apertures, different ISO etc?  Or in assisting you to pick the best sharpening plug-ins?

Of course that doesn't mean that for a particular shot a more (or less) aggressive sharpening might not give a more pleasing result ... but at least it means that it is in practice possible to say that given this camera, this lens and these sharpening options that the likely best, sharpest, least damaged image will be achieved with this particular sharpening method.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 19, 2016, 05:08:01 pm
So does that not show that there can be a benefit from a scientific analysis that is reproducible with small parameter changes so that you can fine-tune your sharpening for different lenses, different apertures, different ISO etc?  Or in assisting you to pick the best sharpening plug-ins?
Robert

Not that I don't appreciate the effort you took, Robert, posting the sharpening sample, but since you didn't connect the graph analysis in Jack's blog articles to the look of the sharpening results I fail to see how the science helps.

In fact you did me a big favor by confirming all the variables involved in assessing sharpness in micro detail with your 100% vs 200% crops which points to display antialiasing algorithms getting in the way. Something I've become quite aware when I have to downsize to the web. IOW there's a lot going on the under the hood in the display of perceived sharpness that the only thing to rely on is visual judgement.

For me it's always been the slider behavior and positioning relationship between Amount, Radius & Detail in ACR that affects image sharpness differently depending on distance the detail was from the lens combined with resolution/sensor size at the time of capture.

For instance a small Amount above ACR's +25 like say +40/Radius-1/Detail-25 sharpening detail lit at 45 degree angle just feet from the lens is all that's needed as opposed to detail farther away lit at 75 degree angle needs a larger Radius and Amount-50/Detail-50. Sometimes I can crank Radius to 2.5 and increase Detail to remove "mosquito" edge artifacts, but it's different image to image. How do you connect science analysis to so many unknowns and inconsistencies as to what's really going on with software?

I notice ACR slider position relationship changes as it acts on various clump size of detail which has not been characterized/profiled in these discussions.
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 20, 2016, 06:38:35 am
I just used piccure+ on a landscape I shot a few days ago. The results were excellent. I had made the shot near sunset and it was handheld with a 400mm at f6.3 so I used ISO 3200. When I made the photo I didn't expect to ever use it as the ISO seemed so high. At the time I thought it would simply be a sort of note-to-self to go back with a tripod and make a real photo, but the lighting was so nice that I gave post processing a try.

I tried piccure+ in Photohsop as a first step after RAW conversion and also as a 2nd step after a RAW conversion>Nik Dfine 2 noise reduction. The results from both were good. The one step process showed incredible detail and I was surprised that piccure+ brought back most of the "detail" that was mollified by Dfine 2 in the 2 step process so I chose that example for further editing.

I have also downloaded and installed a Focus Magic demo for the second time in 12 months and I was reminded that the results I get with it seem, to put it politely, *less than good*.  I am surprised that so many here seem to find it useful, so I guess I will keep trying it on occasions to see where it works well.

I have a restored interest in Nik Presharpener, which I got with a Nik bundle many years ago, and I am also surprised to see that it has been cursorily dismissed by some. I would rate it as adequate, if not remarkable. It seems to work well when piccure+ is challenged. I would like to understand why that is but I can't find much info on what goes on inside Nik Presharpener.

I am becoming interested in Topaz InFocus and anticipate downloading a demo.

I will probably buy a 2 install license for piccure+ but the $119 price seem a bit steep. I am going to try InFocus before I do anything.

Honestly, I never worried much about presharpening and will admit that I had habitually left ACR defaults to do what it does.

It has seemed fun for an old dog to learn a new trick, and I feel that the results I am getting have been worthwhile.

I am glad I was inspired by this thread to try these plugins.

Thank you.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 21, 2016, 06:26:57 am
Not that I don't appreciate the effort you took, Robert, posting the sharpening sample, but since you didn't connect the graph analysis in Jack's blog articles to the look of the sharpening results I fail to see how the science helps.

Well, I  didn't connect them directly, but Jack's graph analysis for sharpening is exactly the same as mine, showing the effect of sharpening (in particular incorrect sharpening) on the edge profile and MTF.  So the graph analysis shows that a particular sharpening is sub-optimal (the FM3 one in particular) both from a haloing and resolution point of view, and the photo of the rock shows the same thing, which shows that theory and practice are in line with each other.  What the theory shows more clearly than the photo though is that resolution, especially at high frequencies, is reduced by too much sharpening.  That makes sense if you think about it ... the sharpening is causing halos which blur the fine detail.

Quote
For me it's always been the slider behavior and positioning relationship between Amount, Radius & Detail in ACR that affects image sharpness differently depending on distance the detail was from the lens combined with resolution/sensor size at the time of capture.

For instance a small Amount above ACR's +25 like say +40/Radius-1/Detail-25 sharpening detail lit at 45 degree angle just feet from the lens is all that's needed as opposed to detail farther away lit at 75 degree angle needs a larger Radius and Amount-50/Detail-50. Sometimes I can crank Radius to 2.5 and increase Detail to remove "mosquito" edge artifacts, but it's different image to image. How do you connect science analysis to so many unknowns and inconsistencies as to what's really going on with software?

I notice ACR slider position relationship changes as it acts on various clump size of detail which has not been characterized/profiled in these discussions.

I agree that at the end of the day all post-processing is a subjective thing, and having rules to say that you should do ACR sharpening at x followed by some other sharpening at y is much too simplistic as it doesn't take into account how big the print is, how far away it is being viewed at, whether or not you actually WANT halos around the edges, how good your lens and focusing are and so on. 

But I think the 'science' can help remove fuzzy thinking.  For example, I took the same shot that I've posted above and applied a 2px gaussian blur to simulate out-of-focus. I then tried various sharpening/deblur corrections:

(http://www.irelandupclose.com/customer/LL/deblur-results.jpg)

As you can see, allowing Focus Magic to do it's own thing (it selected a deblur of 6px) has given  pretty good result.  Sharpening in ACR marginally improves MTF50 and MTF Nyquist, but at the cost of haloes (I did the very best I could in ACR and found that a high amount and fairly high radius (around 3) gave the best result).

So what this tells me is that if I've messed up the focus in a shot but I still need the photo, that I'm wasting my time trying to correct it in LR/ACR.  If the only other choice is Focus Magic, then I am probably just as well off using that in one pass (3rd line down), although the one in the 2nd line down is better but much more time-consuming (I applied Focus Magic 3 times with varying amounts of Fade after each pass).

What I will try is another deblur plug-in like InFocus.  If it is much better than Focus Magic for this type of defocus then this may give me a reason to buy it.  I'll also have a look at piccure+ as this seems to be getting good press in this topic.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 21, 2016, 06:36:37 am

I have also downloaded and installed a Focus Magic demo for the second time in 12 months and I was reminded that the results I get with it seem, to put it politely, *less than good*.  I am surprised that so many here seem to find it useful, so I guess I will keep trying it on occasions to see where it works well.


The trick for me, with Focus Magic, is to up the radius until you see halos/artifacts, and then to step back at least one pixel and usually better 2 pixels. Just like with all these other techniques, if you use too high a radius you will get halos/artifacts.

An alternative which I also think is very good is to step back only 1px and then do a Fade.  That gives very good control over any small amounts of haloing that might be present.

Robert 
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 21, 2016, 08:09:15 am
The trick for me, with Focus Magic, is to up the radius until you see halos/artifacts, and then to step back at least one pixel and usually better 2 pixels. Just like with all these other techniques, if you use too high a radius you will get halos/artifacts.

Yes, I use a similar technique, but I also start with an amount setting of 300% to exaggerate the effect for easier detection of when the artifacts become visible. I then step back 1 blur width from the sudden creation of fatter features and contours, and then adjust the amount to more reasonable values. Strictly speaking, halos should not happen with deconvolution Capture sharpening with the proper blur width setting. When used for Creative sharpening one can increase the amount, not the blur width.

Quote
An alternative which I also think is very good is to step back only 1px and then do a Fade.  That gives very good control over any small amounts of haloing that might be present.

I use a blend-if layer setting (see attached) that avoids clipping, and that mitigates the restoration in regions that already have a high edge contrast (which allows to use a somewhat higher amount).

After many years of comparing alternatives, I find FocusMagic to be one of the best at improving the signal to noise ratio, i.e. it doesn't sharpen noise as much as it does the signal, and it generates very few artifacts. People who need more than real resolution restoration (i.e. looking for an effect that suggests sharpness), should additionally consider using Topaz Detail (it performs miracles for the rendering of structural detail).

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 21, 2016, 08:44:21 am
Yes, I use a similar technique, but I also start with an amount setting of 300% to exaggerate the effect for easier detection of when the artifacts become visible.
Good thinking.

Quote
Strictly speaking, halos should not happen with deconvolution Capture sharpening with the proper blur width setting. When used for Creative sharpening one can increase the amount, not the blur width.
Yes, that is quite clear either visually or with the slanted edge analysis.  The reason I use Fade in Photoshop rather than reduce the Amount in Focus Magic is that the preview in FM is quite poor and so it's much easier to see the effect in Photoshop.  But are the two equivalent??  Perhaps you could answer that question ... but I'll try it out with Imatest also, from an experimental rather than theoretical point of view.

Quote
I use a blend-if layer setting (see attached) that avoids clipping, and that mitigates the restoration in regions that already have a high edge contrast (which allows to use a somewhat higher amount).
Yes, I do that too ... especially if I apply a stronger creative-type sharpening which results in some haloing (even if it isn't supposed to :) ).

Quote
After many years of comparing alternatives, I find FocusMagic to be one of the best at improving the signal to noise ratio, i.e. it doesn't sharpen noise as much as it does the signal, and it generates very few artifacts. People who need more than real resolution restoration (i.e. looking for an effect that suggests sharpness), should additionally consider using Topaz Detail (it performs miracles for the rendering of structural detail).

Topaz Detail is great ... I agree. What about InFocus?  Not as good as FM in your view?
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 21, 2016, 09:56:52 am
Topaz Detail is great ... I agree. What about InFocus?  Not as good as FM in your view?

Topas Infocus is good, but it's more prone to generating artifacts than FocusMagic, so it needs the exactly correct settings for especially the Blur radius to be used. Also in this case, I start with the additional Sharpen panel (Micro Contrast and Sharpness) settings maxed out to 1.00 and something like a 0.80 Sharpness radius, to improve/exaggerate the visibility of deconvolution artifacts showing up as one increases the Blur radius value.

I usually start around 0.5 Blur radius, without any artifact suppression (Suppress Artifacts slider = 0.00). Then, once clicked I can increase the Blur radius slider values with the arrow keys of my keyboard in very small amounts upwards until the exaggerated preview starts showing (mostly ringing) artifacts. I then reduce the first visibility of that with the Suppress artifacts slider, and then bring back the additional Sharpen panel's settings to realistic values. Since the Deblur panel only serves as a Capture sharpening set of controls, the Sharpen panel needs to be used to build on that improved resolution foundation to add some amplitude.

Don't make the common mistake to attempt increasing the amount of sharpening with the wrong control, i.e. the Blur radius control. It's not made for that, it only restores natural sharpness. It's the Sharpen panel's duty to control the amount, and modify a bit of the shape (the spatial frequencies that get boosted) with its radius.

Proper deconvolution sharpening mainly restores micro-contrast resolution, i.e. at the limiting spatial frequencies. That will lift the entire MTF curve, without overshoots. Micro-contrast is the contrast between the pixels with the highest spatial frequencies, the micro detail.

One can boost other/lower spatial frequencies with other tools, usually based on wavelet decomposition, but that's basically (only much more intelligently) what Topaz Detail allows to do, halo free and color preserving.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 21, 2016, 01:51:14 pm
Topas Infocus is good, but it's more prone to generating artifacts than FocusMagic, so it needs the exactly correct settings for especially the Blur radius to be used.

I've done a quick test with InFocus (using Bart's methodology) and also comparing it to FM and ACR+FM, results below:

(http://www.irelandupclose.com/customer/LL/InFocus.jpg)

As you can see, my first attempt with ACR25 & InFocus with a 1.3 blur radius and best settings for artifact removal (which didn't LOOK too bad) is a disaster (first line), way oversharpened.

On the 3rd line I have InFocus with a 1.3 blur radius again and nothing else. It seemed to me that applying sharpening only really added a halo and microcontrast only seemed to boost noise. At any rate the results are not bad, although the ACR25+FM1 above is better at everything except MTF50.

I then applied Topaz Detail3 (to the Infocus 1p3) at Microcontrast=0,Medium=0.2 and Large=0.2 and that wins on every point against the other three.  Here is the slanted edge and MTF graphs, which look pretty good for both contrast and resolution with essentially no artifacts and an impressive MTF of 2552 lw/ph at Nyquist:

(http://www.irelandupclose.com/customer/LL/A000541-InFocus+Detail.png)
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 22, 2016, 06:53:15 am
As a further step to the InFocus+Detail sharpening above, I applied sharpening using ACR at 0.5 radius, quite high value (around 70), Detail set to 0 and Masking to 100 to see if I could sharpen the high frequency components and lift the MTF curve.

The result is very good, I think:

(http://www.irelandupclose.com/customer/LL/InFocus+Detail+ACR.jpg)

It has tightened up the edge profile to just 1px for the 10-90% rise, which is excellent. The MTF50 has gone to 3973 lw/ph which is outstanding, considering that the camera is an A6000 with 4000 px picture height. And what is even more outstanding is that the MTF at Nyquist is 3920 lw/ph.  There are essentially no artifacts added by the final sharpening.

Bart mentioned that some sharpening needs to be added in InFocus to add amplitude and I think that this is essentially what I have done here ... so the deblur and sharpening can be done in InFocus. However ACR has more control over the sharpening as it has a Detail slider and Mask so that sharpening artifacts can be minimised.

Here is a real-life comparison (100% crop) using the same settings exactly (top has no sharpening, bottom has InFocus+Detail+ACR:

(http://www.irelandupclose.com/customer/LL/InFocus+Detail+ACR-Wall.jpg)
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 23, 2016, 01:09:05 pm
Robert, the bottom sharpened result looks artificial. It looks too overly smooth and clay like.

Or are you sharpening so it looks natural when downsized for web viewing which is output sharpening and not capture sharpening.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 23, 2016, 02:26:19 pm
Robert, the bottom sharpened result looks artificial. It looks too overly smooth and clay like.

Or are you sharpening so it looks natural when downsized for web viewing which is output sharpening and not capture sharpening.

Hi Tim ... well they both look smooth and clay-like to me because it is a clay-like render over pebble (pebble-dash https://en.wikipedia.org/wiki/Roughcast).  The reason I picked that photo is a) because I had it to hand, and b) because the original is quite soft as you can see. 

I didn't downsize the image for web viewing or output sharpen it ... this is just capture sharpening with a crop at 100%, captured using MWSnap off my monitor.  It could be that MWSnap isn't doing too good a job.

Here is a crop of another image that I took this evening behind my house with my brand new Batis 85mm :).  You really need to download (right-click) and view it in Photoshop.

(http://www.irelandupclose.com/customer/LL/batis-sunset.jpg)

I don't think the image really needed any sharpening (none was applied in Lighroom) and if I was using it I would dial-down the sharpening, but this is for illustration. The fine detail has been brought out and there is stronger contrast (this is from Topaz Detail).  Noise has been boosted a bit, but you need to go to 200% to see that.  I suppose an edge mask could be used  for noisier images to avoid boosting noise.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 23, 2016, 02:42:54 pm
So what was your point behind the painted wall sample? What do you want us to understand about sharpening outside of using visual judgement vs nyquist graphs?

It appears from the painted wall image that there's not a lot of acuity in the lens you're using or you're over exposing and introducing flair or nonlinear sensor behavior.

I get a lot of Raw shots similarly with a $500 DSLR/kit lens system, but I know I can make a silk purse out of a sow's ear by remapping the tonality of the nonlinear/flat looking image and then apply the right amount of sharpness that fits hand in glove with the tonality as I've demonstrated in the sample below and that's a jpeg.

I pretty much have to do this on every image I shoot more or less. Scientific analysis isn't going to tell you anything about making a better looking image on a consistent basis. Every scene/exposure combination is going to introduce some kind of nonlinear behavior that has to be fixed in post.
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 23, 2016, 02:56:07 pm
Thanks, Bart, on that layer blend tip. It gave me an idea about applying it to a high pass sharpening routine on severely upsampled low resolution images with better results than using Smart Sharpen in CS5.
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 23, 2016, 03:22:29 pm
Concerning that same layer arrangement: a dumb question: which are the 2 layers you are blending? 2 dups of the background, sharpened in 2 different ways/degrees?
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 23, 2016, 03:25:17 pm
Are you asking Bart or me?
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 23, 2016, 03:55:07 pm
Concerning that same layer arrangement: a dumb question: which are the 2 layers you are blending?

The screen copy in reply 81 shows the effect of regular (small radius) sharpening, which clips, and the same sharpened image with a Blend-if on top of the unsharpened original.

So the procedure would be to make a duplicate layer of e.g. the Background layer (or a merge of the visible layers), sharpen that, and use a Blend-if Luminosity layer to gradually blend it with the original as the edge contrast approaches clipping. The idea behind it is that if edge contrast is already high, it already looks sharp, and it's better to avoid clipping artifacts instead of exaggerating the sharpening.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 23, 2016, 04:06:11 pm
Thanks, Bart, on that layer blend tip. It gave me an idea about applying it to a high pass sharpening routine on severely upsampled low resolution images with better results than using Smart Sharpen in CS5.



You're welcome Tim. I use a Photoshop action that duplicates a layer, sets the Blend-if parameters and Luminosity blending, and then calls (in my case) FocusMagic, but it could call any filter or action that sharpens. That makes it a 1 mouseclick operation, if the Blend-if parameters are acceptable, and whatever sharpening radius or other parameters are needed. The layer can be switched off or removed, e.g. before resampling, or it can be partially masked where the sharpening is not needed. It's very flexible.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 23, 2016, 04:33:29 pm
So what was your point behind the painted wall sample? What do you want us to understand about sharpening outside of using visual judgement vs nyquist graphs?

It appears from the painted wall image that there's not a lot of acuity in the lens you're using or you're over exposing and introducing flair or nonlinear sensor behavior.

Hi Tim,

I just had a look at the image and you're right ... what I posted shows nothing of interest.  It's because of the way I captured it.  Here is crop, as before, but this time straight out of Photoshop.

The lens I used is a superb lens (Sony/Zeiss 55mm f/1.8 ) but the focusing was not 100% as you can see.  What I am trying to show in the images is the same as in the the MTF chart, that fine detail is restored as is contrast, with no ugly artifacts like halos.  Have a try on the original image if you like: A6000-55mm-Wall (http://www.irelandupclose.com/customer/LL/A000545.ARW)

(http://www.irelandupclose.com/customer/LL/wall.jpg)

I guess this is a question of whether of not one is willing to trust the result of the sort of experiment that does not rely on a subjective evaluation.  The MTF/Edge profile analysis is intended to show the performance of an imaging system either with or without post-processing.  I personally think that it is very useful as a tool to evaluate different sharpening methods (or resizing methods) ... but of course that's a personal opinion. If you feel that it is better to make a judgement based solely on real-life images then that's fine; but I find that it's really quite easy to think that one is sharpening well when in fact we are damaging the image.  Perhaps that doesn't matter in most instances if the result is pleasing, but when we are trying, for example, to make large prints for close-up viewing as in a gallery ... well then every little bit that we can squeeze out of the photo is worth doing.
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 23, 2016, 05:20:50 pm
Robert, that second attempt looks more real (natural) which is all that I look for.

But it still looks overly smooth but at least more consistent overall which masking tends to introduce unevenness between smooth surfaces next to fine crispy detail. The eye sees fine detail like granules from dirt and tiny dried bubbles and cracks underneath the paint along smooth raised bumps. But your second attempt makes me think the viscosity of the paint must've been thicker and dried to a burnished look differently across the entire surface.

It just looks odd in a surreal way, but maybe that's what will make the print unique from an aesthetic standpoint. But scientific analysis is not going to predict that kind of outcome on a consistent basis.

I couldn't download your ARW file. I get a "Enable Quicktime" alert in Firefox and when I allow it, I end up with a blank white page.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 23, 2016, 05:31:26 pm
Robert, that second attempt looks more real (natural) which is all that I look for.

But it still looks overly smooth but at least more consistent overall which masking tends to introduce unevenness between smooth surfaces next to fine crispy detail. The eye sees fine detail like granules from dirt and tiny dried bubbles and cracks underneath the paint along smooth raised bumps. But your second attempt makes me think the viscosity of the paint must've been thicker and dried to a burnished look differently across the entire surface.

It just looks odd in a surreal way, but maybe that's what will make the print unique from an aesthetic standpoint. But scientific analysis is not going to predict that kind of outcome on a consistent basis.

I'm not using masks here Tim ... I just mentioned that with very noisy images that an edge mask could be used to reduce the noise-boosting.

The photo certainly isn't meant to be artistic :). I took it to test my camera/lens because the variations in texture and detail is quite useful (and it also happens to be the back wall of my house).


Quote
I couldn't download your ARW file. I get a "Enable Quicktime" alert in Firefox and when I allow it, I end up with a blank white page.

Try Chrome ... the download works for me.
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 23, 2016, 05:40:52 pm
Are you asking Bart or me?
Everybody who knows and is willing to explain ;-)
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 23, 2016, 05:45:13 pm
Bart, thank you for the explanation of the layer blending!
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 23, 2016, 10:21:07 pm
Everybody who knows and is willing to explain ;-)

Just experimenting capture sharpening for uprezing in LR4 to 36in x 24in/240ppi my 6MP Raw cropped to 4MP and doing further edge mask sharpening in CS5 Photoshop using Highpass/2.50 setting on a Linear Light blend mode layer. See the screengrabs. The actual zoom of the image is how it looked in LR4 at 4:1 zoom view to match the 100% zoom in Photoshop. The feather detail in the middle has the highpass layer turned off and the one on the far right has it on.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 24, 2016, 02:28:15 am
Hi Tim ... could you make your original raw file available to play around with?  I would like to see what the result is like with InFocus etc.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 24, 2016, 07:26:40 am
Hi Tim, thank you for the demo. I note that you use Linear Light as the blend mode, rather than Luminosity; and that in your base layer, you have defined 2 overlapping areas. It looks like, amongst others, I need some basic read-up on layer blending, with wich I am not familiar at all.
- As for the look, I prefer the middle image, without the highpass sharpening. The one at right has a little grainy look to my eyes.
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 24, 2016, 07:39:51 am
I think I found out why you are advised to use piccure+ before cropping an image. Piccure+ seems to work well If you choose to "Delete cropped pixels" when cropping an image in Photoshop.

If you elect to not "Delete cropped pixels" when cropping and later launch piccure+ it crashes before it successfully opens to the plug in interface.

I am guessing it just seems easier to tell people to crop after rather than explain the details of the circumstance.
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 24, 2016, 09:38:28 am
Finally got around to trying Topaz InFocus. It seems to really dig in and bring out the detail. Perhaps it is too much, too early, if used as a pre sharpener? I look forward to having 30 days of trial and error with it. :-)
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 24, 2016, 09:59:36 am
Finally got around to trying Topaz InFocus. It seems to really dig in and bring out the detail. Perhaps it is too much, too early, if used as a pre sharpener? I look forward to having 30 days of trial and error with it. :-)

Hi,

It's easy to overdo the deconvolution with Topaz InFocus, which would create artifacts. As a tip on how to avoid that, see my earlier post (http://forum.luminous-landscape.com/index.php?topic=107311.msg892643#msg892643) in this thread.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 24, 2016, 10:10:23 am
I've just downloaded the piccure+ free trial and I'm getting a very ugly result straight off.  Here is a crop of a slanted edge in piccure+ with all settings off.  you can see the white line inside the black box very clearly, and also the halo around the box.

The photo is with all sharpening off in Lightroom. The image looks fine in Photoshop (but not after piccure obviously).

You can try this by putting a dark gray box on a light gray background and then running piccure.

Either my setup is faulty in some way (don't think so) or piccure+ is for the recycle bin!

(http://www.irelandupclose.com/customer/LL/picplus.jpg)
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 24, 2016, 10:30:51 am
Hi,

It's easy to overdo the deconvolution with Topaz InFocus, which would create artifacts. As a tip on how to avoid that, see my earlier post (http://forum.luminous-landscape.com/index.php?topic=107311.msg892643#msg892643) in this thread.

Cheers,
Bart

Thank you Bart, your advice is very similar to the way I was using it this morning. It seems so *powerful* that I need to teach myself what the threshold of overdoing it is. :-)
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 24, 2016, 10:48:51 am
I've just downloaded the piccure+ free trial and I'm getting a very ugly result straight off...
Either my setup is faulty in some way (don't think so) or piccure+ is for the recycle bin!

(http://www.irelandupclose.com/customer/LL/picplus.jpg)

Hi Robert,
 I think your test example is a worst case candidate for showing piccure+'s ability. I have been getting bad results with high contrast edges being output with wide dark lines. Piccure+ seems to work very well on frames filled with lots of lower contrast and soft detail. Even when I find that piccure+ is helpful I find that the range of parameter adjustments seems crude. Sometimes I make a one click change in a single parameter and can barely, if at all, see a change in output while other times I make a single parameter change and the results are suddenly ugly. In other words, adjusting the parameter sliders does not seem to result in subtle differences that can be appreciated.

 I suspect I will be purchasing a license for both piccure+ and Topaz InFocus and continuing to learn when one is more helpful than the other.

 When I consider how piccure+'s display doesn't show correct color with ProPhotoRGB and costs so much more than InFocus it seems a bit overpriced. I can buy a InFocus license to share on mine and my wife's computer for $52 but piccure+ costs $119.

 My general impression of convolution mathematics is that it does not involve sophisticated programming but rather requires brute force computational power as provided by the hardware. That suggests to me that piccure+ should be spending more time on improving the graphical interface to make it seems like a good value.
Title: Re: deconvolution sharpening plug in
Post by: robgo2 on February 24, 2016, 12:19:44 pm
I understood that smart sharpen in PS used deconvolution sharpening, but perhaps I've got that wrong.

In Lightroom (and ACR) the sharpening uses deconvolution if the detail slider is moved right.  No convolution when the detail slider is at the left end, or so Jeff Schewe says in "The Digital Negative".

This is my understanding as well--the Sharpening/Detail slider in ACR/LR uses deconvolution. However, in my experience, it is a weak and poor implementation of the process.

There are other raw converters that utilize deconvolution sharpening much more effectively. Photo Ninja is my particular favorite. DxO's lens blur correction is deconvolution as well. This approach appeals to me, because it allows "optimal" capture sharpening in the raw stage.

Rob
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 24, 2016, 01:04:20 pm

I think your test example is a worst case candidate for showing piccure+'s ability. I have been getting bad results with high contrast edges being output with wide dark lines. Piccure+ seems to work very well on frames filled with lots of lower contrast and soft detail. Even when I find that piccure+ is helpful I find that the range of parameter adjustments seems crude. Sometimes I make a one click change in a single parameter and can barely, if at all, see a change in output while other times I make a single parameter change and the results are suddenly ugly. In other words, adjusting the parameter sliders does not seem to result in subtle differences that can be appreciated.


Hi Eric,

The slanted edge analysis is a pretty standard way of testing imaging systems at this stage and if a sharpening algorithm shows serious artifacts either visually or using an analysis tool like Imatest then I think it's fair to conclude that the algorithm has major issues.

I've run Focus Magic, InFocus and piccure+ on the slanted edge, taking as much care as I could to err on the low rather than the high side (so, for example, in Focus Magic serious artifacts were obvious at 4 pixel radius but I dialled down to 2 pixels). Here are the results:

(http://www.irelandupclose.com/customer/LL/fm-if-pp-none.jpg)

InFocus gives the best results by far, except at low frequencies where Focus Magic holds up the contrast better.

Focus Magic gives a good result except at high frequencies where it pretty much loses it completely.

piccure+gives a good edge rise ... however it achieves this by applying a strong dark halo.  The MTF50 result is poor and the MTF-Nyquist is very poor.

It's clear to me that InFocus is the winner - and furthermore it has a far superior interface to FocusMagic.  I wouldn't touch piccure+.  Focus Magic, on the other had, does a very decent job at lower frequencies, is very simple to use and very fast. Further sharpening with a very low radius would probably fix the high frequency softness.


Robert
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 24, 2016, 03:48:46 pm
Is there a way to use your test method to analyze the results of the various sharpening processes on a photo such as this or do the tests just work on graphical chart type subjects?:

Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 24, 2016, 04:07:23 pm
Hi Tim, thank you for the demo. I note that you use Linear Light as the blend mode, rather than Luminosity; and that in your base layer, you have defined 2 overlapping areas. It looks like, amongst others, I need some basic read-up on layer blending, with wich I am not familiar at all.
- As for the look, I prefer the middle image, without the highpass sharpening. The one at right has a little grainy look to my eyes.

Hi Hening, the grainy look isn't going to standout in a 36x24in. print unless the viewer has their nose right up on it which is what that zoom level at 100% in Photoshop shows.

My experiment was to show how blending the bottom layer's shadow into highlight ratio is more controllable than Smart Sharpen and ACR/LR's masking slider. In fact the posted shadow slider positions are blend optimized to take advantage of upsampling's softening of noise with similar effect to Luminance noise reduction in ACR/LR but with a more controllable masking effect. I really don't like ACR/LR's masking slider. I never use it. I just back off Detail slider, but this is in CS5-ACR and LR4.

Robert, I'm not into uploading my Raw files. It's a PITA and besides you can find dozens of Raw shots of duck images to download online to conduct sharpening experiments. I mean how hard is it for you to go to your local park and take a shot of ducks?
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 24, 2016, 05:16:25 pm
Is there a way to use your test method to analyze the results of the various sharpening processes on a photo such as this or do the tests just work on graphical chart type subjects?:


No, unfortunately not.  The slanted-edge analysis can only be used on a test image.  I think it's useful for comparing different sharpening methods and it can show the effect of over-sharpening and under-sharpening, poor contrast, low resolution, different lenses, f-stops etc., but that's it.  These findings can then be applied to real-life images, but the images can't be analysed as a slanted edge can.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 24, 2016, 05:30:17 pm

Robert, I'm not into uploading my Raw files. It's a PITA and besides you can find dozens of Raw shots of duck images to download online to conduct sharpening experiments. I mean how hard is it for you to go to your local park and take a shot of ducks?

True, true ... but then it wouldn't be YOUR duck now, would it Tim?  But never mind, I do have lots of pics of ducks and herons and swans and egrets and so on and so forth.  Here's one that I sharpened with InFocus and Detail.  As you can see the original image was rather soft, having been taken in low light at 200mm, f11 and 1/60th of a second, hand-held ... not to mention the swan's movement.  My hand probably shook in the same direction as the swan's motion :)

(http://www.irelandupclose.com/customer/LL/swans.jpg)
Title: Re: deconvolution sharpening plug in
Post by: joofa on February 24, 2016, 10:33:27 pm
Is there a way to use your test method to analyze the results of the various sharpening processes on a photo such as this or do the tests just work on graphical chart type subjects?:
No, unfortunately not.  The slanted-edge analysis can only be used on a test image.  ... but the images can't be analysed as a slanted edge can.

Huh. Of course, you have been living in the olden times of, what's the name again, yeah, slanted edge method ... The world has moved on to using JIDM on real images:

(http://djjoofa.com/data/images/jidmswans.jpg)
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 25, 2016, 03:13:56 am
No, unfortunately not.  The slanted-edge analysis can only be used on a test image.  ... but the images can't be analysed as a slanted edge can.


Huh. Of course, you have been living in the olden times of, what's the name again, yeah, slanted edge method ... The world has moved on to using JIDM on real images:

(http://djjoofa.com/data/images/jidmswans.jpg)

What does a value of 0 to 1 tell you about the performance of an imaging system?  That it has more or less resolution? More or less acutance? More or less of both?

A slanted-edge analysis can give you a huge amount of detailed information about the whole imaging system, from lens-style MTF (which shows the performance of the imaging system across the whole frame), chromatic aberration, edge profile, noise analysis ... and other things like distortion, tonal response and color fidelity with different charts.  It also provides a standardized way of comparing different camera/lens combinations, different sharpening or resizing methods, the effect of lens profile correction on resolution etc.

Not that I'm an expert so perhaps I don't understand what JIDM can do?


Robert
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 25, 2016, 04:01:44 am
What does a value of 0 to 1 tell you about the performance of an imaging system?  That it has more or less resolution? More or less acutance? More or less of both?

Correct, as in most single number qualifiers, they only mean that there is a difference. How significant that difference is, is anyone's guess.

Quote
A slanted-edge analysis can give you a huge amount of detailed information about the whole imaging system, from lens-style MTF (which shows the performance of the imaging system across the whole frame), chromatic aberration, edge profile, noise analysis ... and other things like distortion, tonal response and color fidelity with different charts.  It also provides a standardized way of comparing different camera/lens combinations, different sharpening or resizing methods, the effect of lens profile correction on resolution etc.

And that's why it is an ISO approved method for measuring Resolution for digital scanners and cameras. There is a lot of information that can be extracted from the results. One of the things it clearly demonstrated in the examples you showed, is that FocusMagic is very good at restoring detail below the Nyquist frequency and it avoids creating aliasing artifacts, and Infocus also boosts signals (above the Nyquist frequency) that may lead to aliasing but can also look sharper at the limiting resolution.

Implementations of the ISO procedure like Imatest does, also allows to view the data at a number of ways, highlighting different aspects of the results. It is also one of the few methods that allows to study the behavior at higher spatial frequencies than the Nyquist limit, because the slanted edge allows to super-sample the pixels at 4x the Nyquist frequency (it's actually sampling at close to 10x, for a 5-6 degree slant, but for statistical robustness it bins the results in larger bins).

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 25, 2016, 04:31:58 am
Is there a way to use your test method to analyze the results of the various sharpening processes on a photo such as this or do the tests just work on graphical chart type subjects?

Hi,

The difficulty with analyzing a random/real image, rather than one shot under strictly normalized conditions, is that there are numerous variables that cannot be individually identified. It's like trying to unscramble an omelet. Is the blur caused by subject motion, lens aberrations, camera shake, defocus, diffraction? How much of these factors is present in the image with what weigthing, and how much is signal and how much is noise, or in case of JPEGs added lossy compression artifacts?

There are some measurements possible, e.g. how much of the various spatial frequencies are present in an image by means of a periodogram, but it is hard to compare results between images from different subjects, it is only useful to quantify content from a particular image. So it would only work on identical images with a before/after comparison, and still needs interpretation based on subject matter and how it was captured.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 25, 2016, 08:36:58 am
I've just downloaded the piccure+ free trial and I'm getting a very ugly result straight off.

Robert,

As mentioned earlier, piccure+ themselves suggest that there are better tools for capture sharpening images taken at their sharpest f-numbers with good technique.  They on the other hand claim to be able to perform blind reversal of the effects of spatially-varying optical aberrations.  This is one mean feat and requires major computational power.  But unless you have such a situation use the other simpler, faster tools.

Incidentally, one of InFocus' neatest features is its one click capture sharpening.  To use it zero out the Sharpen section and set up the following as a preset, it comes straight from dr. Albert Yang, President of Topaz:

Blur Type: Unknown/Estimate
Blur Radius: 2 (don't worry, it does not mean 2 pixels in this context)
Edge Softness: 0.3

The next time you want to capture sharpen an image bring it into InFocus, recall the preset and click the 'Estimate Blur' button.  Works pretty decently most of the time.
Jack
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 25, 2016, 09:20:55 am
And that's why it is an ISO approved method for measuring Resolution for digital scanners and cameras. There is a lot of information that can be extracted from the results. One of the things it clearly demonstrated in the examples you showed, is that FocusMagic is very good at restoring detail below the Nyquist frequency and it avoids creating aliasing artifacts, and Infocus also boosts signals (above the Nyquist frequency) that may lead to aliasing but can also look sharper at the limiting resolution.

Yes, I think it's clear that FM does a really great job up to MTF40 as can be seen below.  The MTF80 result is way better than the InFocus result.  So the FM image should look sharper overall.  InFocus pulls up the MTF near Nyquist, but that seems to be caused by aliasing.  I sharpened the InFocus result a second time with a small radius and the jaggies are quite obvious at 300% as can be seem in the image under the graphs.

The one thing I've found though is that it's really necessary to dial-down the FM setting quite a bit.  For example with this image the artifacts became strong with a radius of 5, but I had to drop the radius down to 2 in order to get a clean edge profile and MTF.  Even at 3 there is significant overshoot.

So my take right now (I seem to be doing a bit of a two-step here :) ) is that FM is the better of the two, but it's really important to step the radius back by at least 2 from the artifact radius.  Otherwise corrective action (like the layer blending you suggested or reducing the sharpened layer opacity) will be necessary to get rid of the halos.

(http://www.irelandupclose.com/customer/LL/jaggies.jpg)

So a possible approach would be to use Focus Magic with a dialed-down radius, followed by some very low radius unsharp-mask sharpening, giving the sort of result below:

(http://www.irelandupclose.com/customer/LL/FM2+ACR0p5-50.jpg)


Robert
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 25, 2016, 10:10:13 am
Yes, I think it's clear that FM does a really great job up to MTF40 as can be seen below.  The MTF80 result is way better than the InFocus result.  So the FM image should look sharper overall.  InFocus pulls up the MTF near Nyquist, but that seems to be caused by aliasing.  I sharpened the InFocus result a second time with a small radius and the jaggies are quite obvious at 300% as can be seem in the image under the graphs.

The one thing I've found though is that it's really necessary to dial-down the FM setting quite a bit.  For example with this image the artifacts became strong with a radius of 5, but I had to drop the radius down to 2 in order to get a clean edge profile and MTF.  Even at 3 there is significant overshoot.

Hi Robert,

Which is what I'd expect if the image was correctly focused. On a perfectly focused image, taken with an aperture that strikes a balance between aberration reduction and diffraction, usually approx. 2 stops down from wide-open, I usually get an optimal blur width of 1 or 2 in FM. That will boost the highest frequencies near Nyquist, and it lifts the entire MTF response.

When I apply FM on an upsampled image, e.g. for deconvolution output sharpening, then I need to multiply the Blur width by the same amount as the upsampling factor (although I can nail the optimum width a bit more exact due to the potential super-resolution). So upsampling by a factor 2x, could lead to a blur width of approx 3. instead of 2 or 4, just because it is possible to be more exact and interpolate between the initial 1x2 or 2x2.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: joofa on February 25, 2016, 10:14:00 am
What does a value of 0 to 1 tell you about the performance of an imaging system?  That it has more or less resolution? More or less acutance? More or less of both?

Lets not change the experiment and go on to a more general performance measurement of an imaging system. Though, not implying that JIDM cannot be used there somewhere. If I got it right and please correct me if I didn't, then you are interested in running different algorithms (or software) and comparing the output as far as 'sharpness' goes. Correct? And, a single number is fine for rank ordering in this case.

BTW, as noted before by others, the slanted edge method doesn't let you operate on natural images. The use of JIDM was just in the context as somebody asked on how to use that antiquated slanted edge method on natural images? And, apparently there is no direct way.


Correct, as in most single number qualifiers, they only mean that there is a difference. How significant that difference is, is anyone's guess.

I find it interesting that you don't know the internals of JIDM but are quick to jump to a conclusion of 'anyone's guess'. In experiments that is called bias.

And that's why it is an ISO approved method for measuring Resolution for digital scanners and cameras.

Are we measuring resolution of digital scanners or cameras here. Or just a simple comparison of different software/algorithms?

Implementations of the ISO procedure like Imatest does, also allows to view the data at a number of ways, highlighting different aspects of the results. It is also one of the few methods that allows to study the behavior at higher spatial frequencies than the Nyquist limit, because the slanted edge allows to super-sample the pixels at 4x the Nyquist frequency (it's actually sampling at close to 10x, for a 5-6 degree slant, but for statistical robustness it bins the results in larger bins).


You can spend all the time praising such antiquated methods until the cows come home. OTOH, JIDM has some known limitations and one should use a judicious approach. However, as far as devising an automated of comparing and rank ordering the 'sharpness' of natural images, JIDM does fine.
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 25, 2016, 11:56:17 am
BTW, as noted before by others, the slanted edge method doesn't let you operate on natural images.

But the principles can be applied to any edge detail in an image. Any edge that is sufficiently contrasty, and not exactly parallel to one of the orthogonal axes of the pixel grid, intersects the pixel rows and columns at an angle. Once we see that, it becomes quite easy to even visually(!) judge the blur radius after sharpening. A blur radius that is too large will generate an over- / under-shoot. When the estimated blur width is exactly right, there is no over- / under-shoot and the amount setting can be used to make the transition (Imatest pixel profile) as steep as possible.

Quote
I find it interesting that you don't know the internals of JIDM but are quick to jump to a conclusion of 'anyone's guess'. In experiments that is called bias.

You misunderstood my comment, which was about single figure quantifications of complex processes, in general. But while we're at it, how relevant is a 0.01 or a 0.1 difference in the metric that you devised? Is it significant, very significant, is it a logarithmic scale, or linear, is it peak sharpness, global sharpness, chrominance or luminance sensitive, is it sensitive to image contrast, or ...

Besides, a single metric for sharpness can also be gotten from the JPEG file size after saving, or even the standard deviation. Surely your metric is supposed to be somewhat more useful than that?

Quote
Are we measuring resolution of digital scanners or cameras here. Or just a simple comparison of different software/algorithms?

I'd say that the mentioning of deconvolution  in the subject line was enough of an indication by itself that we are looking for signal restoration in the presence of noise. Signals are a composite of multiple spatial frequencies in the case of images, and temporal and electronic noise are part of the capture process.

Quote
You can spend all the time praising such antiquated methods until the cows come home.

I suggest you propose something better, e.g. to the ISO standards organization, to improve on their methods of analyzing Image resolution in discrete digital capture devices.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 25, 2016, 12:22:10 pm

They on the other hand claim to be able to perform blind reversal of the effects of spatially-varying optical aberrations.  This is one mean feat and requires major computational power.

Hi Jack,

Well here's a digitally spatially-varied aberration (I think) and piccure did nothing to the image:

(http://www.irelandupclose.com/customer/LL/pp-opab.jpg)

As you can see, I warped the image a bit and I can tell you that there is zilch difference between the original warped image and the one processed by piccure (I had Optical Aberrations set to NORMAL).

Have I misunderstood what they mean by 'spatially-varying optical aberrations'?  Are they talking about things like softness in rings caused by spherical aberration, for example?  I tried that by applying a 1px blur to a ring around the center of the image, but there was no stronger correction of the blurred ring (than of the rest of the image).

Quote
Incidentally, one of InFocus' neatest features is its one click capture sharpening.  To use it zero out the Sharpen section and set up the following as a preset, it comes straight from dr. Albert Yang, President of Topaz:

Blur Type: Unknown/Estimate
Blur Radius: 2 (don't worry, it does not mean 2 pixels in this context)
Edge Softness: 0.3

The next time you want to capture sharpen an image bring it into InFocus, recall the preset and click the 'Estimate Blur' button.  Works pretty decently most of the time.
Jack

I tried this and it doesn't seem to work:

(http://www.irelandupclose.com/customer/LL/IF-BE.jpg)

(http://www.irelandupclose.com/customer/LL/IF-Swan-BE.jpg)

Very strong artifacts, as you can see.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 25, 2016, 12:36:29 pm

When I apply FM on an upsampled image, e.g. for deconvolution output sharpening, then I need to multiply the Blur width by the same amount as the upsampling factor (although I can nail the optimum width a bit more exact due to the potential super-resolution). So upsampling by a factor 2x, could lead to a blur width of approx 3. instead of 2 or 4, just because it is possible to be more exact and interpolate between the initial 1x2 or 2x2.


So I take it that you do not apply FM before the upsampling?  Of do you apply it before at, say, a blur width of 1, and then re-apply FM to the 3x upsampled image with a blur width of 3?

Robert
Title: Re: deconvolution sharpening plug in
Post by: joofa on February 25, 2016, 12:44:33 pm
a single metric for sharpness can also be gotten from the JPEG file size after saving, or even the standard deviation. Surely your metric is supposed to be somewhat more useful than that?


JPEG file size is a not a good metric as it depends upon image dimensions also. However, JIDM, is independent of image dimensions and actually analyzes image content. Similarly direct comparison of standard deviation also has flaws. For one thing it is affected by the overall brightness, etc.

JIDM has further advantages that it can be used in different sections of an image to identify areas of higher detail, etc.

See, I don't want to tout JIDM too much on this forum. I just presented it as a measure that acts on natural images as somebody asked.  Where as the slanted edge method is not directly applicable - you can force it, and then it becomes a manual process to find edges in an image, and no longer an automated process like JIDM.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 25, 2016, 01:36:41 pm
See, I don't want to tout JIDM too much on this forum. I just presented it as a measure that acts on natural images as somebody asked.  Where as the slanted edge method is not directly applicable - you can force it, and then it becomes a manual process to find edges in an image, and no longer an automated process like JIDM.

If you could tell us what exactly the JIDM metric says about the image then it might be useful in seeing if one sharpening algorithm is better than another on a landscape photograph, say.  What, for example, is the meaning of the metric going from .0538 to .0629 on the photo of the swan?  Is a difference of .0091 significant?

Robert
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 25, 2016, 02:42:30 pm
So I take it that you do not apply FM before the upsampling?  Of do you apply it before at, say, a blur width of 1, and then re-apply FM to the 3x upsampled image with a blur width of 3?

It depends. I usually create a sharpening layer based on the original Raw conversion image size. But, because it is a layer, I can disable it e.g. before down-sampling where it would only increase the risk of generating aliasing artifacts. Before upsampling I have a choice. I either do another round of sharpening on the already sharpened and then upsampled size, but I also can try to switch-off the first sharpening layer, and redo it at larger size image, with a larger blur width setting and usually a larger amount, and then choose which combination to use. The latter (single sharpening layer at larger size) has the benefit of having a lower risk of amplifying artifacts that may have been caused at a smaller image size but were not objectionable at that size.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 25, 2016, 03:34:37 pm
Thanks Bart ... that makes sense.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 25, 2016, 04:40:41 pm
Hi Bart,

>I can disable it e.g. before down-sampling where it would only increase the risk of generating aliasing artifacts.

I am surprised to read that. I thought down-sampling would also decrease artifacts? If memory serves me, I remember that you even favoured a workflow of first up-, then down-sampling for the sole purpose of doing just that?

Kind regards - Hening
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 25, 2016, 06:21:30 pm
Hi Bart,

>I can disable it e.g. before down-sampling where it would only increase the risk of generating aliasing artifacts.

I am surprised to read that. I thought down-sampling would also decrease artifacts?

Hi Hening,

When we increase the high spatial frequency amplitudes at the native Raw conversion size, we also create better modulated spatial frequencies, some of which are most likely too small to be still resolvable once down-sampled. Any detail, especially when it is well resolved, that is too small to be resolved at a smaller size will create aliasing artifacts. So my advise is to not sharpen before downsampling, in fact one can benefit from blurring (or using appropriate windowing algorithms) before downsampling.

Quote
If memory serves me, I remember that you even favoured a workflow of first up-, then down-sampling for the sole purpose of doing just that?

Correct, but here we have a special case. Usually, upsampling doesn't increase resolution, it just upsamples/dilutes what is there at a smaller size. What sharpening at the larger size achieves is, first compensate for the upsampling blur, and second restore original signal resolution if it wasn't already deconvolved. So in theory, upsampled resolution will be close to what can be resolved at the original/smaller size, just bigger. If that is the case, and we didn't overdo it before down-sampling, then there is no image content with spatial frequencies that exceed the Nyquist frequency at the smaller size, hence not aliasing.

If we sharpen at the larger size for direct output, then we can overdo it a bit to pre-compensate for expected losses later in the print process, due to media losses e.g. caused by ink diffusion and dithering.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 26, 2016, 04:25:59 am
Any detail, especially when it is well resolved, that is too small to be resolved at a smaller size will create aliasing artifacts. So my advise is to not sharpen before downsampling, in fact one can benefit from blurring (or using appropriate windowing algorithms) before downsampling.


Hi Bart,

In the image below, on the left I applied FM radius 2 amount 100 then resized to 50% using Bicubic.  On the right I resized to 50% using Bicubic and then applied FM radius 1 amount 100.

(http://www.irelandupclose.com/customer/LL/downsample.jpg)

It looks like the whole curve is pulled up (on the sharpen-after), probably a bit too much.

I reduced the sharpening after resize to FM1/75 and also to FM1/100 followed by a sharpened-layer opacity reduction to 80%:

(http://www.irelandupclose.com/customer/LL/downsample-reduce.jpg)

I would be interested in your interpretation.  What I see is that none of these methods are introducing aliasing (because the image is softish to start off with and the sharpening I applied before resize was quite low?) but the sharpening after resize improves the low-frequencies compared to the sharpening before resize (any logical reason for this?).  It also seems better to reduce the sharpened layer opacity rather than reducing the deblur amount (but that could just be because it the layer opacity is more easily controlled that the deblur amount).

Robert
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 26, 2016, 07:35:06 am
Hi Bart,

thank you for your detailed reply.
So sharpening before downsizing can be beneficial if the larger size was achieved by upsampling first, not if it is the shooting size - correct?

What would be the benefit of such upsampling first? better visibility when adjusting the parameters? this is what I read from your post #120.

So my take-away so far is:
Preferably, sharpening should be done at output size. After downsampling for web, after upsampling for (large) prints. The concept of *capture* sharpening is kind of fading away.
It might be replaced by sharpening for the monitor size as the primary "output".
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 26, 2016, 08:06:04 am
Hi Bart,

In the image below, on the left I applied FM radius 2 amount 100 then resized to 50% using Bicubic.  On the right I resized to 50% using Bicubic and then applied FM radius 1 amount 100.

[...]

It looks like the whole curve is pulled up (on the sharpen-after), probably a bit too much.

I reduced the sharpening after resize to FM1/75 and also to FM1/100 followed by a sharpened-layer opacity reduction to 80%:

[...]

Based on the technical data and charts, we can see (on the edge pixel profiles) that there is a small edge halo in all versions. Ideally we would have no halo, but that is almost impossible if the image has to be sharp as well. So that is why I use a Blend-if layer (http://forum.luminous-landscape.com/index.php?topic=107311.msg892629#msg892629) rather than a reduced opacity, in order to keep the deconvolution sharpening at full strength except for very high contrast edges and lines to avoid clipping and the most annoying high contrast halos.

Also, we can see that there is some aliasing potential (the shaded region at the bottom right under the MTF curves) in all versions, again hard to totally avoid, but something to be cautious about. Any method that combines a boost in the spatial frequencies at the left of the Nyquist limt marker and a very low response to the right of it, should be our goal. But it's hard to achieve on normal images without introducing other artifacts, so it remains a balancing act.

I still think that an ultimate test to verify the creation of down-sampling artifacts, is to down-sample a zoneplate kind of target (like this one (https://www.dropbox.com/s/jiywm0vrse2t7zm/Rings.png?dl=0)). Such a target is super critical and has many spatial frequencies in all orientations, and the sort of repetitive sinusoids show deviations from the expected pattern with merciless clarity (not only aliasing, but also blocking and ringing artifacts will break the smooth patterns). That will also show that preblurring before downsampling will reduce the artifacts, but that sharpening after resampling will bring out some of that again, just as the Imatest charts predict. Another useful natural subject image for testing is this one (https://www.dropbox.com/s/kpps4axc14itsao/0920_Tr_30pct.jpg?dl=0), with many thin lines and sharp edges at slightly different angles. Down-sampling that will also show many issues if the process is not of high enough quality.

Also to complicate matters further, Bicubic filtered down-sampling is not perfect and introduces some artifacts by itself. However, it is not that easy to devise a better down-sampler because there will always be other trade-offs to consider (although a Lanczos2 or Lanczos3 windowed downsampling is often pretty usable). In this thread (http://forum.luminous-landscape.com/index.php?topic=91754.msg746273#msg746273) I tried to create a best compromise, but it requires an external imageprocessing library (it's free though). It also uses different filters/methods for up- and down-sampling.

Imageprocessing of natural images is a process where a lot of trade-offs need to be made, and some image content is better suited for one approach, while other image content benefits from another approach, and they are often combined in the same image. The need for sharpening is inherently linked to the capture process, which blurs image content, and resampling also blurs and/or reduces contrast. Therefore there is no single best solution. But if our tools allow a good preview of what the effects are, and we use some of the insights we can get from analyzing images with tools like Imatest, we can get quite far.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 26, 2016, 08:15:02 am
Hi Bart,

thank you for your detailed reply.
So sharpening before downsizing can be beneficial if the larger size was achieved by upsampling first, not if it is the shooting size - correct?

Yep.

Quote
What would be the benefit of such upsampling first? better visibility when adjusting the parameters? this is what I read from your post #120.

Yes, because of the additional pixels one can make the corrections more accurately. However, this is most often used when the upsampled image is the goal (e.g. for native printer PPI matching). It can be used to downsample again to the original size, but that assumes a decent downsampling routine. In most cases, direct sharpening at the target size is a good approach.

Quote
So my take-away so far is:
Preferably, sharpening should be done at output size. After downsampling for web, after upsampling for (large) prints. The concept of *capture* sharpening is kind of fading away.

Well, it is still capture sharpening, but not necessarily at the captured size. The capture process is inherently blurry so it doesn't matter much when we address it, although it is often done early in the process to avoid introduction of too many non-linearities that make proper deconvolution harder to achieve. What we really need is better Capture sharpening tools in the Raw converter. Most of the current 'solutions' also cause a lot of confusion and issues, and most of that is avoidable, IMHO.

Quote
It might be replaced by sharpening for the monitor size as the primary "output".

If that is the goal, yes. Working with layers allows flexibility to switch on/off certain sharpening approaches if they get in the way of further processing, or to only apply them locally.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 26, 2016, 09:03:36 am
This morning I made some tests for myself.

I created a 5* slanted edge image and ran numerous sharpen processes on respective layers. It seemed very clear how each plugin works on slanted edges, and as I made adjustments to parameters it was easy to see which plugins worked well with either more or less input from the user. Focus Magic doesn't seem to have much user input but the results are clean. Topaz Infocus has lots of input and you can find settings to get what you want. Piccure+ has a moderate amount of choices but all the results seem characterized with a general tendency to give you what it gives you regardless of what you change. I'd say that Focus Magic is the one click winner of the slant edge test but that InFocus can easily match it if you know how to set the parameters. Piccure+ did not have a subtle effect on the slant edge, but I did notice that the Optical Aberation=micro setting made the pronounced edge line appear much smother than the others. If you actually wanted a pronounced edge the smoothness piccure produced seemed very deluxe. 

I then took what I esteemed to be the better settings for each plugin and ran them on the photo of the Black Crowned Night Heron. I think it is a lot less clear which plugin offers the best results. I noted that Topaz InFocus seemed to require more input from the user but also offered the most appreciable variance in results so I ran a few extra processes with it to see what it could do. On this photo I find myself appreciating the results that Piccure+ provides. I also like the results I got with InFocus and I appreciate the sense that I can influence the output with changes in settings. Focus Magic seems OK but I feel like it leaves the image less sharp than the other choices.

I have made and uploaded two .psd files with stacked and labeled layers so anyone can easily compare the output of the plugins. The labeling is a shorthand for the parameters available in each plugin. The labeling should not seem too puzzling to anyone who has the plugins and can look at the parameter labeling in the respective GUI. I zero'd out the Sharpen setting in InFocus so I didn't specify those settings on the InFocus layers.

The .psd files were cropped to a smaller size to make upload/download easier. The .psd files are 16bt ProPhotoRGB.

I attached jpegs of the cropped examples to this post so as to provide some idea of what you will find in the psd files.

You can download the zip file here: https://www.dropbox.com/s/ly4cbdsyiygjj9i/Sharpen%20Tests.zip?dl=0

 
Title: Re: deconvolution sharpening plug in
Post by: Tim Lookingbill on February 26, 2016, 12:23:35 pm
Hi Bart,

thank you for your detailed reply.
So sharpening before downsizing can be beneficial if the larger size was achieved by upsampling first, not if it is the shooting size - correct?

What would be the benefit of such upsampling first? better visibility when adjusting the parameters? this is what I read from your post #120.

So my take-away so far is:
Preferably, sharpening should be done at output size. After downsampling for web, after upsampling for (large) prints. The concept of *capture* sharpening is kind of fading away.
It might be replaced by sharpening for the monitor size as the primary "output".

If you go back and examine the screenshots I posted of the white duck, you'll see the Highpass sharpened version on the far right is a sort of output sharpen for downsizing to the full frame 1000x668px version on top. So basically I went from a 4MP (2536x1690/10.5x7in) upsampled to (8640x5758px/36x24in./240ppi) in LR4, downsized (with highpass sharpen layer) to 4x3in/240ppi so it looks sharper than if I'ld just opened the original 4MP and downsized to 4x3in.(1000x668px).

With regular 6MP Raws that I sharpen for posting online at 700px on the long end often ACR/LR's sharpening isn't enough to override the softening introduced by downsizing this small. I just turn on sharpen for Glossy Prints set to Standard or High in CS5 ACR/LR4. It does a pretty decent job.
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 26, 2016, 01:23:38 pm
... Topaz InFocus seemed to require more input from the user ...

Just curious, did you try InFocus' one-click mode as described earlier (http://forum.luminous-landscape.com/index.php?topic=107311.msg893513#msg893513)?

EDIT: Including the setting that I forgot, 'Suppress Artifacts = 0.2'
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 26, 2016, 01:29:21 pm
I tried this and it doesn't seem to work:

Ugh, right.  Two things:

1) I forgot one setting for the preset: 'Suppress Artifacts = 0.2'
2) How are these images getting to InFocus?  The settings I gave are for capture sharpening unsharpened raw images, if they have already been pre-sharpened by LR for instance all bets are off.

Jack
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 26, 2016, 01:52:40 pm
@#136
Thanks Tim. Yes I can see. The whole-image on top looks sharp without the grainy look I saw on the sharpened crop at right.
 
@#134
Thanks again, Bart.

> What we really need is better Capture sharpening tools in the Raw converter.

1- But that would seldom be the output size.
2- I wonder how Iridient's sharpening would fare in comparison.
Robert, would you care to make a raw of your test shot available, let me try Iridient on it, and then analyse it with Imatest?
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 26, 2016, 03:01:23 pm

Imageprocessing of natural images is a process where a lot of trade-offs need to be made, and some image content is better suited for one approach, while other image content benefits from another approach, and they are often combined in the same image. The need for sharpening is inherently linked to the capture process, which blurs image content, and resampling also blurs and/or reduces contrast. Therefore there is no single best solution. But if our tools allow a good preview of what the effects are, and we use some of the insights we can get from analyzing images with tools like Imatest, we can get quite far.


Thanks for your reply Bart.  I'm certainly much more aware now of how easy it is to damage an image than I was.  And also of how important it is to get the capture as right as possible so that it isn't subsequently necessary to do things like straightening the image.  Or, for example, if we are taking pictures of things that we do not want to be distorted (like buildings) that we would be well advised to use a lens with minimal distortion if we want the best sharpness.  After that ... use all adjustments with care and in the right order ... and, as you say, experimenting with test images and with tools like Imatest does inform and help quite a lot.

Regarding the tool preview ... that's really my biggest bitch with Focus Magic: the preview is really not great!  Still, by putting the amount up to 300% it's possible to judge the best radius without too much trouble.  I think the blend-if is good; I also think that using the layer opacity is good as it allows one to reduce the strength of the sharpening very easily, quickly, and visually (or use the Fade adjustment as this is very good too).

Robert
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 26, 2016, 03:12:24 pm
What we really need is better Capture sharpening tools in the Raw converter. Most of the current 'solutions' also cause a lot of confusion and issues, and most of that is avoidable, IMHO.

I know that this I am asking an unanswerable question because the answer probably depends on the image and what we are going to do with it in post-processing.

But I'll ask it anyway.  What do you think is the best sharpening workflow? Assuming Lightroom and Photoshop;  and that there will be either upsampling or downsampling for output;  and that we have a well-taken image with a good lens and camera.

I will understand if you are too weary of the subject to answer :)

Robert
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 26, 2016, 03:32:58 pm
Ugh, right.  Two things:

1) I forgot one setting for the preset: 'Suppress Artifacts = 0.2'
2) How are these images getting to InFocus?  The settings I gave are for capture sharpening unsharpened raw images, if they have already been pre-sharpened by LR for instance all bets are off.


Hi Jack,

Still doesn't work for me.  I am using an image from Lightroom with sharpening off (everything off in fact) and here is the result:

(http://www.irelandupclose.com/customer/LL/IF-unknown.jpg)

If I use a smaller radius (even 1.9) I don't get the ringing.  If I reduce the Edge Softness (with a Blur Radius of 2) the artifacts are also reduced.  But even then, I have to put Suppress Artifacts to max before I get a clean image.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 26, 2016, 03:37:51 pm

Robert, would you care to make a raw of your test shot available, let me try Iridient on it, and then analyse it with Imatest?

Yes, sure.  It's the same image I've been using all along (to try to keep comparing apples to apples).

Slanted Edge Test Image (http://www.irelandupclose.com/customer/LL/A000541---A6000-55mm-Test-Auto-F8.dng)

Robert
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 26, 2016, 04:27:12 pm
Many thanks, Robert. - Which output color space did you use when processing the raw?
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 26, 2016, 04:53:11 pm
Many thanks, Robert. - Which output color space did you use when processing the raw?

AdobeRGB.

Cheers

Robert
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 26, 2016, 05:24:49 pm
Just curious, did you try InFocus' one-click mode as described earlier (http://forum.luminous-landscape.com/index.php?topic=107311.msg893513#msg893513)?

EDIT: Including the setting that I forgot, 'Suppress Artifacts = 0.2'

Hi Jack,
 No I did not, mainly because when I click estimate blur nothing changes in the parameter values so it seems like mystery meat to me, and also because I enjoy making the extra choices that you may with InFocus.

 On your suggestion I just tried it while following your directions. The results seem very similar to piccure+ in that the Estimate Blur process in InFocus generated a easily visible dark line with a lighter line on running parallel along each side.

 Thank you for the reminder.
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 26, 2016, 05:46:22 pm
Here's my first attempt, Iridient everything zero, Iridients camera color profile, but tone curve linear. Sharpening Iridient Reveal, radius 0.8 by eyesight, rest default.
Well that was the thought. But
"Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator." ??
It's a 66 kB TIF containing a 70x135 px crop of the slanted edge target.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 27, 2016, 04:06:34 am

"Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator." ??
It's a 66 kB TIF containing a 70x135 px crop of the slanted edge target.

Hi Hening ... if you could send me a tif crop of the sharpened image to robert@irelandupclose.com I will run it through Imatest.

Cheers

Robert
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 27, 2016, 05:06:41 am
Thank you Robert. Mail with attachment is on its way.
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 27, 2016, 06:30:23 am
Still doesn't work for me.  I am using an image from Lightroom with sharpening off (everything off in fact) and here is the result:

If I use a smaller radius (even 1.9) I don't get the ringing.  If I reduce the Edge Softness (with a Blur Radius of 2) the artifacts are also reduced.  But even then, I have to put Suppress Artifacts to max before I get a clean image.

Robert
Hi Robert
Curious, so I had a look at your original and used the same settings.  I am not getting the same result as you.  The attached shows original and Topaz at 100% view and at closer to your screenshot 200%.  I would also add that Smart Sharpen does the job just as well in this case ( a little more noise perhaps but irrelevant for print IMHO)

EDIT:  The only change I made to your original was to apply ACR Lens corrections and Remove CA.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 27, 2016, 06:46:25 am
Hi Robert
Curious, so I had a look at your original and used the same settings.  I am not getting the same result as you.  The attached shows original and Topaz at 100% view and at closer to your screenshot 200%.  I would also add that Smart Sharpen does the job just as well in this case ( a little more noise perhaps but irrelevant for print IMHO)

EDIT:  The only change I made to your original was to apply ACR Lens corrections and Remove CA.

Very curious indeed Tony.  I've tried again with ACR lens correction and remove CA and I get the same ringing.  Are you using this original file?

Slanted Edge Raw File (http://www.irelandupclose.com/customer/LL/A000541---A6000-55mm-Test-Auto-F8.dng)

Robert
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 27, 2016, 06:49:32 am
Yes Robert the same file link you posted earlier in the thread: Reply #143. 
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 27, 2016, 07:12:07 am
Yes Robert the same file link you posted earlier in the thread: Reply #143.

Weird ... I'm using InFocus 1.0.0 Win 64.  And you?
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 27, 2016, 07:59:29 am
Weird ... I'm using InFocus 1.0.0 Win 64.  And you?
Same version 1.0.0 on Windows 10 64bit
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 27, 2016, 08:26:39 am
Same version 1.0.0 on Windows 10 64bit

I can't explain it Tony.  The only way it works for me is to put a radius of between 1 and 1.9.  Anything at or above 2 gives major artifacts.

Robert
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 27, 2016, 09:57:52 am
Hi Jack,

Still doesn't work for me.  I am using an image from Lightroom with sharpening off (everything off in fact) and here is the result:

Interesting, that typically works decently with natural images but definitely not here.

Jack
Title: Re: deconvolution sharpening plug in
Post by: TonyW on February 27, 2016, 10:15:00 am
I can't explain it Tony.  The only way it works for me is to put a radius of between 1 and 1.9.  Anything at or above 2 gives major artifacts.

Robert
I confess no idea why the results should be so different between our systems. 

In any case I think 2 is too much for this image as I can see artifacts around the 'staple' and square on my image, and as the purpose (assuming capture sharpening?) is to remove initial blur to make ready for creative and final output sharpening I would be concerned that the artifacts may harm the final image
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 27, 2016, 11:36:10 am
Ugh, right.  Two things:

1) I forgot one setting for the preset: 'Suppress Artifacts = 0.2'
2) How are these images getting to InFocus?  The settings I gave are for capture sharpening unsharpened raw images, if they have already been pre-sharpened by LR for instance all bets are off.

Yes, that's one of the main difficulties people tend to have, making a distiction between Capture sharpening (which only tries to restore Capture blur) and creative/output sharpening (which enhances the impression of sharpness).

BTW Infocus 'Estimate' does best if zoomed in to a well focused area with lots of detail in all sorts of directions.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 27, 2016, 11:39:22 am
@#134
Thanks again, Bart.

> What we really need is better Capture sharpening tools in the Raw converter.

1- But that would seldom be the output size.

What I was implying was that if the Capture sharpening is done well at the Capture size (maybe even before/during demosaicing), then we have a much easier job with final sharpening at any size.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 27, 2016, 01:04:30 pm
What I was implying was that if the Capture sharpening is done well at the Capture size (maybe even before/during demosaicing), then we have a much easier job with final sharpening at any size.


I agree entirely, based on some testing (at least for upsizing ... downsizing TBD :) ).  Both on slanted edge and on normal images I've found that the best approach, for me, is:
- No sharpening or noise reduction in Lightroom
- Very careful noise reduction, if necessary, using DeNoise
- Very careful sharpening using Focus Magic
- Upsize
- Output sharpen with Focus Magic
- Add grain if necessary

Here is an image that was upsized by 2.95x, with all of the above steps.  BTW ... these are very small flower-heads and the flowers have a grainy look ... the white dots are not caused by sharpening.

(http://www.irelandupclose.com/customer/LL/upsize.jpg)

It may not show very well as it's a screen-grab, so here's a crop if you're interested.  The resolution is 600ppi.

Crop of upsized image (http://www.irelandupclose.com/customer/LL/upsize-crop.jpg)

Robert
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 27, 2016, 06:01:34 pm
BTW Infocus 'Estimate' does best if zoomed in to a well focused area with lots of detail in all sorts of directions.

Does InFocus "Estimate Blur" on just the portion that is shown in its preview window rather than the entire picture file?
Title: Re: deconvolution sharpening plug in
Post by: marcmccalmont on February 27, 2016, 08:45:12 pm
Thanks for all the comments and especially the technical ones
I ended up purchasing Focus Magic for now.
My normal workflow is to turn off sharpening in C1 or just use lens sharpening in DXO, then capture sharpen in PS as a first step on the full resolution file (I'll use FM)
I then leave the output sharpening to my Canon printers. Seems to work well for me but suggestions on an improved work flow are appreciated.
Marc
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 28, 2016, 10:11:04 am
Here are some results for downsampling using bicubic and bicubic sharper.

The first example is using bicubic sharper with no sharpening before or after:

(http://www.irelandupclose.com/customer/LL/snabs.jpg)

As you can see, it's clear that bicubic sharper applies sharpening (or that the algorithm sharpens the image). This is an excellent result as is and normally there would be no need to apply any further sharpening.

The following shows sharpening applied before bicubic, after bicubic, before bicubic sharper and after bicubic sharper:

(http://www.irelandupclose.com/customer/LL/sab.jpg)

Sharpening before bicubic is fine, but not as good as no sharpening with bicubic sharper.

Sharpening after bicubic is good (but only a very small amount of sharpening was applied FM1/50).

Sharpening before bicubic sharper is just OK, but there are some artifacts (the amount of sharpening applied was very low).

And, finally, sharpening after bicubic sharper is too much, even though a very low amount of sharpening was applied.

My conclusion would be that for downsizing (assuming the use of bicubic or bicubic sharper):
- Use bicubic if the image was already sharpened
- Use bicubic or bicubic sharper if the image was not already sharpened and sharpen after the resize if needed.
- Based on the slanted edge test image, the best result is to use bicubic and to sharpen after the resize, not before.

On the other hand, for upsizing it would seem that it is better to apply sharpening before the resize, followed by output sharpening if required. 

So Bart's suggestion to keep a sharpened layer as well as an unsharpened layer makes sense if we don't know whether the final image will be upsized or downsized.
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 28, 2016, 11:25:16 am
I know that this I am asking an unanswerable question because the answer probably depends on the image and what we are going to do with it in post-processing.

But I'll ask it anyway.  What do you think is the best sharpening workflow?

Formally, from the point of Digital Signal Processing (DSP), the Capture sharpening/deconvolution should take place earliy in the chain of postprocessing steps, when the captured signal still has a linear relationship (except for the capture blur and conversion noise) with the scene's signal or exposure. That will allow to extract the most of the original signal from the captured signal.

So that would plead for deconvoluion capture sharpening at the earliest moment of Raw conversion, before noise reduction, before tonescale adjustments/tonemapping.

Since Raw converters can use metadata from the Raw files to streamline part of the Capture sharpening process, it would be relatively easy to implement such a facility, but the software engineers are apparently somewhat oblivious to the opportunity. As I've explained on other occasions, the lens quality and the aperture used for a given sensor are the main deciding factors for the default (Gaussian sigma) radius that comes closest to a perfect setting of that important Point Spread Function (PSF) modelling parameter. Yet most sharpening dialogs start with "Amount" instead of radius, which is backwards and telling...

Quote
Assuming Lightroom and Photoshop;  and that there will be either upsampling or downsampling for output;  and that we have a well-taken image with a good lens and camera.

I will understand if you are too weary of the subject to answer :)

Well, it's being made unnecessarily difficult by the programs you mention, but unfortunately they are no exception. It can be easily shown that the PSF shape required for deconvolution is variable, but that the aperture value that was used when shooting is a driving force. Good lenses usually require approx. a 0.7 radius for shots taken at 'optimal' aperture values (usually something like 2 stops down from wide open) in the focus plane. Wider apertures may suffer from some residual lens aberrations and demand a larger radius (how much that is depends on lens quality and widest aperture), and narrower apertures will be diffraction affected which also increases the required radius, perhaps to something like 1.0 to 1.2, depending on lens and aperture shape.

Defocus will require a somewhat different PSF shape, more resembling a flattened Gaussian shape, but the Gaussian shape remains pretty dominant overall.

So strictly speaking (and for a smooth workflow), one should attempt to repair Capture blur, with deconvolution during the Raw conversion. Unfortunately, the Raw converter sharpening tools/dialogs have a rather mediocre implementation of Deconvolution sharpening. Therefore, the attempts to do it properly in the Rawconverter tend to create substandard results.

That is why it may be beneficial for image quality to postpone the Capture sharpening to a later stage, although that also creates a less than ideal situation for the Deconvolution tools. And it makes for a relatively clumsy workflow, having to render the image, resize it and only then do the thing that needed to be done first. One benefit of the process though, is that while things like scaling, distortion correction, etc , all add new blur to the image, the blur PSF tends to become more Gaussian in shape again, so we can address the combined blur with a relatively simple model, that can also be implemented much more efficiently in software as two separable linear (de)convolutions rather than one 2-dimensional (de)convolution. Doing it later in the workflow also means that we have to worry less about artifacts that cumulate, due to rounding errors and sub-optimal settings early in the chain of events.

So, to make a long story short, in my workflow I usually postpone the capture sharpening to a later moment in finishing the final output. Since I use Capture One as my main Raw converter, that's easy because I can just select to disable the sharpening on export with one checkbox in the output recipe. If I need a faster workflow, I keep the sharpening settings that have an adjusted Radius setting based on aperture value, and an amount that matches the output requirements (more for printed output, less for other output).

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 28, 2016, 11:33:46 am
Does InFocus "Estimate Blur" on just the portion that is shown in its preview window rather than the entire picture file?

Yes, that's what I get from early comments by the founder and president of Topaz Labs, Feng (Albert) Yang. Maybe it just uses a heavier weighting, but it helps getting better results to zoom in to the subject matter in the plane of best focus, and if the subject is showing lots of contrasty edges in various directions.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 28, 2016, 12:41:52 pm
As you can see, it's clear that bicubic sharper applies sharpening (or that the algorithm sharpens the image). This is an excellent result as is and normally there would be no need to apply any further sharpening.

However (!), bicubic sharper creates horrible downsampling artifacts on critical structure, and the sharpenening cannot be controlled. IMHO it's much better to not use Bicubic sharper, but rather bicubic and then sharpen. It can even help to reduce artifacts to first blur the image content (e.g. 0.25 Gaussian blur per downsampling factor, so a 50% down-sample would be factor 2 x 0.25 = 0.50, a 33.3% would be factor 3 x 0.25 = 0.75, etc.). This becomes very clear if one down-samples the very critical zoneplate image (https://www.dropbox.com/s/jiywm0vrse2t7zm/Rings.png?dl=0) mentioned earlier.

Quote
The following shows sharpening applied before bicubic, after bicubic, before bicubic sharper and after bicubic sharper:[...]

All bicubic sharper down-sampled results have significant halos and low spatial frequency and aliasing boosts.

Quote
My conclusion would be that for downsizing (assuming the use of bicubic or bicubic sharper):
- Use bicubic if the image was already sharpened
- Use bicubic or bicubic sharper if the image was not already sharpened and sharpen after the resize if needed.
- Based on the slanted edge test image, the best result is to use bicubic and to sharpen after the resize, not before.

With Photoshop (Lightroom is much better at downsampling) I'd 'never' use anything else than bicubic for general down-sampling, and I'd rather add a bit of blur before doing so, just to get fewer artifacts. Deconvolution after down-sampling restores excellent sharpness, and we can exactly see if we go too far in restoring aliasing artifacts because we are at the final size.

In addition one should consider dedicated Output sharpening, for which Topaz Detail is also (like it is for Creative 'sharpening') a good option.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 28, 2016, 12:52:10 pm
@ Bart, post #164

> so we can address the combined blur with a relatively simple model, that can also be implemented much more efficiently in software as two separable linear (de)convolutions rather than one 2-dimensional (de)convolution.

I don't understand this part. Even if it sounds like something the software author would have to do, not something I could do myself, I would like to understand it a LITTLE better.  Which are these 2 dimensions of deconvolution? Would you care to explain just a little?
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 28, 2016, 01:31:02 pm
@ Bart,
post #133
> Also to complicate matters further, Bicubic filtered down-sampling is not perfect and introduces some artifacts by itself. However, it is not that easy to devise a better down-sampler because there will always be other trade-offs to consider (although a Lanczos2 or Lanczos3 windowed downsampling is often pretty usable).

post #166
> With Photoshop (Lightroom is much better at downsampling) I'd 'never' use anything else than bicubic for general down-sampling, and I'd rather add a bit of blur before doing so, just to get fewer artifacts.

What if we go beyond Photoshop/Lightroom?
I think I remember from the ImageMagick thread (http://forum.luminous-landscape.com/index.php?topic=91754.msg746273#msg746273) and from your site that Mitchell-Netravali was a 'basically good' algorithm for downsampling. Would you recommend it for general downsampling? For some time, it has been readily available in PhotoLine, so it would not require the command line and ImageMagick. PL also offers Lanczos 3 and 8, but I wouldn't know if they are 'windowed' (nor what 'windowed' means - nor if I need to know).
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 28, 2016, 01:45:17 pm
This becomes very clear if one down-samples the very critical zoneplate image (https://www.dropbox.com/s/jiywm0vrse2t7zm/Rings.png?dl=0) mentioned earlier.


One scary image!! 

I can see that applying a blur before the bicubic downsample is a good idea, but at the cost of some loss of fine detail. 

When trying to sharpen this image after the downsize, Focus Magic can't handle the image at all (presumably because the smallest blur radius is 1), whereas InFocus can (with a radius under 1, that is).

And as for Bicubic Sharper ... yes, it certainly appears to create a lot more artifacts than Bicubic. 

BTW ... I tried Photozoom Pro with S-Spline Max on a normal image and it didn't seem any better to me than Bicubic for upsizing - except that it's slow as hell.  But perhaps a test image like the Rings image might show things that I can't see in a landscape photo.

Well, I've just tried Photozoom with S-Spline Max to downsample the Rings and it does seem better than Bicubic + Gaussian blur.
 
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 28, 2016, 01:48:48 pm
@ Bart, post #164

> so we can address the combined blur with a relatively simple model, that can also be implemented much more efficiently in software as two separable linear (de)convolutions rather than one 2-dimensional (de)convolution.

I don't understand this part. Even if it sounds like something the software author would have to do, not something I could do myself, I would like to understand it a LITTLE better.  Which are these 2 dimensions of deconvolution? Would you care to explain just a little?

Hi Hening,

Yes, it's the software implementation, not something the user can do.

When a 2-D filter (e.g. 5x5 pixels) is separable, it can be replaced by 2 othogonal filters (5x1 and 1x5 pixels). That reduces the number of multiplication plus addition operations per pixel from 25 to 10 in this example, so a speed increase of 2.5x (larger filter kernels benefit even more, e.g. 7x7 becomes 14 instead of 49 Mult+Add operations, so 3.5x faster).

A Gaussian filter has the unique property that it is always separable, so it offers great benefits, and it is a close match to how most PSFs look anyway. Further speed gains can be had from using shift operations instead of multiplications, also an optimization for programmers, which is slightly less accurate but potentially also faster in execution.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 28, 2016, 01:52:12 pm
Thanks Bart. I think I get some idea.
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 28, 2016, 01:59:00 pm
@ Bart,
post #133
> Also to complicate matters further, Bicubic filtered down-sampling is not perfect and introduces some artifacts by itself. However, it is not that easy to devise a better down-sampler because there will always be other trade-offs to consider (although a Lanczos2 or Lanczos3 windowed downsampling is often pretty usable).

post #166
> With Photoshop (Lightroom is much better at downsampling) I'd 'never' use anything else than bicubic for general down-sampling, and I'd rather add a bit of blur before doing so, just to get fewer artifacts.

What if we go beyond Photoshop/Lightroom?

Okay, although Lightroom is pretty good.

Quote
I think I remember from the ImageMagick thread (http://forum.luminous-landscape.com/index.php?topic=91754.msg746273#msg746273) and from your site that Mitchell-Netravali was a 'basically good' algorithm for downsampling. Would you recommend it for general downsampling? For some time, it has been readily available in PhotoLine, so it would not require the command line and ImageMagick.

Yes, that option would be better, both for upsampling (ImageMagick uses it as the default for upsampling), as well as down-sampling (although there might (depending on implementation) be some small issues when only down-sampling slightly below 100 percent.

Quote
PL also offers Lanczos 3 and 8, but I wouldn't know if they are 'windowed' (nor what 'windowed' means - nor if I need to know).

Yes, Lanczos 3 is very good as well although it may introduce a bit more aliasing because it tries to keep very high resolution (and thus requires a bit less post-sharpening). Lanczos 8 is even stronger in detail retention, but also in halo generation, so I'd be careful depending on subject. It's great for nature and landscapes (but watch out for branches against clear sky). Lanczos is short for "Lanczos windowed sinc", so yes they are all windowed functions (so are bicubic and Mitchell Netravali).

Cheers,
Bart

P.S. It would be nice if the authors of PL also added a Lanczos 2 option. That can be very good at many things, basically without risk of halos.
Title: Re: deconvolution sharpening plug in
Post by: Bart_van_der_Wolf on February 28, 2016, 02:31:44 pm
BTW ... I tried Photozoom Pro with S-Spline Max on a normal image and it didn't seem any better to me than Bicubic for upsizing - except that it's slow as hell.  But perhaps a test image like the Rings image might show things that I can't see in a landscape photo.

Well, I've just tried Photozoom with S-Spline Max to downsample the Rings and it does seem better than Bicubic + Gaussian blur.

I only like PhotoZoom Pro's upsampling, the down-sampling is IMHO not good (I have to verify for the most recent version, maybe it has improved). But for upsampling it (S-Spline Max) is very benign on subtle structure, and it increases resolution on sharp edges and lines (the edges/lines remain thinner than the upsampling factor would make one expect, and it reduces/removes the jaggies). Imatest probably thinks that the MTF response no longer drops to zero at Nyquist, but keeps going to 2x Nyquist, i.e. double resolution. But that's not going to happen on non-edge detail, so the non-linear processing confuses Imatest.

Cheers,
Bart
Title: Re: deconvolution sharpening plug in
Post by: earlybird on February 28, 2016, 04:01:44 pm
Hi Bart,
 Thanks for the answer about Estimate Blur.
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 28, 2016, 05:02:08 pm
I only like PhotoZoom Pro's upsampling, the down-sampling is IMHO not good (I have to verify for the most recent version, maybe it has improved). But for upsampling it (S-Spline Max) is very benign on subtle structure, and it increases resolution on sharp edges and lines (the edges/lines remain thinner than the upsampling factor would make one expect, and it reduces/removes the jaggies). Imatest probably thinks that the MTF response no longer drops to zero at Nyquist, but keeps going to 2x Nyquist, i.e. double resolution. But that's not going to happen on non-edge detail, so the non-linear processing confuses Imatest.

Cheers,
Bart

Actually I only tried it on a landscape photo, not on a slanted edge (I'll try that tomorrow).  You're right, Photozoom does keep the lines and edges very clean - but this is at the expense of a bit of a plastic look I think.  It seems that the software is going around cleaning up lines and edges.

Here is a crop at 200% after a 3.6x upscale.  I think Photozoom has retained less detail overall (look at the bush, for example), but it has cleaned up the sharp edges around the windows and the pipes.  The cleaning up is destructive IMO ... for example, look at the potted plant to the right of the car.  There is also a smoothing on the gravel, the wall at the front, the trees at the top right; also a loss of contrast.  Generally not so great. (BTW ... this is a very small crop of a distant scene. It could be that on a sharper image that PZ would perform better).

Robert
(http://www.irelandupclose.com/customer/LL/pz-bc.jpg)
Title: Re: deconvolution sharpening plug in
Post by: Hening Bettermann on February 28, 2016, 05:05:39 pm
@post#172
Thanks again, Bart. That is very valuable information for me.
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 29, 2016, 03:22:06 am
Here are some results for downsampling using bicubic and bicubic sharper.

Hi Robert,

Fun isn't it?  Here (http://www.strollswithmydog.com/downsizing-algorithms-effects-on-resolution/) is an article that uses a similar approach to gain insights on downsampling methods.

Jack
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 29, 2016, 06:56:32 am

Fun isn't it?  Here (http://www.strollswithmydog.com/downsizing-algorithms-effects-on-resolution/) is an article that uses a similar approach to gain insights on downsampling methods.


Thanks Jack ... I had read your article some time ago, but I had a poor understanding of what I was reading at the time (probably not a whole lot better now, but just a bit).

I'm a bit puzzled by this MTF plot from your article:

(http://www.irelandupclose.com/customer/LL/jh-mtf.jpg)

I don't understand how the original and nearest neighbor can be at 80% at Nyquist ... they should be at zero or close.  The same, to a lesser extent for the Bilinear and Bicubic (the latter beginning to look more like it should, but still very high).

When I run Imatest on the test image I get this curve:

(http://www.irelandupclose.com/customer/LL/jh-imatest.jpg)

Which seems much more reasonable, giving an MTF50 lw/ph of 3120.  There does seem to be quite a bit of aliasing on the image: perhaps MTFMapper is getting confused by it?

Robert
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on February 29, 2016, 01:51:14 pm
I'm a bit puzzled by this MTF plot from your article:

The solid lines all refer to the same final pixels, the 4:1 downsized ones, so their results are as measured. The dashed original line is there for reference.

I don't understand how the original and nearest neighbor can be at 80% at Nyquist ... they should be at zero or close.  The same, to a lesser extent for the Bilinear and Bicubic (the latter beginning to look more like it should, but still very high).

Did you resize the image 4:1 using the various methods?

When I run Imatest on the test image I get this curve:
Which seems much more reasonable, giving an MTF50 lw/ph of 3120.  There does seem to be quite a bit of aliasing on the image: perhaps MTFMapper is getting confused by it?

MTF Mapper never gets confused, if anything it's operator error :)  But in this case it looks like you are using the original edge at its native resolution so that's where the discrepancy comes from.  And you are probably unknowingly adding a little sharpening somewhere in your workflow, because the MTF50 value in cy/px looks high.  Have you tried running Imatest on the cropped tiff I provide there?

Jack
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 29, 2016, 02:20:45 pm
The solid lines all refer to the same final pixels, the 4:1 downsized ones, so their results are as measured. The dashed original line is there for reference.

Yes, it's the dashed original, in particular, that I don't understand (the MTF curve seems way too high).

Quote
Did you resize the image 4:1 using the various methods?

MTF Mapper never gets confused, if anything it's operator error :)  But in this case it looks like you are using the original edge at its native resolution so that's where the discrepancy comes from.  And you are probably unknowingly adding a little sharpening somewhere in your workflow, because the MTF50 value in cy/px looks high.  Have you tried running Imatest on the cropped tiff I provide there?

I was using the original image as supplied in your link ... which corresponds to the dashed line, correct?  I didn't add any sharpening - if I had my MTF result might have been a bit nearer yours, but as it is the Imatest MTF result was much lower, as you can see.

Here is the MTF with bicubic downsized by 4x (which actually leaves the image not really big enough to run Imatest on).  This has added quite a bit of sharpness - or possibly the Imatest result is not reliable because the sample has become too small.  At any rate the result is not too far off your bicubic result. 

So it's really your dashed curve that I don't get.

(http://www.irelandupclose.com/customer/LL/jh-0p25x-Bicubic-imatest.jpg)

Cheers,

Robert
Title: Re: deconvolution sharpening plug in
Post by: bjanes on February 29, 2016, 03:43:42 pm

Here is an image that was upsized by 2.95x, with all of the above steps.  BTW ... these are very small flower-heads and the flowers have a grainy look ... the white dots are not caused by sharpening.

(http://www.irelandupclose.com/customer/LL/upsize.jpg)


In my opinion the white dots are specular reflections caused by harsh lighting of the flower. They are more prominent when using an undiffused flash and can be reduced by diffusing the flash or better yet by using a soft box or other means to produce soft lighting. I have often noted these artifacts when photographing orchids.

Bill
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on February 29, 2016, 05:15:31 pm
In my opinion the white dots are specular reflections caused by harsh lighting of the flower. They are more prominent when using an undiffused flash and can be reduced by diffusing the flash or better yet by using a soft box or other means to produce soft lighting. I have often noted these artifacts when photographing orchids.

Bill

I think you're right (although I didn't use a flash).  I photographed the flower again in very diffuse, but direct, light and I still got the speckles.  Then I photographed it with indirect light only and there were no speckles, but I could see that the surface is quite bumpy and shiny, so that with any light shining directly on the flower you will get these reflections.  It's difficult to see because the flower heads are very small (about 1/2 cm in diameter).

Cheers,

Robert
Title: Re: deconvolution sharpening plug in
Post by: Jack Hogan on March 01, 2016, 03:10:33 am
Yes, it's the dashed original, in particular, that I don't understand (the MTF curve seems way too high).

Right that one is there for reference and its frequency axis is in lp/px: it has been scaled  to reflect the different pixel size, assuming one would view final images at the same size, see the bottom of the post.  Take a look at the first image in the article in lp/mm: does it make sense to you?  If so, so should the second one.  Once you understand it there are some interesting insights to be had.  Such as that when viewing an image at standard size, what really matters as far as perceived sharpness is concerned is MTF 90 (http://www.strollswithmydog.com/mtf50-perceived-sharpness/).  Think about that when you next consider a lens for purchase :)

Jack
Title: Re: deconvolution sharpening plug in
Post by: Robert Ardill on March 01, 2016, 04:43:39 am
Right that one is there for reference and its frequency axis is in lp/px: it has been scaled  to reflect the different pixel size, assuming one would view final images at the same size, see the bottom of the post. 

OK, I see. You're multiplying the MTF value for the original image by 4.  I don't understand why. The scale is surely the same.  Is it to show somehow the degradation in image quality?  Would you then divide the original MTF by 4 when showing an image upscaled by 4?  I would be interested in understanding this, although I guess this is way off topic.

What is interesting is the MTF of the nearest neighbour downsample - which does horrible things near and beyond Nyquist.

Robert