YOUR ACCOUNT

Login or Register to post new topics or replies
Andrew B.

Posts: 207
Filters: 2
What I've tried is two layers of the original with the bottom adjusted with Gaussian blur. Then I put in an opacity mask based on an edge finding method. I've tried blurring, adjusting contrast on the mask, and a few other things. Everything I do looks awful. I also tried the same steps in Photoshop and it works just as badly there.

Has anyone managed to create a decent smart blur? I want to use it as a sub task within another filter.
  Details E-Mail
jffe
Posts: 2869
Filters: 90
Maybe try the rotation snippet and combine it with motion blur ?

jffe
Filter Forger
  Details E-Mail
ssamm
Posts: 364
Filters: 21
I have no experience with "smart blur" -- it seems to be a Photoshop effect but I don't have that program. But after searching the internet, it inspired the filter below. (Kind of interesting -- even if it's not what you're looking for...)

P.S. The "Mode" part should maybe be 1 (normal blend), but I added it for experimenting...

selectiveblur.ffxml
  Details E-Mail
Andrew B.

Posts: 207
Filters: 2
I tried something similar but used a different edge method. I had no luck. I attached what I did. I also tried more elaborate versions where I used contrast and other methods to modify the mask.

Anyway, your post made me realize that not everyone calls it SmartBlur. What I'm trying to do is smooth the surface areas of an image without blurring the edges.


SelectiveBlurTest.ffxml
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Most likely, we'll add smart (edge-preserving) blur in future releases.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
edge-preserving blur and sharpen and noise removal would be cool. also, texture-preserving in all of those.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
Andrew B.

Posts: 207
Filters: 2
Quote
Vladimir Golovin wrote:
Most likely, we'll add smart (edge-preserving) blur in future releases.
This would be great, because I just tried another method (using highpass) and that didn't work either. And after looking at Photoshop's Smart Blur in using the Edge-Only setting, I can see why.

BTW, my reason for wanting edge preserving blur is to help build art simulations. Being able to remove detail from surface areas allows for stronger edge effects.

  Details E-Mail
jffe
Posts: 2869
Filters: 90
There almost can't be enough different kinds of blurs, they are like visual reverb, and ask any musician/producer, ALL reverb is 1) different, and 2) good. smile:)

jffe
Filter Forger
  Details E-Mail
Ad Majorem Dei Gloriam
Posts: 45
there are all sorts of great blur modes in KPT5 (or is it KPT6) that could be pilfered smile;) ... or called as a plug-in..

..
  Details E-Mail
Bocote
Bocote
Posts: 13
Filters: 3
Here is a "smart blur" that I've been using that may help someone. Its worked very well for me, but it is not as good or as quick as Photoshops solution. It could use some adjustments also.

Slightly Smart Blur.ffxml
Bocote
  Details E-Mail
Andrew B.

Posts: 207
Filters: 2
Looks smart enough to me.

Thanks for posting that. I think your code will be very useful.
  Details E-Mail
Bocote
Bocote
Posts: 13
Filters: 3
The major drawback I found with the "slightly smart blur" is it fails to maintain small bits of highly contrasting areas (e.g. reflections on eyes or glass). I bet that tweaking the edge detection part will solve it at the cost of speed.

I've been using it prior to deriving rotation of a brush with the bomber tool for massive batch jobs, where its not logical to include photoshop, with great success.
Bocote
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
  Details E-Mail
Andrew B.

Posts: 207
Filters: 2
Quote
any better?

Smart Blur.ffxml


The Divide component is introducing color aberrations.

  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Ouch - Thats a bug in Filter Forge... it seems that the error input is not respected upon divide by zero
  Details E-Mail
inujima

Posts: 176
Filters: 26
This is not a blur. smile8)

smart median.ffxml
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Quote
The Divide component is introducing color aberrations.


Everything works correctly if you set the resolution to 600x600 smile;)
Anyway, we've confirmed the issue, I have assigned it to the devs.
  Details E-Mail
Andrew B.

Posts: 207
Filters: 2
Quote
inujima wrote:
This is not a blur.
smart median.ffxml


Not a blur, but I'm thrilled that you posted this. You just showed me how to solve a problem I was getting no place with.
  Details E-Mail
Bocote
Bocote
Posts: 13
Filters: 3
Great solutions inujima and Sphinx.
Bocote
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Ouch - Thats a bug in Filter Forge... it seems that the error input is not respected upon divide by zero


This doesn't look like a bug. Source pixels that produce the aberrations in the Divide component in this filter tend to have extremely small values of the same order of magnitude. Here's an example (the red channel of one of the actual pixels produced by this filter):

9.2E-19 / 7.2E-19 = 1.27

This looks perfectly correct. 1.27 is precisely what I got in the Color Inspector in the red channel for the resulting pixel.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Vlad life-signs confirmed! smile:ff: smile:beer:
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Skybase
2D/3D Generalist

Posts: 4025
Filters: 76
w00t!

And btw smart blur = very smart blur.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Vlad! You're alive! smile:-)

Perhaps its not div by zero - maybe it is lack of precision.. anyways here is a fix

Btw, the edge detection part is rather experimental - you might want to experiment with that, and try out the edge detector component too.. just post modified versions here smile:-)

Smart Blur.ffxml
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
Quote
Perhaps its not div by zero - maybe it is lack of precision..


IMPOSSIBLE! FF uses Double Precision © technology smile:D
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Vlad! You're alive!


I am, thank you very much smile:D

By the way, I'm currently playing with a pre-release build of FF4.0 Beta 1 smile;)

  Details E-Mail
lipebianc
FFF = Filter Forge Fan

Posts: 566
Filters: 12
Quote
Vladimir Golovin wrote:
By the way, I'm currently playing with a pre-release build of FF4.0 Beta 1


smile:eek:
smile:ff: smile:ff: smile:ff: smile:ff:
"From the moment we are born, we start being filtered..."
  Details E-Mail
Morgantao
Can't script

Posts: 2185
Filters: 20
so how about a few sneak peeks?
You know, to get our creative juices flowing smile;)
  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
AHHH it's Vlad!!!...AHHH it's FF 4.0!!! Can't...handle...all at once... smile:dead:
  Details E-Mail
Andrew B.

Posts: 207
Filters: 2
I urge the authors of Slightly Smart Blur, Smart Blur, and Smart Median to submit these to the library. Or, at least submit them as snippets. They each use a different method, and this could help others make filters.

BTW, there is already a filter in the library called Smarter Blur. But it uses a different method, and so there is no redundancy in submitting the ones here.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,714 Registered Users
+20 new in 30 days!

153,537 Posts
+6 new in 7 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

21 unregistered users.