Being somewhat new to digital image editing has me reading different articles pertaining to image sharpening to particularly include learning about use of the Unsharp Mask tool. There seems to be a prevailing thought that it can be advantageous, at least in some circumstances, to apply this tool several times using more conservative parameters rather than just once using more aggressive parameters. Some documented work-flows advocate 3 different stages of development when sharpening should be considered.
Right now it looks to me that doing this with some so-called non-destructive processors, such as Rawtherapee, might require exporting (i.e., saving) an image to another format (e.g., tif) and then using such an intermediate exported file to perform any subsequent sharpening operations.
I believe that is correct. The Unsharp mask can only be applied once, so far as I can tell.
It might be easier and more repeatable to export a tiff from RT and do the multi pass sharpening in gimp.
Using gimp would also open you up to using gmic to sharpen images. I really like gmicās octave sharpen and richardson-lucy (I donāt quite remember the name off the top of my head) sharpen. As if you needed a deeper rabbit hole
Well, there are more than three sharpening tools in RawTherapee. You can apply them all in small amounts. I suppose they will act as three separate instances of sharpening. The methods are:
Yes. I do also use GIMP so that could be a good answer at least in some cases. Iāve just now started to figure out what Unsharp Mask is about and as best I can tell, at least, some of the rationale for using recursive sharpening has to do with the concept of applying a mask. Not sure how that might apply to other techniques.
In RT you can apply UM twice, the last time just after scaling the final output image. Look under the Transform tab, Resize, then Post-Resize Sharpening.
My normal workflow is to apply minor UM to the full scale image and then moderate UM after resizing, but the amounts can vary from one image to the next.
No doubt I have more to learn when it comes to all of the available tools. However, I think the idea of recursive sharpening is about applying the same tool several times rather than just once.
@ajax, if you come across a good example showing the better result of recursive sharpening versus one-off, please post details, it would be interesting to see.
My own level of experience is sufficiently limited that I have no personal opinion. However, the idea of recursively performing the Unsharp Mask operation is not something I came up with but rather came from some reading where it seemed to me that the authors new something of what they were saying.
Here is a link to one such article, which at this point has been around for quite a while, that I found via Wikipedia which says -
ā¦ āRadius: start with .5 and try to avoid going much higher, if possible. I believe itās better to apply Unsharp Mask twice with .5 and .3 than using an initial radius of .8. Why? Because any value larger than .5 starts to affect more than one pixel beyond the transition point, which starts to produce more visible halos, especially if you need to use aggressive amount values. If youāre printing with an inkjet printer, the dot gain you get from the ink spreading on the paper often masks these halos, so go ahead and try higher values if youād like, but only if you analyze the results from the final output (not the screen).ā ā¦
Here is a link to another article which goes into quite a bit of detail about a 3 stage work-flow where sharpening is involved in each stage. It includes a sentence which says -
ā¦ āMost photographers now agree that sharpening is most effective and flexible when itās applied more than once during image editing.ā ā¦
In this case, the idea is not necessarily limited to reusing the same tool (e.g., Unsharp Mask) but Iād also say that such is not ruled out. For someone just starting, I got the idea that Unsharp Mask was an important and powerful tool that represented a good starting place when it comes to learning how to sharpen images.
Here is a link to another article on the Cambridge Color website which discusses the total work-flow for digital image editing. It specifically mentions what it calls āCapture Sharpeningā in Step 5 of 10 and āOutput Sharpeningā in Step 10 of 10.
Well now, that looks to be the reason I asked. I hadnāt noticed it also being present on the āTranform Tabā. Maybe it is worth verifying that this could be the only operation performed using that tab. In that, can Post Re-size Sharpen be done even when no resizing is done? If so, sounds like the answer is that RT can sharpen exactly twice using Unsharp Mask. This is good to know. Thanks!
Iāve never head of recursive sharpening, and I donāt know what that might be.
On the other hand, iterative sharpening (sharpening once, then sharpening again) has an obvious explanation.
One school of thought for digital photography is that a small sharpening should be applied first to compensate for the AA filter etc, then apply dodging/burning/etc as desired, and finally resize and sharpen (perhaps as a single operation). That seems plausible.
But sharpening with radius r1 followed by sharpening with radius r2 is not at all the same thing as sharpening with radius (r1+r2).
I am not a programmer, so I had to look up what the two meant. I found a statement here:
In simple terms, an iterative function is one that loops to repeat some part of the code, and a recursive function is one that calls itself again to repeat the code.
@snibgo shares two cases.
1 Sharpening post interpolation.
2 Sharpening, then repeating it, with or without variation.
Papers seem to indicate that (2) is deleterious to image quality. My impression regarding the repeat of filters is to save time and computing power.
@ajax The article you quoted in your first link says
Radius: determines how wide an area at the transition is affected.
Try increasing the Radius to 4 and 8, and youāll see that area that is
modified at the transition widens.
Thatās nonsense.
Gaussian blur is a function which calculates a new value for a pixel from the old value of the pixel and the values of surrounding pixels like
newval(x,y) = gauss(oldval(x,y), radius)
The radius determines the size of the surrounding area which will be used to calculate the new value for the pixel. It does not determine the size of the area which will be influenced by the gaussian blur.
You can apply gaussian blur to one pixel out of 10000000 without an effect to the other 9999999 pixels.
Iād say that, as long as the two tools (resize and post-resize sharpening) are active, then theyāll be used in the processing pipeline. However, I havenāt tried myself ā I almost always resize my processed images.
@ajax Iām currently working on improving the sharpening tools (USM and RL) in RT.
Maybe worth to follow an issue on github in case you want to sharpen for fine details.
The issue is not only about the Microcontrast tool. Itās also about USM and RL-Sharpening in RT
I agree, but I will take a look whether a resize from (width1, height1) to (width2, height2) where width1 = width2 and height1 = height2 (which simply keeps the dimensions of the image) is done without effect to the resulting image. If thatās not the case I will change it.
Iāve seen a lot of creative license in the use of other disciplinesā terminology in photography - ārecursive sharpeningā would be one.
Recursion is a special form of iteration in algorithms, where the function being performed is called within the function itself. A special form of āself-eating watermelonā¦ā
I think what you might be reading about would more properly be called āiterative sharpeningā, the theory being one application of size 10 sharpening is less āniceā to the image than ten successive size 1 applications. Somewhere (maybe here, donāt remember) I read about doing downsize resizing as two operations, the first one gets you about 2/3 there, the second one gets you to the target size, and the result is supposed to be as clean as a single operation followed by a sharpen. Same thinkingā¦
The three applications of sharpening discussed above are about three separate sharpens done in specific places of the workflow for different purposes. I wouldnāt think of them as āiterativeā.
If you want to mess with real iterative sharpening, my rawproc tool will let you stack up as many sharpen operations as memory will allow. I only implement USM, but you can easily compare one application of #10 to ten applications of #1ā¦