Jump to content

sharpen with bilateral blur


Recommended Posts

Sharpen with Bilateral Blur

Here is a sharpening technique I learned from Calvin Hollywood.  He does this in Photoshop.  He calls it Freaky Amazing Details. https://www.youtube.com/watch?v=ZV9u0Wu8L0M

It creates a group of a duplicated pixel layer and sets the group to blend mode overlay.  Because the macro capability of Affinity Photo is not extensive enough, I had to find a workaround to his approach to include the base and duplicated pixel layer into a group.  He then sets the group to overlay blend mode.  Then the top child layer blend mode is set to vivid light blend mode and the layer inverted.  Then he applies Surface Blur to the layer which is the same as Bilateral Blur in Affinity Photo. Bilateral Blur is an edge preserving blur filter that also reduces noise and graininess.  The radius determines the area size and the threshold addresses the tone values of adjacent pixels used in the equation. It determines how much deviation is required form the pixel being modified in order to include it in the blur operation. Keep the threshold around 7-10 and radius between 5-12.  The macro does a merge visible of the result as I don’t want to keep multiple copies of pixel layers to save space on disc. You can delete the working layers if you wish. I like this approach because it does not create the halos that unsharp mask and high pass often creates and you can sharpen pretty intensively without seeing artifacts. However, when driving the parameters high you can run into the several artifacts:  intensity plateaus that lead to images appearing like cartoons or introduction of false edges so don’t drive the adjustable parameters too high. Note that the bilateral blur filter is very computationally intensive.

You can find the definition of bilateral blur here: https://en.wikipedia.org/wiki/Bilateral_filter

sharpen with blur.afmacro

Link to post
Share on other sites
  • 5 months later...
  • 3 weeks later...
22 minutes ago, EGODRACO1989 said:

it's a very cool input, but I can't load the macro 😭

You need to import it via the Macros panel, not the Library panel.

Alfred online2long.gif
Affinity Designer/Photo/Publisher for Windows 1.9.2 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.9.2 • Designer for iPad 1.9.2 • iPadOS 14.4.2 (iPad Air 2)

Link to post
Share on other sites

@hanshabCould you possibly provide an iPad version (macros) export via macro library? Love to try it on the iPad version as I no longer have desktop pc.

IPad Pro 10.5/512GB   lpadOS 14.4 Apple Pencil (1st gen), Affinity Photo 1.9.0.218,  Affinity Photo beta1.9, Affinity Design 1.9.3, Affinity Designer beta 1.9.20, still waiting for Publisher for iPad

Link to post
Share on other sites
9 hours ago, DM1 said:

@hanshabCould you possibly provide an iPad version (macros) export via macro library? Love to try it on the iPad version as I no longer have desktop pc.

Hey DM1, here is the macro I wrote for my Mac but works as well on my iPad.  For some reason I couldn’t upload the one from hanshab so I viewed the vid he referenced and wrote one myself, then exported into my iPad   

My Macros.afmacros

Edited by p_mac
Link to post
Share on other sites
1 hour ago, p_mac said:

I viewed the vid he referenced and wrote one myself, then exported into my iPad   

Much appreciated p_mac. It works great. 🙂

IPad Pro 10.5/512GB   lpadOS 14.4 Apple Pencil (1st gen), Affinity Photo 1.9.0.218,  Affinity Photo beta1.9, Affinity Design 1.9.3, Affinity Designer beta 1.9.20, still waiting for Publisher for iPad

Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.