John Rostron Posted August 18, 2021 Posted August 18, 2021 Sharpening by Blurring This procedure originated from Dan Margulis and I found it described in The Creative Digital Darkroom by Katrin Eismann and Sean Duggan (Page 387). It utilizes two copies of the original file which are transformed, one into a Light Edges and the other into a Dark Edges image. These are then stacked onto the original with appropriate blending modes to create a final sharpened image. The original used Photoshop. I have translated it as far as I can into Affinity Photo procedures. 1. First, create two new tabbed-copies of the background image. Photoshop allows you to to do this as a recordable command. In Photo I used the following: Edit > Copy (Control-A, Control-V) (or Command-A, Command-V) Edit> New from Clipboard. Edit> New from Clipboard. This creates two new tabs, each with a copy of the original image. 2. Create the Light Edges On the first extra image, duplicate (Ctrl/Cmd -J) the Background Layer twice Select the Middle Layer Apply a Gaussian Blur Filter (Filter > Blur > Gaussian Blur) with radius 1.5. Change the Blend Mode to Darken. Select the Topmost Layer and set the Blend Mode to Difference. Flatten the Image (Document > Flatten). Duplicate the single layer and set the Blend Mode to Screen. Duplicate this top layer again. Flatten the Image. Rename this layer to Light Edges. The result will be a very dark image with fine light lines corresponding to the edges. 3. Create the Dark Edges On the other extra image, duplicate the background layer twice. Select the Middle Layer. Apply a Gaussian Blur Filter (Filter > Blur > Gaussian Blur) with radius 2. Change the Blend Mode to Lighten. Select the Topmost Layer and change the Blend Mode to Difference. Flatten the image. Invert the image (Ctrl/Cmnd-I). Duplicate this background layer. Change the Blend Mode to Multiply. Duplicate this layer again. Flatten the image. Change the Layer Name to Dark Edges The result will be a very light image with fine dark lines corresponding to the edges. 4. Bring it all together Select the Dark Edges image and Copy (Ctrl/Cmd-C). Select the original image and Paste (Ctrl/Cmd-V). Set the Blend Mode to Multiply. Select the Light Edges image and Copy (Ctrl/Cmd-C). Select the original image and Paste (Ctrl/Cmd-V). Set the Blend Mode to Screen. I have created two macros to perform the Light Edge and Dark edge manipulations of stages two and three. Although Photo will quite happily create a macro that copies and pastes layers between documents, it records the actual layers present at the time of the recording, not the command to perform the copy. To apply these to a document, you need to manually go through the steps in stage one to create the two copies. Then Apply the Light Edges macro to one of these tabs and the Dark Edges macro to the other tab. Finally manually go through the steps in stage four. Dark Edges.afmacro Light Edges.afmacro John Lisbon, jmwellborn, Hilltop and 3 others 4 2 Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
smadell Posted August 19, 2021 Posted August 19, 2021 Good morning, @John Rostron. I was intrigued by your method, and tried it. I found that it produced a nice, sharp image in a different way. I thought there had to be a way to do all of this inside of a single file (and, therefore, make it amenable to an inclusive macro). I found that I could create the Light Edges and the Dark Edges inside of Groups, which were then rasterized. I then went about incorporating your instructions to a single macro. This brings together all of the steps you outlined above (except the creation of separate documents, of course) and then combines the Light and Dark Edges layers into a Group. In that way, the whole effect can be turned on/off with a single click. It can also be made less conspicuous by tweaking the Opacity of the group. I have attached the macro I created to this post. It is an .afmacros file, meaning it will import into the Library as a Macro Category. Users can drag the macro into one of their existing categories, if they like, and then discard the empty category they imported. I posted this as a category instead of as a single macro so that it could also be imported into the iPad version (although I confess I have not yet tested it out on my iPad – I am assuming it will work, and I hope I am correct). Sharpening by Blurring.afmacros.zip PaulEC, Hilltop, jmwellborn and 3 others 2 4 Quote Affinity Photo 2, Affinity Publisher 2, Affinity Designer 2 (latest retail versions) - desktop & iPad Culling - FastRawViewer; Raw Developer - Capture One Pro; Asset Management - Photo Supreme Mac Studio with M2 Max (2023); 64 GB RAM; macOS 13 (Ventura); Mac Studio Display - iPad Air 4th Gen; iPadOS 18
John Rostron Posted August 20, 2021 Author Posted August 20, 2021 Thanks, @smadell. I did make several attempts to combine all this into one macro, without success. Well done for your effort. BTW, it is not my method, but Don Margulis's. John Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
NotMyFault Posted September 30, 2021 Posted September 30, 2021 Hi John, The image attached is a hyper-simplified version of a similar more complex workflow (using apply image and multiple copies). one group of three layer. It doesn't need any layer copies, macros, or destructive operations. Currently it uses a bilateral blur, but you can replace it by any blur. Currently it affects both darker and lighter edges. This can be extended to handle them separately using two copies of the group, adjust blend ranges and blend mode. But maybe the "combined" version provides as good results as using separation. You might use this as inspiration to replace copies / destructive edit steps by fully non-destructive steps. sharpen by bilateral blur 2.afphoto j3rry, Lisbon and John Rostron 3 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.