Jump to content
You must now use your email address to sign in [click for more info] ×

Strategy to Achieve a "Tapered-Edge, No-Blur" Circular Area Within a Blurred Image


Recommended Posts

The method presented by @JimmyJack is still very useful, to apply more control on how the varying amount of blur is adjusted (even if the seams would require further manual processing).

pathblur.jpg.f0e6fff1fa538e4ad8a913b14538df1b.jpg

UPDATE: Note, too, that any Live Blur effect borrowed from Photo (or Photo Personal of Publisher) can be subsequently used and fully edited also in Designer.

Link to comment
Share on other sites

On 9/15/2022 at 7:07 AM, Optimalist said:

Imagine an image to which a Gaussian blur has been applied. Now imagine a circular area within this image where this effect is not applied.

I think this discussion has gone far off the rails into the weeds if not the deep woods. I don't think the idea was to blur a circle.

 

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

39 minutes ago, Old Bruce said:
On 9/15/2022 at 4:07 PM, Optimalist said:

Imagine an image to which a Gaussian blur has been applied. Now imagine a circular area within this image where this effect is not applied.

 

Isn´t that exactly what the "Depth of Field Blur" set to Elliptical does? Though not available in Affinity Designer afaik.

Link to comment
Share on other sites

13 minutes ago, PixelPest said:

Isn´t that exactly what the "Depth of Field Blur" set to Elliptical does? Though not available in Affinity Designer afaik.

Check the fourth post from Optimalist where he comments on my screenshot, pointing out how the only problem with it was that the edge was distinct. Compare the various multiple pictures of circles with blurs on them to that image. I don't see the relationship between the most recent screenshots of Circles that are blurred and my original screenshot with a circular area un-blurred. Hence I think we have wandered far afield.

I too though of the Depth of Field blur filter but, as you pointed out, we are dealing with Designer, not Photo.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

Hi Everyone (@Old Bruce@PixelPest@lacerto@thomaso@JimmyJack@David in Яuislip@John Rostron),

Sorry for my absence. Apparently, on my first day on this forum, I went over my allowed number of posts and couldn't reply to anyone anymore.

After downloading a trial version of Affinity Photo, I was able to confirm @thomaso's assertion that applying any kind of gradient to a Gaussian filter does not affect its blur radius (or sigma), but instead merely its opacity. The depth of field effect does change blur radius—but it doesn't use a Gaussian blur. It may be a bokeh blur or something else. In any case, I can't use that kind of blur because it doesn't have the right properties and causes strange overlapping effects. See the image (and .afphoto file) below.

  • On the left half of the image is a depth of field effect, with everything out of focus except for the center of the left spiral. Note the darkened areas where the blurs overlap and produce pattern artifacts.
  • On the right half of the image is a Gaussian effect. Note that it does not produce any pattern artifacts—just blur.

How they blur differently is most obvious where they're side-by-side, at the center spiral.

This brings me to conclude that none of the tools in the Affinity suite of products produces a Gaussian blur that gradually increases from no blur to a certain level of blur. (I have no idea if any other image editing products do, either.) So it seems that I'll have to resort to the "brute force" method that I described in my original post. It will be a pain to implement, but at least it will look very close to perfect.

Thanks for the ideas, suggestions, and thoughts!

Screen Shot 2022-09-16 at 22.48.07.png

DOF v Gaussian.afphoto

Edited by Optimalist
Link to comment
Share on other sites

On 9/17/2022 at 12:35 AM, Optimalist said:

This brings me to conclude that none of the tools in the Affinity suite of products produces a Gaussian blur that gradually increases from no blur to a certain level of blur. (I have no idea if any other image editing products do, either.)

Blur effects are quite popular and varied so there is a good chance that you may find what you are after. One worth a look might be GIMP, and its G'Mic plug-in, which also (partially) operates within Affinity Photo (Windows version only), but for some reason unfortunately not when using specifically the Blur filters (or I at least could not make them work with my test images, which were b/w grayscale and RGB 8-bit pixel layers; in context of Photoshop they work just fine).

