‘Creative’ Sharpening Edge Undershoot/Overshoot Control
Posted: April 5th, 2014, 10:41 am
The following suggested technique will allow precise control for the amounts and ratio of edge Undershoot to edge Overshoot for multiple sharpening methods used to increase an image’s edge contrasts… …inter-actively separate smooth/minor edges from major edges for further 'creative' sharpening… …and most importantly, preserve the integrity of the selected sharpening algorithm(s)…
Reference: “Guide to Image Sharpening” http://www.cambridgeincolour.com/tutori ... pening.htm
Definitions:
Img0 = the starting image with little or no sharpening…
Img1 = Img0 Amount 100 sharpened by any one of the following methods and settings: Sharpen; Heavy Sharpen; Unsharp Mask; Bilateral Sharpen; or Advanced Sharpen…
Img3 = Special Effects/Difference – Offset Difference where Img1 is subtracted from Img3 at Amount 100…
EUOCM = Edge Undershoot/Overshoot Control Mask where black maps the sharpening edge undershoot and white maps the sharpening edge overshoot of Img3…
MEM = Major Edge Mask where black maps the smooth/minor edges image areas of Img0 and white maps major edges starting at a threshold with a diminishing gradient to lesser major edges in the selected range…
Workflow:
1) Sharpen Img0 to an Amount 100, creating Img1
2) Offset Difference Img1 minus Img0 at Amount 100, creating Img3…
3) Mask Img3, creating EUOCM using Mask Tool – Brightness Curve… 4) Mask Img1, creating MEM using Mask Tool - Texture… …leave ‘active’ on Img1… …Neighborhood Size should be as close to the Sharpening radius used to create Img1 as the setting allows… 5) Composite-Blend where: Input = Img0; Input Amount Mask = MEM; Overlay = Img1; Overlay Amount Mask = EUOCM… …adjust mask amount black/white sliders to preference while monitoring 1:1 Zoom factor Preview image areas to avoid viewing anti-aliasing artifacts… In the illustration above, Img0’s smooth/minor edge image areas are sharpened [blended] to a 90% amount while the major edges are sharpen to a 45% amount [ratio of smooth/minor edges to major edges is 2:1] with edge Overshoots 2/3’s [67] of edge Undershoots [100] of Img1… …as MEM is ‘active’, Img0’s masked smooth/minor edges and major edges image areas can be adjusted with a Mask Tool None or Undo; re-adjustment of the threshold setting [black slider]; and a lower-left Apply Add and the Preview will auto update if checked…
For “High Pass – Hard or Soft Light” ‘creative’ sharpening methods, Img3 = the High Pass blur image of Img0 and is the Overlay for Composite – Hard or Soft Light… …mask creation is the same as previously described…
If smooth/minor edges and major edges separation is not preferred, omit step 4) and use ‘No Mask’ for the Composite – Blend or Composite – Hard or Soft Light Input Amount Mask.
…den…
P.S... ...Thank you Maciej for the on/off message board discussions that crystalized my thoughts regarding the above possibilities...
Reference: “Guide to Image Sharpening” http://www.cambridgeincolour.com/tutori ... pening.htm
Definitions:
Img0 = the starting image with little or no sharpening…
Img1 = Img0 Amount 100 sharpened by any one of the following methods and settings: Sharpen; Heavy Sharpen; Unsharp Mask; Bilateral Sharpen; or Advanced Sharpen…
Img3 = Special Effects/Difference – Offset Difference where Img1 is subtracted from Img3 at Amount 100…
EUOCM = Edge Undershoot/Overshoot Control Mask where black maps the sharpening edge undershoot and white maps the sharpening edge overshoot of Img3…
MEM = Major Edge Mask where black maps the smooth/minor edges image areas of Img0 and white maps major edges starting at a threshold with a diminishing gradient to lesser major edges in the selected range…
Workflow:
1) Sharpen Img0 to an Amount 100, creating Img1
2) Offset Difference Img1 minus Img0 at Amount 100, creating Img3…
3) Mask Img3, creating EUOCM using Mask Tool – Brightness Curve… 4) Mask Img1, creating MEM using Mask Tool - Texture… …leave ‘active’ on Img1… …Neighborhood Size should be as close to the Sharpening radius used to create Img1 as the setting allows… 5) Composite-Blend where: Input = Img0; Input Amount Mask = MEM; Overlay = Img1; Overlay Amount Mask = EUOCM… …adjust mask amount black/white sliders to preference while monitoring 1:1 Zoom factor Preview image areas to avoid viewing anti-aliasing artifacts… In the illustration above, Img0’s smooth/minor edge image areas are sharpened [blended] to a 90% amount while the major edges are sharpen to a 45% amount [ratio of smooth/minor edges to major edges is 2:1] with edge Overshoots 2/3’s [67] of edge Undershoots [100] of Img1… …as MEM is ‘active’, Img0’s masked smooth/minor edges and major edges image areas can be adjusted with a Mask Tool None or Undo; re-adjustment of the threshold setting [black slider]; and a lower-left Apply Add and the Preview will auto update if checked…
For “High Pass – Hard or Soft Light” ‘creative’ sharpening methods, Img3 = the High Pass blur image of Img0 and is the Overlay for Composite – Hard or Soft Light… …mask creation is the same as previously described…
If smooth/minor edges and major edges separation is not preferred, omit step 4) and use ‘No Mask’ for the Composite – Blend or Composite – Hard or Soft Light Input Amount Mask.
…den…
P.S... ...Thank you Maciej for the on/off message board discussions that crystalized my thoughts regarding the above possibilities...