YOUR ACCOUNT

Login or Register to post new topics or replies
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
I use blur and high-pass a lot in Photoshop,in fact they are the base of my most successful actins and filters.

In Photoshop an image can be separated into a "High Pass" part and a "Low Pass" part by applying blur and high-pass at the same radius.
(They can be combined later by using Linear Light @ 50%)

However, in FF none of this works. The radius (ok, percentage) of one filter seems to bear little relationship to the percentage input of the other.
To mix things up it seems that the high-pass contrast adjustment also comes into play.

For example, to make a complementary filter to a blur of 10 (percent), the closest I can get is a High-Pass with radius of 44 and a contrast of 46.

Is there a magic way of making these paired filters, or is it "FF just doesn't work like that" ?

(or am I dong something very silly)

Rô

High Pass and Blur.ffxml
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
ssamm
Posts: 364
Filters: 21
There might be a way to make your own highpass filter that is the opposite of the gaussian blur so that the blur is the same for both.

This was my attempt (below). I'm not sure it's a true highpass, though (as it uses no contrast), and I had to put linear light to 100% for it to work...

highpass+blur.ffxml
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Hmmm, actually you can do what I did with FF's highpass filter too.
That is, with HighPass's radius at 50 (and contrast 0) in the foreground of the linear light blend (with 100% opacity), and the Gaussian Blur at 10 in the background this seems to remake the original image.


highpassblur2.ffxml
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Hi Rô

I am glad you posted this. I noticed this as well. I tried setting the re-mappers to get 'matched pairs' but could not find the correct settings.

Hi Ssamm

In Your examples Linear Light is set to 100%. It should be set to 50% (128) to add or subtract. (or maybe I am wrong?)


Ken.
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Ken,

Quote
In Your examples Linear Light is set to 100%. It should be set to 50% (128) to add or subtract. (or maybe I am wrong?)

Yeah, I was fudging it. smile:)
(I thought it was interesting and hopefully maybe helpful in some way. ...I guess it at least helped me figure out FF’s Blur and High Pass radii work at a 1 to 5 ratio. I’ll attach the “proof” below.)

I guess we need to figure out what exactly PS’s High Pass filter does in order to hope recreate the event correctly…

highpassvsblur.ffxml
  Details E-Mail
ssamm
Posts: 364
Filters: 21
P.S. I think PS's High Pass possibly is: Image->Blur->Invert->Blend at 50% opacity using Linear Light mode (with original image).
(But in FF, I can't seem to get the re-creation of the original right. Maybe the Linear Light Blend works differently in FF?)
  Details E-Mail
ssamm
Posts: 364
Filters: 21
For kicks, I made a quick test-filter so people can test how similar/different their Photoshop/PSP blend modes work compared to FF's.


Here's the instructions:
1. Make one layer in your PS/PSP/etc. program have the first perlin noise image in the filter. (I.e. be sure to have the "Original, Your's, FF's, Difference" controller set to 1 and apply the result to your layer).
2. Back in PS/PSP/etc., duplicate that layer, and blend the two of them with your blend mode and opacity of choice. Then merge the two layers into one.
3. Take that layer back into the test-filter. Set the blend mode and opacity to what you used in step 2.
4. Set the "Org,ur's,FF's,Difrnc" contoller to 4 to see the Difference blend result. The more black the result is, the more similar your graphic software's blend is to FF's blend.
4b. The white point adjusts the sensitivity of the test, where the higher it's value is, the blacker the results should be.


I found FF's Linear Light blend at 50% opacity to be somewhat close to PS3beta's -- where the result looked pure black with the white point at 5, but with a lower white point the image becomes less black.






blendmodestest.ffxml
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
From the help articles on Blur and High Pass:
http://www.filterforge.com/more/help/.../Blur.html
http://www.filterforge.com/more/help/...hPass.html

Blur Radius: Sets the blur radius. Larger values lead to stronger blurring and slower rendering. Radius is measured as a percentage of the global parameter Size. For example, if Size is set to 600 pixels, and Radius is set to 10, the actual blur radius will be 60 pixels.

High Pass Radius: Adjusts the radius of the High Pass operation. Larger values lead to slower rendering. Radius is measured as a percentage of the global Size value divided by 5. For example, if Size is set to 1000 pixels, and Radius is set to 10, the actual high pass radius will be 20 pixels.
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Hi Vladimir.

Ssamm's snippets showed the 5:1 ratio very well

I open a new image 1000x1000 pixels
Plug it into a Blur component set to 10% (this equates to 100)
Plug it into a High Pass set to 50% (this equates to 100)
And blend them back together with Linear Light at 50%

The results are not the same as in PS7.
Adding High Pass contrast (40) helps but Ro's figures are still closer.

I also tried the Linear Light formula from here
http://www.filterforge.com/forum/read...essage1762

And got exactly the same results,


Ken.
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Ken, ssamm and Vladimir - thanks for the help . smile:D

Think I got it now:

1) For the high pass use 5x the blur radius;
2) For the linear light use 100% and not 50%.

Quote
From the help articles on Blur and High Pass:

Oops, I think that's a nice way to say "RTFM" smile;)

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Hi Rô.

I thought I had RTFM

But I can't find this

Quote
For the linear light use 100% and not 50%.


It does make sense and solves the problem but I can't find it in the Manual?


Ken.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
byRo wrote:
Oops, I think that's a nice way to say "RTFM"


I'd rather say RTNM smile:D -- "Read the Nice Manual" smile:D smile:D smile:D

The help article is the best place to start if one is looking for facts about components. When we wrote the help, we always tried to expose the internals.
  Details E-Mail
sergiozambrano
Applxperience
Posts: 10
I'm glad I found this topic.

I created a workaround for what you do with FF. By the way, FF crashes my cs4 PS.
I couldn't attach it here because the many layers inflating the file (I never imagined using all copies of the same smart object no-composite-for-compatibility-saving would make the file so big!!. It seems like mart objects are not smart enough yet)
so here it is http://socialblogsitewebdesign.com/Hi...eation.psd

I think the problem is the high pass is calculated with a "quick" gaussian blur (like the ones that show squared patterns) and the gaussian blur you apply to the photo is "optimized", making some differences.

I replicated the highpass effect with filters (like 10 layers with different grouping and blending modes) and the result is EXACTLY the same than the input image (well, except in the tones close to completely white areas)

I noticed it works better with "median" than with "Gaussian Blur". It extracts more detail close to the middle tones than using blur. Again, I think the gaussian blur uses some kind of "soft" edge of action, or so.

Can you figure out a way to come up with the calculation used by the high pass and create a median based high-pass filter instead of gaussian blur based?

Thanks.
  Details E-Mail

Join Our Community!

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

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

14 unregistered users.