But the same filters do work in current version of GIMP (and you can pick the depth of field blur type, in example below "Gaussian" blur is used):

image.thumb.jpeg.4ce0706f61175d293181492613206a4b.jpeg

GIMP also has a bunch of blur filters of its own, and one of them is called "Variable Blur", but which I could not apply to make any effect at all with these kinds of black and white images. But they might be useful in some specific situation.

UPDATE: I had another look on the "Variable Blur", and realized now that it works by using a loaded image as a blur mask:

variableblur_gimp_01.jpg.8cef983406598df3f8d0626e27295799.jpg

variableblur_gimp_02.jpg.9ea8d00c18adc8f104f53bd906e3a1cf.jpg

As the feature has additionally an Opacity and Blend mode control, it might help you achieve what you are after. 

 

 

Link to comment
Share on other sites

20 hours ago, Optimalist said:

This brings me to conclude that none of the tools in the Affinity suite of products produces a Gaussian blur that gradually increases from no blur to a certain level of blur.

It really depends on the gradient on the mask (or the transparency stops settings Tool's in Designer) of the gradient. You can generate anywhere from Full Effect of Blur all the way to No Effect of Blur anywhere on the subject. Start with Full, go to 40% and then back up to Full.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

17 minutes ago, Old Bruce said:

It really depends on the gradient on the mask (or the transparency stops settings Tool's in Designer) of the gradient.

Are you able to make the masking gradient's transparency changing indeed the blur value?

To me the mask only reduces the opacity of a consistently blurred image rather than a varying blur value. (… as in my impression every mask for every fx, filter or adjustment does, lacking in an option to reduce the applied value rather than its layer opacity.)

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

30 minutes ago, thomaso said:

Are you able to make the masking gradient's transparency changing indeed the blur value?

Oh, I see. Forty pixel blur going to a twenty pixel blur going to a 10 or 0 pixel blur.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

5 minutes ago, Old Bruce said:

Oh, I see. Forty pixel blur going to a twenty pixel blur going to a 10 or 0 pixel blur.

So can you do that or not?

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

1 minute ago, R C-R said:

So can you do that or not?

Not sure. I doubt it. I have to admit that I would be hard pressed to come up with need for this. I am quite happy with the results from simply reducing the opacity of the blur through masks and gradients.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

1 hour ago, Old Bruce said:

I have to admit that I would be hard pressed to come up with need for this. I am quite happy with the results from simply reducing the opacity of the blur through masks and gradients.

The missing option to gradient the values of an effect, adjustment or filter becomes obvious at areas of high contrast. Then a masking transparency gradient gets blended with the sharp image below instead of fading the effect's values. For instance:

1663637725_blurgradientmask.jpg.1d8bde458890a0ac83f92e41a73a5cb8.jpg

633507172_gradientmaskfilter.jpg.389b3d5c104746090096145f0db7d961.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Your second screenshot is an excellent demonstration. The screen has the same Lines Per Inch (LPI) from top to bottom. As an analogy it would need to have a continuous change from say, 40 to 300 LPI.

I would guess that this improvement or option to have the blur Amount change instead of just its Opacity would be possible to code. Having said that I doubt that I would actually notice if you used it. I can think of images from my pictures where this would be more obvious, dead flowers against a textured wall instead of apples against a smooth wall. The textured wall would be blurred all the way out to the 40 pixels everywhere currently whereas with the proposed method it would be varied from 40 pixels to none. Under the current method I would need to make a mask and edit it somehow to be wider on the left and narrower on the right, The Yellow apple would have a large area around it to be blurred and the red apple would have a very narrow area around it to be blurred.

This is too early in the morning here on the Wet Left Coast and I doubt much of the above is actually coherent, so I'll pause now.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
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

Terms of Use | 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.