Luminous Landscape Forum

Raw & Post Processing, Printing => Digital Image Processing => Topic started by: Mike Sellers on February 12, 2015, 09:25:23 pm

Title: Which Capture Stage Sharpeners?
Post by: Mike Sellers on February 12, 2015, 09:25:23 pm
Focus Magic or Nik Sharpener?
Title: Re: Which Capture Stage Sharpeners?
Post by: Mark D Segal on February 12, 2015, 09:56:52 pm
Photokit Sharpener Pro 2 by PixelGenius
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on February 13, 2015, 03:22:56 am
Focus Magic or Nik Sharpener?

FocusMagic is what I use. It is dedicated to do one thing, deblurring AKA sharpening, and it does it well. It is very obvious when you are pushing things too far, so finding the best settings is not that hard. It uses well implemented deconvolution algorithms, and is capable of increasing resolution more than the noise, thus improving the Signal to Noise ratio as well.

I don't have much experience with Nik Sharpener. It looks good enough, but FocusMagic keeps being reported by serious testers as the best tool. Maybe it's time for a new shoot-out between some of these tools.

Cheers,
Bart

P.S. There are some alternatives as well, e.g. Topaz Infocus (=mainly deconvolution sharpening) and Topaz Detail (=some basic deconvolution + mostly halo free detail enhancement, very impressive), and a few others. Piccure+ is a new contender (=deconvolution, comes close to FocusMagic's quality but still suffers from some artifacts). And there are some Photoshop centric tools like Photokit sharpener (=mainly edge contrast, acutance,  enhancement).
Title: Re: Which Capture Stage Sharpeners?
Post by: Malcolm Payne on February 13, 2015, 04:27:29 am
FWIW, I use FocusMagic for capture sharpening (or occasionally Topaz InFocus, where I want a little more control and granularity in the process) and Nik Sharpener for output sharpening, though I usually dial Nik back a little from its default strength, depending on the particular image. Whether that's the best possible combination I don't know, but it gives me consistently excellent and repeatable results.

I haven't done a direct comparison, but I've used Nik RAW pre-sharpener for capture sharpening in the past, when certain files were too large for the old 32-bit version of FocusMagic to handle and before InFocus was available, and the results were perfectly good. Though conceptually at least, deconvolution sharpening seems to make a lot of sense for the capture stage, even if the more traditional acutance and edge enhancement tools are employed for output.

Cheers,

Malcolm
Title: Re: Which Capture Stage Sharpeners?
Post by: bjanes on February 13, 2015, 08:44:50 am
FocusMagic is what I use. It is dedicated to do one thing, deblurring AKA sharpening, and it does it well. It is very obvious when you are pushing things too far, so finding the best settings is not that hard. It uses well implemented deconvolution algorithms, and is capable of increasing resolution more than the noise, thus improving the Signal to Noise ratio as well.

I don't have much experience with Nik Sharpener. It looks good enough, but FocusMagic keeps being reported by serious testers as the best tool. Maybe it's time for a new shoot-out between some of these tools.

Cheers,
Bart

P.S. There are some alternatives as well, e.g. Topaz Infocus (=mainly deconvolution sharpening) and Topaz Detail (=some basic deconvolution + mostly halo free detail enhancement, very impressive), and a few others. Piccure+ is a new contender (=deconvolution, comes close to FocusMagic's quality but still suffers from some artifacts). And there are some Photoshop centric tools like Photokit sharpener (=mainly edge contrast, acutance,  enhancement).

I hesitate to admit it, but I use Lightroom for the majority of my non-critical capture sharpening. My camera (Nikon D800e) lacks a blur filter and needs less capture sharpening than cameras with such a filter and the parametric workflow is a great convenience. For those images that will need to be brought into Photoshop and saved as TIFFs, I do use Focus Magic or the Topaz sharpeners. One problem for me with Topaz is that there is a bewildering number of adjustments in each application and is is not clear which of the Topaz tools would be best for a given image and what the optimal parameters might be (I lack Bart's sophistication). Focus Magic is much simpler to use.

With LR/ACR one can make use of a simplified deconvolution tool by moving the detail slider to the right and my testing shows that the results are not that much inferior to those obtained with Focus Magic. I respect Mark Segal's opinion, but PhotoKit is old technology for capture sharpening. However, it is good for creative and output sharpening.

Bill
Title: Re: Which Capture Stage Sharpeners?
Post by: Mark D Segal on February 13, 2015, 08:53:20 am
I hesitate to admit it, but I use Lightroom for the majority of my non-critical capture sharpening. My camera (Nikon D800e) lacks a blur filter and needs less capture sharpening than cameras with such a filter and the parametric workflow is a great convenience. For those images that will need to be brought into Photoshop and saved as TIFFs, I do use Focus Magic or the Topaz sharpeners. One problem for me with Topaz is that there is a bewildering number of adjustments in each application and is is not clear which of the Topaz tools would be best for a given image and what the optimal parameters might be (I lack Bart's sophistication). Focus Magic is much simpler to use.

With LR/ACR one can make use of a simplified deconvolution tool by moving the detail slider to the right and my testing shows that the results are not that much inferior to those obtained with Focus Magic. I respect Mark Segal's opinion, but PhotoKit is old technology for capture sharpening. However, it is good for creative and output sharpening.

Bill

Hi Bill,

I routinely use LR's sharpening and normally I go straight from ingestion to Print through LR. Few photos get converted from the raw format. Nor would I be afraid to "admit it". It's a totally viable, satisfactory workflow that produces excellent results when used appropriately. And the Capture sharpen function in LR is based on the PKS approach. Pixelgenius was Adobe's consultant for the development of that piece of the application. I'm not concerned about when PKS2 was released, my only reference point on the quality of an application is what I see on paper when the print comes out of the printer, and I think PKS remains superb. As well, consider that when using PKS, it is designed so that one stage builds on the next. Now, maybe in practice one can mix and match between applications for the various stages of sharpening, but that isn't something I've generally felt the need to do, having tested a number of these sharpeners as they appeared over the years.
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on February 13, 2015, 09:30:02 am
I hesitate to admit it, but I use Lightroom for the majority of my non-critical capture sharpening. My camera (Nikon D800e) lacks a blur filter and needs less capture sharpening than cameras with such a filter and the parametric workflow is a great convenience.

Hi Bill,

Some good points.

First, not all cameras (or rather lens+camera combinations) require the same settings. In fact, cameras without an OLPF can sometimes (with a good lens, not stopped down too much, and in the narrow plane of perfect focus) show aliasing artifacts. Capture sharpening will only make those aliasing artifacts more noticeable. That is a bit of a problem, because the lens will exhibit residual aberration blur and some level of diffraction in the mix, which does require deconvolution sharpening. That's also why different apertures require different sharpening radius settings, but aliasing would probably require none to keep it in check.

Second, workflow convenience can also play a role.

Quote
For those images that will need to be brought into Photoshop and saved as TIFFs, I do use Focus Magic or the Topaz sharpeners. One problem for me with Topaz is that there is a bewildering number of adjustments in each application and is is not clear which of the Topaz tools would be best for a given image and what the optimal parameters might be (I lack Bart's sophistication). Focus Magic is much simpler to use.

Once we want/need to get an image out of LR and into PS or another editor for further work, we have the option of using whatever type of sharpening LR had to offer, or skip that sharpening step in LR, and pick up where LR left us. In that case I would probably try to do as little sharpening in LR as possible and try the more sophisticated tools like FocusMagic in the auxiliary editor. The benefit is that we can use masks and layer blends to localize the sharpening if need be, and the sharpening will be of higher quality.

FocusMagic has the more balanced low artifact deconvolution, but if it gets in conflict with camera induced aliasing issues, we have more tools to mitigate or work around the problem, and still utilize the full power of FM where it can be most useful. Otherwise, Topaz Labs Detail is also a marvel. It offers deconvolution for the finest detail (capture sharpening) if we can void artifacts, and it offers halo free detail enhancement at several detail size levels (with the possibility to tweak highlights and shadows separately). Again, we can use masking if we want to localize the effects.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on February 13, 2015, 01:02:41 pm
When implementing deconvolution capture sharpening, is it advantageous to implement noise reduction after rather than before sharpening?
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on February 13, 2015, 01:22:51 pm
When implementing deconvolution capture sharpening, is it advantageous to implement noise reduction after rather than before sharpening?

Hi,

Technically it is better to do deconvolution on unaltered capture data. Noise is always going to reduce the chance of successful restoration of the original data. But some careful noise reduction will not hurt the process that much. FocusMagic manages to leave the noise less sharpened than the detail, and it will add (optional) noise suppression with larger radius (>4) deblurring.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on February 13, 2015, 01:29:39 pm
Thanks Bart, that is what I suspected.

I was considering LR/ACR chrominance NR but no Luminance NR, then out to CS for FM deconvolution, followed by FM NR or possibly Dfine or Denoise. Does that sound a reasonable approach?

thanks
Shane
Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on February 13, 2015, 01:33:05 pm
Sorry Mike I didn't mean to sidetrack your original question but thought it was somewhat related.

I have Nik sharpener but have been unable to find any reference as to whether the RAW Presharpener utilizes decon, I suspect it doesn't.
Title: Re: Which Capture Stage Sharpeners?
Post by: bjanes on February 13, 2015, 02:09:27 pm
I routinely use LR's sharpening and normally I go straight from ingestion to Print through LR. Few photos get converted from the raw format.

Mark,

I am a bit confused as to how you use PKS for capture sharpening without leaving LR, unless you consider the LR capture sharpening as PKSII. Bruce Fraser and Jeff Schewe did consult with Adobe regarding sharpening in LR and ACR, but Eric Chan added substantial improvements in the capture sharpening phase with these applications. As far as I know, the output sharpening in LR is a more direct adaption of PKS and has the advantage of better resampling via Lightroom to the printer resolution than that obtained in Photoshop. I agree that one can obtain excellent results with the LR sharpening tools, but agree with Bart that if the image needs editing in Photoshop, one should feel free to use the best sharpening tools for that image.

PKS is an excellent output sharpener, but I find it more convenient to print from LR rather than from Photoshop, so I save the Photoshop edits as a TIFF master image and print from LR. In my workflow, that leaves creative sharpening as the main use of PKS. I understand that this is also the current approach of Mr. Schewe.

Regards,

Bill
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on February 13, 2015, 03:11:32 pm
Thanks Bart, that is what I suspected.

I was considering LR/ACR chrominance NR but no Luminance NR, then out to CS for FM deconvolution, followed by FM NR or possibly Dfine or Denoise. Does that sound a reasonable approach?

Yes, Chrominance NR shouldn't hurt too much.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on February 13, 2015, 03:21:17 pm
In my workflow, that leaves creative sharpening as the main use of PKS.

Hi Bill,

If you haven't already, I suggest you give Topaz Detail a try. Creative sharpening isn't really sharpening but something more acutance related, and that is exactly where 'Detail' does a better job of enhancing features (without risk of halos, which is always an issue with USM like adjustments). Besides FocusMagic for Capture sharpening, Detail is my other must use plugin (together with Topaz Clarity) for Creative and Output sharpening.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Mark D Segal on February 13, 2015, 04:13:07 pm
Mark,

I am a bit confused as to how you use PKS for capture sharpening without leaving LR, unless you consider the LR capture sharpening as PKSII. Bruce Fraser and Jeff Schewe did consult with Adobe regarding sharpening in LR and ACR, but Eric Chan added substantial improvements in the capture sharpening phase with these applications. As far as I know, the output sharpening in LR is a more direct adaption of PKS and has the advantage of better resampling via Lightroom to the printer resolution than that obtained in Photoshop. I agree that one can obtain excellent results with the LR sharpening tools, but agree with Bart that if the image needs editing in Photoshop, one should feel free to use the best sharpening tools for that image.

PKS is an excellent output sharpener, but I find it more convenient to print from LR rather than from Photoshop, so I save the Photoshop edits as a TIFF master image and print from LR. In my workflow, that leaves creative sharpening as the main use of PKS. I understand that this is also the current approach of Mr. Schewe.

Regards,

Bill

Hi Bill,

For avoidance of doubt: in the LR Develop Module, the sharpening algorithm is capture sharpening. In the Print Module, the sharpening algorithm is Output Sharpening. The Adobe engineers are responsible for both but Pixelgenius assisted on both - as far as I recall. I use both within LR for photos made with a digital camera and rarely need anything else. If the photo starts life as fuzzy I normally trash it; life's too short for futzing about with all that deconvolution stuff only to get a result that may be passable, but not first rate on a 13*19 enlargement - my experience, but each to his/her own. For film scans I use PKS in Photohop because it has bespoke algorithms for film that work very well, especially in conjunction with Neat Image for Noise Reduction - when in PS, all this done on separate layers with masks allowing one to target as appropriate.
Title: Re: Which Capture Stage Sharpeners?
Post by: bjanes on February 15, 2015, 12:08:42 pm
Hi Bill,

If you haven't already, I suggest you give Topaz Detail a try. Creative sharpening isn't really sharpening but something more acutance related, and that is exactly where 'Detail' does a better job of enhancing features (without risk of halos, which is always an issue with USM like adjustments). Besides FocusMagic for Capture sharpening, Detail is my other must use plugin (together with Topaz Clarity) for Creative and Output sharpening.

Cheers,
Bart

I have had Detail 3 for some time but had merely been using some of the presets. On your recommendation, I spent some time perusing the documentation and watching some of the Webinars on the Topaz site and quickly learned that I had not making full use of the capabilities of the software. The Grid previews of the various presets is helpful, but the real strength of the program lies in the individual adjustments and one can study how the presets affect the individual parameters and proceed accordingly. After a bit of practice, the interface is not that intimidating. The localized adjustments are far superior what one can do in Photokit (at least without a lot of work). I also find Topaz Clarity very useful and Adjust can be helpful in some cases. Do you find Adjust helpful?

Thanks for your help,

Bill
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on February 15, 2015, 06:21:45 pm
Do you find Adjust helpful?

It can be useful for complex lighting situations. The adaptive exposure and saturation are interesting but, when not used with moderation, it can create halos. It can be a bit difficult to predict what it will exactly do to the image, so that's why it is very much an interactive tool. I tend to switch back and forth a lot between snapshot settings.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: digitaldog on February 15, 2015, 07:55:16 pm
Bruce Fraser and Jeff Schewe did consult with Adobe regarding sharpening in LR and ACR, but Eric Chan added substantial improvements in the capture sharpening phase with these applications.
Correct. The data is different too but LR's initial sharpening (capture and output) were based on those guys work. It's better than it was, it makes a lot of sense to do capture sharpening in LR. If you have Lightroom and you are working with raw data, you probably want to do capture sharpening there. If you print in LR, same with output (it is restricted to ink jet and screen). If you don't own LR, PKS II in Photoshop after rendering gets you there as well. Of capture sharpen in LR, output sharpen after creative sharpening if desired, in PS, print there. Lots of ways to skin this cat. 
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 02, 2015, 01:10:20 am
Can an argument be raised that capture sharpening is best done to the RAW file while inside a parametric editor (LR/ACR) rather than to a converted file (.PSD/.TIFF) while inside PS? Or does it matter?
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 02, 2015, 03:52:37 am
Can an argument be raised that capture sharpening is best done to the RAW file while inside a parametric editor (LR/ACR) rather than to a converted file (.PSD/.TIFF) while inside PS? Or does it matter?

Hi,

It looks like the current crop of Raw-converters first do a demosaicing of the Raw data, and then do their post-processing (including generic sharpening) on the conversion result.

In that case it would not make matter much, other than that the parametric workflow postpones he actual operations till final export. At export time, the parameters are applied in a predetermined order, possibly with sharpening and noise reduction as one of the earlier operations in the cue, but not necessarily the first (e.g. preceded by lens corrections).

That would mean that it doesn't make much difference where the generic sharpening takes place, but it also depends on the type of sharpening operation and other image altering steps taken. In fact, the sharpening by FocusMagic applied on an almost finished file, can produce better results that lesser quality sharpening operations applied early on.

As for Capture sharpening in particular, that's a bit different. If done well, it is best done very early in the processing pipeline, just like noise reduction. It would make sense to even do most of it before demosaicing, because that would produce more accurate data to demosaic. However, that requires much more complicated Raw conversion.

I get the impression that that is what happens in Canon's Digital Photo Professional (DPP) raw converter, when the Digital Lens Optimizer (DLO) is used. The Raw data is recalculated to a version without lens aberrations, with lens blur removed, and resaved in the Raw file container as an additional raw dataset, thus almost doubling the file size. That optically corrected raw image data is then demosaiced into a much better quality, and less sharpening is required as a post-processing step.

So, as things are today, I think it doesn't matter much when the generic sharpening is applied, although it would technically be better to do Capture sharpening in particular early in the process, but then one should have better tools than most of us have today. Without these better tools, we might as well do our sharpening later in the process, which would also avoid surprises when we decide that we need larger output (which magnifies cascaded artifact generation). Doing it late in the process also allows to vary it locally, e.g. not on smooth gradients, or more in corners.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 02, 2015, 04:33:18 am


I get the impression that that is what happens in Canon's Digital Photo Professional (DPP) raw converter, when the Digital Lens Optimizer (DLO) is used. The Raw data is recalculated to a version without lens aberrations, with lens blur removed, and resaved in the Raw file container as an additional raw dataset, thus almost doubling the file size. That optically corrected raw image data is then demosaiced into a much better quality, and less sharpening is required as a post-processing step.

Incidentally, Canon recommends all sharpening be turned off before starting the DLO function....

http://web.canon.jp/imaging/dlo/howto/index.html (http://web.canon.jp/imaging/dlo/howto/index.html)

Which would seem to confirm your hunch. Funny thing ACR lacks this sophistication. I'm disappointed.

Title: Re: Which Capture Stage Sharpeners?
Post by: Jimbo57 on March 02, 2015, 04:40:18 am
I am another of those who finds that Lightroom handles the capture sharpening of my D800E and D810 Raws to my satisfaction.

Similarly, as I always print from Lightroom, I am happy with the output sharpening it applies.

If, for creative reasons, I want to sharpen or soften an image, either in the whole or selectively, once more Lightroom seems to meet my needs.

When I use CS6 or any of the Nik or Topaz programs, I use them from within Lightroom and rarely fiddle with the sharpening in them unless for extreme creative purposes.

Just an observation - I now hear judges comment more about "over-sharpened" images than about "soft" images.
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 02, 2015, 06:39:13 am
Incidentally, Canon recommends all sharpening be turned off before starting the DLO function....

Yes, but not because it interferes with the sequence of events, but to better judge what DLO does on its own ("In order to best understand the effect of the Digital Lens Optimizer"). DLO allows to set the strength of the optical correction, between 0 and 100, with a default at 50, and it would become harder to judge the effect if additional sharpening (applied after demosaicing) is already included in the preview. It's better to correct before, rather than after conversion, but one can still apply additional sharpening after conversion.

Quote
Funny thing ACR lacks this sophistication. I'm disappointed.

Well, Canon of course knows the details of their Raw files, and lens data, better than those who have to reverse engineer some of it. If Adobe would use better deconvolution algorithms for sharpening (and allow to apply them spatially variant, across the image), the gap would already close somewhat. I suppose that for speed reasons alone they will not attempt to fully correct images, although a converter like Capture One does offer a simple sharpness fall-off correction, which is not that bad a compromise at all.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on March 02, 2015, 11:57:06 am
Quote
It would make sense to even do most of it before demosaicing, because that would produce more accurate data to demosaic. However, that requires much more complicated Raw conversion.

I would be interested to know what steps/software a "complicated Raw conversion" would require in order to implement deconvolution prior to demosaicing.

I am shooting 830nm IR which behaves similarly to a monochromatic sensor as the dyes in the Bayer array are basically transparent to IR at this wavelength. Therefore I would like to perform deconvolution sharpening to the image prior to demosaicing and then move on to CS for other edits.
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 02, 2015, 12:32:31 pm
I would be interested to know what steps/software a "complicated Raw conversion" would require in order to implement deconvolution prior to demosaicing.

I think Bart said that Canon's DPP does some deconvolution prior to demosaicing, not via the sharpening slider per se, but rather via the DLO function. In other words, the DLO function removes some of the hardware-induced blur by means of a deconvolution process. As far as capture sharpening goes (using the sharpen slider in DPP), I would guess demosaicing is done first. Not sure.

But if you are converting infrared RAWs, you're biggest problem is not deconvolution or demosaicing, but rather white balance. The web is replete with advice that Adobe's ACR does a lousy job interpreting IR RAW files. I would use Canon's DPP (if you should Canon) for my IR conversion needs, not ACR or Lightroom. For those interested in IR RAW conversion techniques...

http://www.lifepixel.com/tutorials/infrared-photoshop-videos (http://www.lifepixel.com/tutorials/infrared-photoshop-videos)

Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on March 02, 2015, 12:38:41 pm
I should have specified that I shoot Nikon and with regards to WB - it is not a problem - I have been using UniWb for 10+ years.
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 02, 2015, 12:41:30 pm
I would be interested to know what steps/software a "complicated Raw conversion" would require in order to implement deconvolution prior to demosaicing.

I am shooting 830nm IR which behaves similarly to a monochromatic sensor as the dyes in the Bayer array are basically transparent to IR at this wavelength. Therefore I would like to perform deconvolution sharpening to the image prior to demosaicing and then move on to CS for other edits.

Hi, that's right, the Bayer CFA is rather transparent to IR (although 830nm isn't that extreme), as many dyes are.

To pre-process the file, e.g. to address diffraction (which is more pronounced at 830nm) one would need to remap the sensels for residual lens distortion, and deconvolve for diffraction (if focused accurately, otherwise defocus is another thing to take care of).

If distortion is the issue, then one virtually re-positions the recorded positions to their supposed origins before distortion, and does the Demosaicing based on the interpolated current positions on the imaginary original. One then has a new re-sampled de-warped CFA, which could be deconvolved to restore original input resolution and resampling losses, and then demosaic it on that interpolated/restored CFA pattern.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on March 02, 2015, 01:07:49 pm
Thanks Bart

I already understand what needs to be done, I was more interested in what software options were available to implement those steps e.g. Dcraw, Rawtherapee etc. In other words I was looking for a good solution to implement FocusMagic deconvolution prior to passing off to CS

Also, at 830nm, the Bayer dyes are not quite equally transparent so require slight scaling, followed by subsequent processing without demosaicing (after all, if the sensor is responding like a monochrome sensor why treat it like a Bayer sensor and bother demosaicing).
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 02, 2015, 03:27:45 pm
I already understand what needs to be done, I was more interested in what software options were available to implement those steps e.g. Dcraw, Rawtherapee etc. In other words I was looking for a good solution to implement FocusMagic deconvolution prior to passing off to CS

Okay. Depending on what needs to be addressed, I'm thinking in the direction of the cylindrical resampling that ImageMagick allows, AKA Elliptical Weighted Averaging (EWA), because that allows to resample at various angles with similar quality in all directions, which is useful for distortions (http://www.imagemagick.org/Usage/filter/#cylindrical).

Quote
Also, at 830nm, the Bayer dyes are not quite equally transparent so require slight scaling, followed by subsequent processing without demosaicing (after all, if the sensor is responding like a monochrome sensor why treat it like a Bayer sensor and bother demosaicing).

Yes, so after minor filter transparency scaling one could skip the warping and demosaicing, and instead just use deconvolution to restore from the diffraction. DCraw should allow to produce the first unmodified output, with the -D parameter, in linear gamma 16-b/ch output with the -4 parameter, and to TIFF with the -T parameter. Instead of the -D parameter, you could play with the -d parameter, and add a channel weighting with the -r 1 1 1 1 parameter (with the weights not set to 1 for modifying the per channel transparency). You may even get lucky with the -a Auto white-balancing parameter. Then take the result through FocusMagic or similar, and introduce an output gamma for display (or leave it in linear gamma for quantitative measurements).

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: t6b9p on March 02, 2015, 03:54:29 pm
thanks again.

I have tried the Dcraw route before for unmodified output, as well as scaling the RGB channels, (many years ago so may retry just to reconfirm) and found it to be mediocre but will check out the ImageMagik suggestion.
Title: Re: Which Capture Stage Sharpeners?
Post by: dwswager on March 05, 2015, 03:16:03 pm
I hesitate to admit it, but I use Lightroom for the majority of my non-critical capture sharpening. My camera (Nikon D800e) lacks a blur filter and needs less capture sharpening than cameras with such a filter and the parametric workflow is a great convenience. For those images that will need to be brought into Photoshop and saved as TIFFs, I do use Focus Magic or the Topaz sharpeners. One problem for me with Topaz is that there is a bewildering number of adjustments in each application and is is not clear which of the Topaz tools would be best for a given image and what the optimal parameters might be (I lack Bart's sophistication). Focus Magic is much simpler to use.

With LR/ACR one can make use of a simplified deconvolution tool by moving the detail slider to the right and my testing shows that the results are not that much inferior to those obtained with Focus Magic. I respect Mark Segal's opinion, but PhotoKit is old technology for capture sharpening. However, it is good for creative and output sharpening.

Bill

I'm certainly no expert, but I do almost all capture sharpening in ACR, unless I just can't get it worked out to my satisfaction. Then I try Topaz InFocus.  I like being able to go back and forth with sharpening/noise simultaneously.    Have not used Focus Magic or PKS.

Infocus is supposed to be the Topaz tool of choice for capture sharpening while Detail is supposed to be the creative/output tool of choice.  But yeah, Topaz has too many tools that are similar to try and keep track!
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 05, 2015, 03:27:54 pm

Infocus is supposed to be the Topaz tool of choice for capture sharpening while Detail is supposed to be the creative/output tool of choice.  But yeah, Topaz has too many tools that are similar to try and keep track!

I use Infocus for all my capture sharpening because I like how it estimates the de-blur for me. With ACR, I don't know what I'm getting really. Although, I'm sure experts like Jeff Schewe, who wrote the bible on the subject, will probably vouch for deconvolving with ACR's sliders, instead. Except Bart, of course.
Title: Re: Which Capture Stage Sharpeners?
Post by: dwswager on March 05, 2015, 04:27:35 pm
I use Infocus for all my capture sharpening because I like how it estimates the de-blur for me. With ACR, I don't know what I'm getting really. Although, I'm sure experts like Jeff Schewe, who wrote the bible on the subject, will probably vouch for deconvolving with ACR's sliders, instead. Except Bart, of course.

If you hold the ALT (Windows) or the equivalent MAC key down in ACR/LR while moving the sliders it will show you what the Amount, Radius, Detail and Masking controls are doing.  Basically, I start with a high value on the amount and then hit the masking slider such that masks sharpening the sky or other areas like that.  Then I work the detail and radius sliders to suit and then back down the amount to what I think works best remembering that this is capture sharpening.
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 06, 2015, 09:09:30 pm
Basically, I start with a high value on the amount and then hit the masking slider such that masks sharpening the sky or other areas like that.  Then I work the detail and radius sliders to suit and then back down the amount to what I think works best remembering that this is capture sharpening.

Why would you need to mask the sky for capture sharpening? Assuming you are starting with a low noise image, if you need to mask the sky then your sharpening amount is too strong from the outset. True capture sharpening does not over-sharpen any area, skies or else.  Perhaps your intent is to combine creative and capture sharpening in a single pass (which is ok is you're short on time?  The way I see it, capture sharpening is the first pass of sharpening to be applied globally, no masking slider required. Afterwards, If I want the higher frequency details punched up a bit I will apply some creative sharpening using Smart Sharpen, Blend Ifs, sky masking, etc, while inside PS and after all editing is done.
Title: Re: Which Capture Stage Sharpeners?
Post by: dwswager on March 06, 2015, 10:11:29 pm
Why would you need to mask the sky for capture sharpening? Assuming you are starting with a low noise image, if you need to mask the sky then your sharpening amount is too strong from the outset. True capture sharpening does not over-sharpen any area, skies or else.  Perhaps your intent is to combine creative and capture sharpening in a single pass (which is ok is you're short on time?  The way I see it, capture sharpening is the first pass of sharpening to be applied globally, no masking slider required. Afterwards, If I want the higher frequency details punched up a bit I will apply some creative sharpening using Smart Sharpen, Blend Ifs, sky masking, etc, while inside PS and after all editing is done.

While a definite on night sports images where there is always high iso noise, but I also will mask in most images because I never really want sharpening is continuous tone areas, especially a clear sky.  Almost forgot, I also use masking to limit the effect on skin, especially in faces.
Title: Re: Which Capture Stage Sharpeners?
Post by: Schewe on March 06, 2015, 10:51:08 pm
Why would you need to mask the sky for capture sharpening?

Because capture sharpening should sharpen edges and not surfaces...

It's the edges where you want to concentrate sharpening and the edge mask in ACR/LR is designed to allow applying sharpening to edges and not apply sharpening to the non-edge (surfaces) in an image.

Large areas of color or tone without edges get no benefit from sharpening and even low ISO captures can have noise increased in in large open areas like skies.
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 07, 2015, 12:03:24 am
Because capture sharpening should sharpen edges and not surfaces...

This Youtuber uses a contrarian method of capture sharpening  in Camera Raw. He works from the bottom up, instead of top down. Is this a good idea?
One thing I noticed, though.   His method requires swinging the Detail slider far left which unpropitiously contravenes deconvolution.

https://vimeo.com/8513570 (https://vimeo.com/8513570)
Title: Re: Which Capture Stage Sharpeners?
Post by: Schewe on March 07, 2015, 01:01:41 am
Is this a good idea?

No..this guy is a putz with an accent...you really (really) don't want to pay attention to this guy...while some of what he says is useful the problem is you won't know what part is useful.

In actuality, the first slider to select should be radius and is based on the edge frequency of the image....then amount then detail and finally, masking.

But hey, this is coming from somebody who has 1/2 a clue how to use ACR/LR capture sharpening....note, I did actually work with the engineers to help develop ACR/LR's capture sharpening.
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 07, 2015, 09:32:51 am
In actuality, the first slider to select should be radius ...

I agree.

... and is based on the edge frequency of the image....

I disagree.

... then amount then detail and finally, masking.

I agree with Amount and Masking coming last.

Let's address the part I disagree with.

Capture sharpening is supposed to reverse the blurring effects that caused our original Capture lose some of the original sharpness/detail. This has nothing to do with the original subject's detail, but only with the Capture process induced blur. The subject is not to blame that it now blurred, it's the Capture process itself. If we are able to reverse the capture blur, the subject will be restored to it's original full 'unblurredness' (how's that for a scrabble word ;) ). Some (but not all) detail is already lost beyond recovery, so it won't become perfect, but we can still restore a lot.

While it's true that edge detail is important in relaying the impression of sharpness (after all our eyes do something similar), surface structure is very much part of how we perceive materials. It allows us to e.g. discriminate between cardboard and leather. It's therefore paramount to also Capture sharpen this properly. Obviously, we do want to reduce (or at least not amplify) some photon shot noise in smooth gradients like sky or other structureless smooth gradients.

The photon shot noise is added to our image of the scene by using a relatively short exposure, and will be amplified by the Capture and demosaicing process. That, and some other sources of noise, is not what we want to emphasize in our images, so we also need to address that as part of the Capture sharpening process. We want to improve the signal (detail) to noise ratio.

The part that the video tutorial got right, is that the order of the sharpening controls in the detail panel is not in an optimal sequence, but then the sharpening controls themselves are not optimal either.

Quote
But hey, this is coming from somebody who has 1/2 a clue how to use ACR/LR capture sharpening....note, I did actually work with the engineers to help develop ACR/LR's capture sharpening.

Sorry but I'm not overly impressed with the result, although the masking is useful to cover up some of the sharpening shortcomings.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: dwswager on March 07, 2015, 10:29:04 am
No..this guy is a putz with an accent...you really (really) don't want to pay attention to this guy...while some of what he says is useful the problem is you won't know what part is useful.

In actuality, the first slider to select should be radius and is based on the edge frequency of the image....then amount then detail and finally, masking.

But hey, this is coming from somebody who has 1/2 a clue how to use ACR/LR capture sharpening....note, I did actually work with the engineers to help develop ACR/LR's capture sharpening.

Good to know!  I read a long time ago that the order in the panel was the correct order to work, but have never found that totally satisfactory.
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 07, 2015, 02:15:08 pm
Why does creative/capture/output sharpening have to be so theological. Please, somebody put together a definitive and comprehensive video tutorial on the subject (for profit of course), packaged with before and after full-Rez files. It's all one big rabbit hole. 
Title: Re: Which Capture Stage Sharpeners?
Post by: bjanes on March 07, 2015, 02:40:47 pm
Capture sharpening is supposed to reverse the blurring effects that caused our original Capture lose some of the original sharpness/detail. This has nothing to do with the original subject's detail, but only with the Capture process induced blur. The subject is not to blame that it now blurred, it's the Capture process itself. If we are able to reverse the capture blur, the subject will be restored to it's original full 'unblurredness' (how's that for a scrabble word ;) ). Some (but not all) detail is already lost beyond recovery, so it won't become perfect, but we can still restore a lot.

If we use the commonly used three staged sharpening (capture, creative, and output), it seems to me that sharpening according to image content would fall into the creative stage. I have been using Topaz Detail for this purpose, since it allows sharpening according to detail size (see screen capture below). For capture sharpening, I find the built in ACR/LR tools are adequate if one is using parametric editing. If a TIFF image will be produced, one can use the tool of one's choice. I understand that the Topaz tool of choice for capture sharpening is InFocus, but many use Detail for all three phases of sharpening.

Bill
Title: Re: Which Capture Stage Sharpeners?
Post by: dwswager on March 07, 2015, 03:36:57 pm
If we use the commonly used three staged sharpening (capture, creative, and output), it seems to me that sharpening according to image content would fall into the creative stage. I have been using Topaz Detail for this purpose, since it allows sharpening according to detail size (see screen capture below). For capture sharpening, I find the built in ACR/LR tools are adequate if one is using parametric editing. If a TIFF image will be produced, one can use the tool of one's choice. I understand that the Topaz tool of choice for capture sharpening is InFocus, but many use Detail for all three phases of sharpening.

Bill

Topaz suggests that Detail be used for Output Sharpening, though with the masking tools it can certainly be used for creative sharpening as well.  The whole capture/creative/output sharpening model only makes sense if one follows a relatively strict workflow and creates intermediary files from which final output files are derived.  Assuming a RAW input file, I guess one could say that capture sharpening would always be the same. Creative sharpening would usually be unique only given the intermediary file size.  Only the output sharpening would be totally unique to each size/type of output.

(http://blog.topazlabs.com/wp-content/uploads/2014/02/Screen-Shot-2014-02-06-at-3.06.47-PM.png)
Title: Re: Which Capture Stage Sharpeners?
Post by: bjanes on March 07, 2015, 04:43:41 pm
Topaz suggests that Detail be used for Output Sharpening, though with the masking tools it can certainly be used for creative sharpening as well.  The whole capture/creative/output sharpening model only makes sense if one follows a relatively strict workflow and creates intermediary files from which final output files are derived.  Assuming a RAW input file, I guess one could say that capture sharpening would always be the same. Creative sharpening would usually be unique only given the intermediary file size.  Only the output sharpening would be totally unique to each size/type of output.

(http://blog.topazlabs.com/wp-content/uploads/2014/02/Screen-Shot-2014-02-06-at-3.06.47-PM.png)

Thanks for the graphic. It is helpful in clarifying which Topaz tool to use in various stages of the workflow.

There is some disagreement regarding capture sharpening. Jeff Schewe states that the "radius and is based on the edge frequency of the image", whereas Bart disagrees and has even produced a slanted edge analysis tool (http://forum.luminous-landscape.com/index.php?topic=68089.0) to determine the radius. For a given lens, the primary variable is the aperture, a larger radius being required for smaller apertures (larger f-numbers). For my own work, I use Bart's advice.

For output sharpening, Mr Schewe states in his Image Sharpening book (page 108-109), that output sharpening is a fixed determinate process whose parameters are determined by the type of output (halftone, contone, ink-jet, etc), the image size and resolution, and the paper type. According to this concept, image content does not matter. His parameters are incorporated into the LR output sharpening and PhotoKit Sharpener.

That leaves creative sharpening as the main area where image content is an important consideration. Others may choose to differ.

Regards,

Bill


Title: Re: Which Capture Stage Sharpeners?
Post by: digitaldog on March 07, 2015, 06:13:12 pm
Why does creative/capture/output sharpening have to be so theological. Please, somebody put together a definitive and comprehensive video tutorial on the subject (for profit of course), packaged with before and after full-Rez files. It's all one big rabbit hole. 
It's all rather simple really: http://www.creativepro.com/article/out-gamut-almost-everything-you-wanted-know-about-sharpening-photoshop-were-afraid-ask
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 07, 2015, 07:07:26 pm
There is some disagreement regarding capture sharpening. Jeff Schewe states that the "radius and is based on the edge frequency of the image", whereas Bart disagrees and has even produced a slanted edge analysis tool (http://forum.luminous-landscape.com/index.php?topic=68089.0) to determine the radius. For a given lens, the primary variable is the aperture, a larger radius being required for smaller apertures (larger f-numbers).

Hi Bill,

That's correct. The main blur defining variable for a given lens (on a given sensor) is the aperture that was used. The effect of that aperture on the total amount of blur in the Capture process can be quantified in terms of a blur radius, the exact same radius that should also be used to reverse the effect. Using a different radius will result in either under correction of the blur, or over-correction (in the form of halo).

I've shared the attached example before, but it illustrates the differences one can expect for a good lens, in the plane of best focus, as the aperture is varied. The varying amount of blur, and thus the require correction, depends on the aperture that was used. The image detail plays no role, unless of course there is not much detail to sharpen, due to the nature of the subject or e.g. defocus.

Here is an example of the effect of defocus (or DOF) on the amount of blur correction required, and hence the radius setting of our Capture sharpening tool.
(http://bvdwolf.home.xs4all.nl/main/foto/psf/PSF_files/OptimalFocus.png)

Aperture determines the required radius in the plane of optimal focus. If we let the amount of defocus, or even worse the subject detail, determine the radius, we run the risk of oversharpening the better focused plane of the image. We can only optimize Capture sharpening for the best focused parts of the image, unless we can spatially vary the amount of sharpening across the image. A generic sharpening tool does not allow such finesse, so Capture sharpening for the aperture used it is. All the rest is left to Creative 'sharpening', or rather detail enhancement or local contrast enhancement.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Schewe on March 08, 2015, 03:18:49 am
There is some disagreement regarding capture sharpening.

My understanding of capture sharpening is directly derived from working with Bruce Fraser in helping develop PhotoKit Sharpener. Bruce thought that the capture sharpening needed to achieve an optimal preliminary sharpening prior to adding additional sharpening for creative and output sharpening.

Bruce felt that both the image source; film scan or digital capture (and demosiacing), noise/grain characterizations, lens characterizations and other aspects of the source needed to be factored into the sharpening along with the image characterizations that depend on the edge frequency of the image.

Both factors need to be addressed for optimal capture sharpening. If you only consider the image source and not the image aspects then it becomes more difficult to optimize an image prior to creative and output sharpening. Bottom line, sharpening the edges, not the surfaces and pick a radius appropriate to all aspects of the image.

Some may consider the image contents not to apply when capture sharpening...I disagree. And so did Thomas Knoll when he asked Bruce Fraser to consult with Adobe for improvements in the sharpening in Camera Raw. Bruce was able to lend some effort but could not finish prior to his passing. Using Bruce's philosophy of capture sharpening lead to the current ACR/LR sharpening which was furthered by Eric Chan.

So, if you plan to use ACR/LR for capture sharpening, it would behoove you to both understand and adopt Bruce's philosophy of using both the source AND the image content when trying to arrive at an optimal capture sharpening setting.

Either that or stop doing capture sharpening in ACR/LR and choose to use a different tool. There are a lot of ways to skin a cat...I choose to use Bruce's method (as does ACR/LR which I use for capture sharpening) but people are free to use whatever tool gives them the best results for their images.

And while ACR/LR doesn't offer a ton of creative sharpening options, if you understand how the Detail panel works (and what the settings do) you can substantially improve the capture sharpening using local controls. If those controls fail to give an optimal result, you can always go into Photoshop for further creative sharpening (and use PhotoKit Sharpener if you have it :~).
Title: Re: Which Capture Stage Sharpeners?
Post by: ErikKaffehr on March 08, 2015, 04:47:33 am
Hi Bill,

My take is that I can agree with both Jeff and Bart.

Starting with capture sharpening, I agree that the main intention is to restore information lost in capture. So radius would be chosen to match diffraction + OLP filtering and deconvolution would be used. But, that would not be the optimal setting for portraits as it enhances both real and fake detail.

If the sharpening adds artefacts of it's own, it is reasonable that it would be done at the largest image size in the process.

The way I handle it, right now, is that I use a small radius (0.7) and relatively large amount with deconvolution in LR. If I stop down to f/16 or more I increase radius to 1.3. This works well for my standard print size which is A2.

If I print larger, it would normally be 70x100 cm and that would mean significant upsizing of the image. In that case I may take a different route, like developing without sharpening, upscaling and than applying sharpening, using say FocusMagic and doing some additional work in PS before going back to LR for printing.

In my view LR offers a very pragmatic sharpening workflow, but I would like have different sharpening steps with different radii.

A final thought is that we may sharpen to much for pixel peeping. High resolution detail plays a minor roll when a print is viewed at reasonable distances. Our vision resolves to about one minute of arc, but much lower frequencies dominate our impression of acuity. Sharpening for fine detail may ignore the low frequency details. Doing an additional sharpening step using say 2 pixel radius a low amount like 15% in PS/USM may give a significant enhancement to the viewing experience.

Best regards
Erik


Thanks for the graphic. It is helpful in clarifying which Topaz tool to use in various stages of the workflow.

There is some disagreement regarding capture sharpening. Jeff Schewe states that the "radius and is based on the edge frequency of the image", whereas Bart disagrees and has even produced a slanted edge analysis tool (http://forum.luminous-landscape.com/index.php?topic=68089.0) to determine the radius. For a given lens, the primary variable is the aperture, a larger radius being required for smaller apertures (larger f-numbers). For my own work, I use Bart's advice.

For output sharpening, Mr Schewe states in his Image Sharpening book (page 108-109), that output sharpening is a fixed determinate process whose parameters are determined by the type of output (halftone, contone, ink-jet, etc), the image size and resolution, and the paper type. According to this concept, image content does not matter. His parameters are incorporated into the LR output sharpening and PhotoKit Sharpener.

That leaves creative sharpening as the main area where image content is an important consideration. Others may choose to differ.

Regards,

Bill



Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 08, 2015, 06:09:26 am
Starting with capture sharpening, I agree that the main intention is to restore information lost in capture. So radius would be chosen to match diffraction + OLP filtering and deconvolution would be used. But, that would not be the optimal setting for portraits as it enhances both real and fake detail.

Hi Erik,

It's important to note, and it's not just semantics, that proper Capture sharpening doesn't 'enhance' real detail, in the sense of magnifying the amount, it merely attempts to restore it to what it was before it entered the lens. What better starting point for postprocessing could one have? We can deal with skin pores and blemishes by using the proper tools for that, or modify the visibility of original detail with a lens filter and lighting.

If the Capture process also generates fake detail, photon shot noise and or grain, aliasing artifacts, dust bunnies, etc., then we need to deal with those with the proper tools, but not with (what's more akin to) Creative 'sharpening' that disrupts the restoration of the original detail from the subject.

Good deconvolution tools attempt to restore resolution, but not amplify noise, or at least restore more resolution than amplify noise for a better S/N ratio. We can use noise reduction in that process, as long as the noise reduction doesn't blur the image too much, because that would require increasing the deconvolution radius. Cascading blurs amount to a larger blur radius, because one can create a large radius blur by cascading multiple smaller blur radii.

This is where it gets interesting, because some noise reduction programs use a combination of blurring, and edge detail preserving techniques, which breaks the original signal's true composition of spatial frequencies. Such noise reduction would make it much harder to restore the original detail, because it was changed into something artificial that doesn't comply with the laws of physics anymore.

That's why a good deconvolution method tries to separate the noise from the signal, and only restore the latter!

Quote
If the sharpening adds artefacts of it's own, it is reasonable that it would be done at the largest image size in the process.

Yes, if e.g. stairstepping, or even worse halos, are created by the Capture sharpening process then we are making life only more difficult for when we want to generate large output. However, the more accurate we choose our Capture sharpening settings, the lower the risk of creating 'detail' which was not in the original signal. Again, with Capture sharpening we strive for the restoration of original subject detail, nothing more, nothing less.

Quote
The way I handle it, right now, is that I use a small radius (0.7) and relatively large amount with deconvolution in LR. If I stop down to f/16 or more I increase radius to 1.3. This works well for my standard print size which is A2.

Yes, as you saw from my charts earlier, a radius of 0.7 is about as good as it gets, and that's true with most lens/sensor combinations (assuming a Raw conversion without prior sharpening), and when diffraction kicks in, we (or rather the Capture sharpening tools) need to work a lot harder to restore the original signal. But a lot is possible as was demonstrated in the Deconvolution sharpening thread (http://forum.luminous-landscape.com/index.php?topic=45038.0) here on LuLa, with examples here (http://forum.luminous-landscape.com/index.php?topic=45038.msg378541#msg378541), as long as we use the correct settings.

The moment we deviate from proper restoration to 'enhancement', we tend to create trouble for ourselves later in postprocessing.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Manoli on March 08, 2015, 08:27:06 am
Good deconvolution tools attempt to restore resolution, but not amplify noise, or at least restore more resolution than amplify noise for a better S/N ratio. [...]  This is where it gets interesting, because some noise reduction programs use a combination of blurring, and edge detail preserving techniques, which breaks the original signal's true composition of spatial frequencies [...]

if e.g. stairstepping, or even worse halos, are created by the Capture sharpening process then we are making life only more difficult for when we want to generate large output.

Hi Bart,

If large output is the end requirement, would it not be optimal to uprez the file before demosaicing and perform capture sharpening and, noise reduction if required, later in the conversion process ? I would have thought that if all three are performed sequentially prior to generating a TIFF output file - that would give you the 'cleanest' result.

I'm asking you because, as you are no doubt aware, Iridient Developer V3 has recently been released and AFAIK, this is the first RAW converter to include, natively, an option to uprez the file prior to demosaicing, noise reduction and capture sharpening.

The sharpening options include, amongst others, UM, R-L and the default Iridient Reveal. Uprez options are many - Quadratic, a variety of both Lanczos and Blackman, the defaults Iridient Ultrarez and Iridient Ultrarez sharper - a total of 12.

You have been a strong advocate of Focus Magic and Topaz's InFocus as capture sharpeners, but both these entail converting first, baking and sharpening later so I'm asking you whether or not, in your opinion, a change in the post processing methodology would be beneficial when large output is the end requirement.

In anticipation, thanks.

Best,
M

Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 08, 2015, 11:36:58 am
Hi Bart,

If large output is the end requirement, would it not be optimal to uprez the file before demosaicing and perform capture sharpening and, noise reduction if required, later in the conversion process ? I would have thought that if all three are performed sequentially prior to generating a TIFF output file - that would give you the 'cleanest' result.

Hi,

Yes, there are some benefits to doing the Raw conversion (demosaic, Capture sharpen, noise reduction) to a larger grid, as if we gain some super resolution precision in placing the recalculated values. If, and how much, there will be a significant enough improvement remains to be seen (depends on implementation quality of the algorithms), but a subtle improvement is certainly expected if the algorithms are implemented very well. In fact, it would also benefit original size conversions, provided that the down-sampling is optimized to avoid resampling artifacts.

Quote
I'm asking you because, as you are no doubt aware, Iridient Developer V3 has recently been released and AFAIK, this is the first RAW converter to include, natively, an option to uprez the file prior to demosaicing, noise reduction and capture sharpening.

Yes, I am aware, but being a Windows platform person I cannot test it. I'm pretty sure I could provide some pointers to handling some of their challenges.

I'm currently investigating the upcoming new functionality in PixInsight, a specialist tool for astronomy imaging, where the development team seems to have some contacts with Dave Coffin (of DCraw) as well, for the development of a Bayer CFA drizzle method that avoids the need for demosaicing, and it uses small image displacements in multiple images to fill in the blanks of the sparse CFA sampling of RGB color planes. That's similar but even better than a multi-step camera sensor, because one can use more input images to increase sampling density. That too could be combined with resolution enhancement on a larger than original grid, although it requires multiple-image input.

Quote
You have been a strong advocate of Focus Magic and Topaz's InFocus as capture sharpeners, but both these entail converting first, baking and sharpening later so I'm asking you whether or not, in your opinion, a change in the post processing methodology would be beneficial when large output is the end requirement.

Yes, doing some of it at the Raw conversion step does have benefits. Mind you, it could very well be that e.g. Capture One already uses some of that under the hood (their conversions have higher real resolution than e.g. ACR delivers, without sharpening), but do not offer the option to keep the data at the larger size.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Manoli on March 08, 2015, 02:03:20 pm
... but a subtle improvement is certainly expected if the algorithms are implemented very well. In fact, it would also benefit original size conversions, provided that the down-sampling is optimized to avoid resampling artifacts.

Previously, IIRC you advised that Adobe Photoshop Bicubic was the way to go for downsampling with Photozoom Pro for upscaling.  Is Adobe bicubic still your recommendation for downscaling ?

Quote
Yes, I am aware, but being a Windows platform person I cannot test it. I'm pretty sure I could provide some pointers to handling some of their challenges.

Please do ... !
I've only done some perfunctory tests so far and my impression is that it does indeed give you a better file, but I'm not sure if that's just a 'placebo effect' reaction to a new process or whether what I'm seeing is indeed an improvement.

Best,
M

Title: Re: Which Capture Stage Sharpeners?
Post by: dwswager on March 08, 2015, 02:03:49 pm
Bruce felt that both the image source; film scan or digital capture (and demosiacing), noise/grain characterizations, lens characterizations and other aspects of the source needed to be factored into the sharpening along with the image characterizations that depend on the edge frequency of the image.

Both factors need to be addressed for optimal capture sharpening. If you only consider the image source and not the image aspects then it becomes more difficult to optimize an image prior to creative and output sharpening. Bottom line, sharpening the edges, not the surfaces and pick a radius appropriate to all aspects of the image.

Some may consider the image contents not to apply when capture sharpening...I disagree. And so did Thomas Knoll when he asked Bruce Fraser to consult with Adobe for improvements in the sharpening in Camera Raw. Bruce was able to lend some effort but could not finish prior to his passing. Using Bruce's philosophy of capture sharpening lead to the current ACR/LR sharpening which was furthered by Eric Chan.

This has always been my philosophy...Capture Sharpening is intended to correct for the limitations of the capture AND to provide the best starting point for further edits.  Hence, the image content must be accounted for in the capture sharpening process.

I realize Output sharpening is intended to overcome the limitations of the rendering mechanism/media, but I think the image content has to be accounted for in output sharpening too.  To say I am destined for X size print on Y Printer and therefore I use Z sharpening settings is a poor way to go.  Certainly, experience will drive you to Z settings as a starting point for this size print on this printer.  I still will account for skin and smooth areas of smooth tones with less sharpening in those areas.  Tools like Topaz Detail recognize this by inclusion of masking tools.
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 08, 2015, 02:59:48 pm
This has always been my philosophy...Capture Sharpening is intended to correct for the limitations of the capture AND to provide the best starting point for further edits.  Hence, the image content must be accounted for in the capture sharpening process.

But therein lies the rub, you can't have both at the same time. If Capture sharpening is perfect (or as good as possible) it may not yet be what the subject needs, it's probably not enough. When you try to do subject enhancement at the Capture sharpening stage, you'll kill the Capture sharpening accuracy.

What you describe is already the task of Creative 'sharpening' which then has no artifacts from Capture sharpening to stumble over. When you get the Capture sharpening wrong, then Creative 'sharpening' either cannot do its best, or it overdoes things which were already overdone.

The two stages are very distinct, Capture sharpening restores sharpness, Creative 'sharpening' enhances the impression of detail/sharpness.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: digitaldog on March 08, 2015, 03:04:49 pm
What you describe is already the task of Creative 'sharpening' which then has no artifacts from Capture sharpening to stumble over. When you get the Capture sharpening wrong, then Creative 'sharpening' either cannot do its best, or it overdoes things which were already overdone.
I believe Bruce would agree. He'd also suggest getting the capture sharpening and hence the creative sharpening correct.
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 09, 2015, 05:45:52 pm
Regarding the highly evangelized Topaz Infocus, can someone explain the difference between its Edge Softness and Suppress Artifacts sliders.
I read the manual but am still muddy. The best I can come up with is that the Edge Softness slider is for reducing edge "Ringing", an artifact uniquely generated by Topaz's software, and the Suppress Artifacts slider is for reducing noise.


Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 09, 2015, 07:51:39 pm
Regarding the highly evangelized Topaz Infocus, can someone explain the difference between its Edge Softness and Suppress Artifacts sliders.
I read the manual but am still muddy. The best I can come up with is that the Edge Softness slider is for reducing edge "Ringing", an artifact uniquely generated by Topaz's software, and the Suppress Artifacts slider is for reducing noise.

The method of deconvolution that Topaz InFocus uses, can produce very/unnaturally sharp edges that can lead to stair-stepping and such. That's where the Edge Softness control is for, to soften the transition. InFocus can also generate ringing artifacts, repeated edges of gradually lower amplitude. That is what the Suppress artifacts control is for, to suppress those repeating edges. But one should first make sure that the artifacts are not caused by using too large a radius, because that will often be the main reason that the artifacts are created.

InFocus is a bit aggressive in its deconvolution approach, especially when the radius is set too large, so those controls for tuning down the overcorrections are unfortunately often necessary. Deconvolution should not be overdone, it should be exactly right. When used with restraint, the correction controls will be needed less, and also don't forget that InFocus offers additional sharpening controls to add a finishing touch to the deconvolved result. Use deconvolution to restore original detail, and use the sharpening controls to emphasize the result.

It may sometimes be easier to see what is happening by first upsampling the image, e.g. with Photoshop's bicubic smoother (to avoid generating upsampling artifacts), and then use InFocus (obviously with a proportionally larger radius than one would otherwise need). The loss of real resolution from the upsample can be very well compensated by InFocus, and after sharpening one can down-sample to the original size and apply a finishing touch of sharpening, but very little is now needed.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 09, 2015, 09:38:20 pm
The method of deconvolution that Topaz InFocus uses, can produce very/unnaturally sharp edges that can lead to stair-stepping and such. That's where the Edge Softness control is for, to soften the transition. InFocus can also generate ringing artifacts, repeated edges of gradually lower amplitude. That is what the Suppress artifacts control is for, to suppress those repeating edges.

In this video (start 6:00), The Topaz rep uses the Edge Softness slider to correct an artifact which he calls "ringing." Is this artifact the same kind you refered to as "...ringing artifacts, repeated edges of gradually lower amplitude"? If yes, why does he recommend the Edge Softness slider to fix it while you say to use the Supress Artifacts slider?  It would help if I saw exactly the types of artifacts each of these sliders are designed to mitigate. How does  "Ringing" look different from "stair stepping?"

https://m.youtube.com/watch?v=cyuXwDFs95U (https://m.youtube.com/watch?v=cyuXwDFs95U)
Title: Re: Which Capture Stage Sharpeners?
Post by: Jack Hogan on March 10, 2015, 04:30:20 am
The method of deconvolution that Topaz InFocus uses

Hi Bart, I have often wondered: what method of deconvolution does it use?

FWIW in my opinion one of InFocus' strengths is its quick and easy automatic 'Estimate' mode.  I find that Albert Yang's suggested settings (https://www.flickr.com/groups/topaz/discuss/72157625327974579/72157625454081334/) (Unknown/Estimate, Radius 2, Softness 0.3, Suppress Artifact 0.2) work well as-is a majority of the time.  I have them saved as a preset and it's the first set I try.

Jack
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 10, 2015, 07:17:12 am
Hi Bart, I have often wondered: what method of deconvolution does it use?

Jack, I remember from the introduction that they mentioned it was a (proprietary) 'advanced' new method, perhaps they made it themselves.

Quote
FWIW in my opinion one of InFocus' strengths is its quick and easy automatic 'Estimate' mode.  I find that Albert Yang's suggested settings (https://www.flickr.com/groups/topaz/discuss/72157625327974579/72157625454081334/) (Unknown/Estimate, Radius 2, Softness 0.3, Suppress Artifact 0.2) work well as-is a majority of the time.  I have them saved as a preset and it's the first set I try.

Yes, it often works quite well. The drawback is that it needs to be determined on an image by image basis. The automatically estimated PSF itself can not be saved, just the settings to acquire a new one can be saved as a preset. It is also very important to only use it on the very best focused areas (in the plane of best focus) of the image, because otherwise those areas will get over-corrected when basing the PSF on a less well focused region. That also requires enough useful detail to be present in that plane of best focus for the estimation of the PSF. It also means that e.g. axial rotation blur will be hard to correct, because it is larger at the edge than at the center of the image, and different on all edges. It would require multiple runs of the filter on multiple layers, to be blended afterwards to rescue such images.

InFocus would be even more useful if one could import one's own PSF, in the form of an image crop or as numerical text. Also a choice between several deconvolution algorithms would be useful, because noisy images often require a different approach than relatively clean images. I've sent them those suggestions as feature/improvement requests, but their development resources have (sofar) been more 'focused' on the other filters (probably more revenue from those).

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 10, 2015, 09:28:43 am
In this video (start 6:00), The Topaz rep uses the Edge Softness slider to correct an artifact which he calls "ringing." Is this artifact the same kind you refered to as "...ringing artifacts, repeated edges of gradually lower amplitude"? If yes, why does he recommend the Edge Softness slider to fix it while you say to use the Supress Artifacts slider?

Yes, but the ringing is in a sense caused by the overly sharp edges. So the Edge Softness control takes away the cause for the ringing, but it doesn't address the ringing artifacts themselves. The Suppress Artifacts control does that, after the artifacts were already created. So the Softness control prevents sharp edges that could cause artifacts, and Suppress Artifacts control reduces the artifacts that were already created.

Quote
It would help if I saw exactly the types of artifacts each of these sliders are designed to mitigate. How does  "Ringing" look different from "stair stepping?"

Ringing looks like waves with repeating periodic brighter and darker patterns around high contrast edges and lines. This document (http://www.groupes.polymtl.ca/amosleh/papers/ECCV14.pdf) describes a method to detect and remove the artifacts, the images will show you some examples of ringing artifacts. Stair stepping turns a straight angled edge into a stepped (like stairs) edge with straight edge segments instead of a smooth continuous edge or line.

When you have trouble getting the correct settings in InFocus, start with the Sharpen panel settings maxed out for Micro contrast and Sharpness, and a Sharpness Radius setting of say 0.7 or 0.8 . Also set the Edge Softness and Suppress Artifacts sliders to their minimum. Now start with increasing the deconvolution method's radius slider while carefully avoiding double edges and ringing and stairstepping artifacts from appearing. The moment the artifacts are starting to show, use the Edge Softness control to reduce them again if in Estimate mode, and or use the Suppress Artifacts mode to take away the onset of the artifact generation. When in doubt, reduce the radius.

Only then adjust the Sharpness panel controls, sharpness radius first (usually smaller than the deconvolution radius), sharpness and micro contrast next, until you get an acceptable artifact free result. This way you are guaranteed artifact free results that will stand large format output without magnified artifacts.

Don't be surprised if your deconvolution radius settings turn out lower than they used to, because you are now no longer over-sharpening by using a too large radius. Also remember that InFocus is a Capture sharpening tool, not for Creative 'sharpening', that's where their 'Detail' plugin comes in.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: texshooter on March 10, 2015, 12:47:00 pm
Only then adjust the Sharpness panel controls, sharpness radius first (usually smaller than the deconvolution radius), sharpness and micro contrast next, until you get an acceptable artifact free result. This way you are guaranteed artifact free results that will stand large format output without magnified artifacts.

A Topaz official said InFocus' Sharpness panel uses USM technology (albeit a new and improved version of USM). (Ref. video 12:30-13:30)
https://m.youtube.com/watch?v=zChtYpEBFBQ (https://m.youtube.com/watch?v=zChtYpEBFBQ)

So I'm surprised to hear you suggest the  Sharpness panel during the capture sharpening phase. Shouldn't I turn off InFocus' Sharpness panel (after running the estimate deblur command) and postpone USM methods for the end of the entire edit workflow? The part you said about maxing out the  Sharpness panel sliders as a temporary visual aid only to help estimate the deconvolution radius...I understand that however....and will give it a try, thanks.
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 10, 2015, 01:39:32 pm
A Topaz official said InFocus' Sharpness panel uses USM technology (albeit a new and improved version of USM). (Ref. video 12:00-13:30)
https://m.youtube.com/watch?v=zChtYpEBFBQ (https://m.youtube.com/watch?v=zChtYpEBFBQ)

Yes, an "advanced type of USM technology". That means that is tends to enhance edge detail relatively more than subtle detail, that's why they have also added a Micro Contrast control to fill in that part of the equation. But what these tools do, is on top of the deconvolved image information, so that's fine as long as we don't exaggerate it. After all, we are at the stage of Capture sharpening. That's also why it's important to not generate deconvolution artifacts, they will only get worse.

Quote
So I'm surprised to hear you suggest the  Sharpness panel during the capture sharpening phase. Shouldn't I turn off InFocus' Sharpness panel (after completing capture sharpening) and save USM methods for the end of the entire edit workflow? The part about maxing out the  Sharpness panel sliders as a starting fulcrum to help estimate the deconvolution radius...I understand that however....and will give it a try, thanks.

The two work together as a cascade, but as I suggested the sharpening panel can also be used to temporarily exaggerate the effect of the deconvolutions, as to get a better view of when things start getting out of hand there.

Cheers,
Bart
Title: Re: Which Capture Stage Sharpeners?
Post by: Jack Hogan on March 10, 2015, 05:57:02 pm
... would be even more useful if one could import one's own PSF...

You know who I think is taking advantage of that approach these days is Olympus, with the EM5II's custom raw conversion PS plug-in for the 64MP High Resolution images.  Taking a look at the resulting MTF curve, it appears to me that they use a sensor specific PSF, pushing it to taking advantage of the fact that supersampling leaves the raw curve quite a ways from Nyquist OOC.

Jack
Title: Re: Which Capture Stage Sharpeners?
Post by: Bart_van_der_Wolf on March 11, 2015, 06:05:07 am
You know who I think is taking advantage of that approach these days is Olympus, with the EM5II's custom raw conversion PS plug-in for the 64MP High Resolution images.  Taking a look at the resulting MTF curve, it appears to me that they use a sensor specific PSF, pushing it to taking advantage of the fact that supersampling leaves the raw curve quite a ways from Nyquist OOC.

Hi Jack,

It might well be that Olympus uses some form of Point Spread Function (PSF) based adjustment  during the Raw conversion. As far as the combined exposure PSF from supersampling alone goes, that would be rather predictable and highly reproducible. It's the convolution of the PSFs of the subexposure positions. Some of the sub-exposures have overlapping sampling areas, so one could envision a PSF from a (up to) 200% fill-factor sample per new super-sampling grid. The individual samples probably have a Gaussian PSF shape, just like common sensels apparently do.

My PSF-generator tool (http://bvdwolf.home.xs4all.nl/main/foto/psf/PSF_generator.html) offers the possibility to define a 200% fill-factor, which flattens (lowers kurtosis of) the Gaussian PSF shape a bit more than a point sampler would. Since Gaussian shaped PSFs have long tails, the individual PSFs would have to use a relatively large kernel support, so it may be more efficient to use a single cascaded PSF from the overlapping PSFs after R/G/B reconstruction, but a lot depends on the details which approach is best. When still dealing with sensor DNs (ADUs), one can use fast binary shifts instead of floating point math multiplications, that's what the option to generate binary shifted type of kernel numbers is for.

Cheers,
Bart