Since I have the stuff out, it's easy enough to do one more. Here is 'downsample' with 50% sharpening for reference

Thanks Jack, that shows that when comparing 1%, 50% and 100%, the deconvolution 'amount' that gets mixed in with the original offers a nice range of control. Technically, the 100% will lead to a bit of over-correction halo which may be reduced by changing the Gaussian Radius of the DoG.

When you select a 'Sharpening amount' less than zero (effectively a Gaussian blur), e.g. "-1", you'll be offered an optional deconvolution on the already gamma blending down-sampled image. The Blur width, or radius of blur, can be increased to boost lower spatial frequencies more than the default sharpening radius would. Values between the minimum of 1.0 and 1.28 create a more narrow Gaussian that boosts higher spatial frequencies, above 1.28 it will boost lower spatial frequencies. Since that becomes more a creative sharpening than exact restoration, one needs to experiment with the required amount.

Cheers,

Bart

P.S. One can modify the conditional jump to the optional deconvolution after the ':downsample' instructions to allways add additional convolution if one want to combine the standard radius deconvolution with an additional boost of other spatial frequencies.

Just change:

REM Experimental

IF /i %sharpAmount% LEQ 0 GOTO addDeconv

to:

GOTO addDeconv