FORUMS: list search recent posts

Blurriness units to pixel radius conversion

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Pedro Amaral
Blurriness units to pixel radius conversion
on Aug 12, 2014 at 12:00:51 pm
Last Edited By Pedro Amaral on Aug 12, 2014 at 2:04:12 pm

Hi,

I'm looking for a way to accurately convert Blurriness units from Fast Blur to pixel radius.

This is to inform the developers team how Fast Blur in AE translates to their Gaussian Blur.

As we couldn't find any CSS filters for the Fast Blur, for the time being we've been trying to match it visually - blurriness of 100 units (on fast blur) is about 35px (pixel radius) - but in the end the final result doesn't seem to be quite the same.
Plus the developers still have to simulate the "Repeat Edge Pixel" from the Fast Blur by increasing the size of the content until it compensates the bulged margins from the blur.

Any ideas?

Thanks.


Return to posts index

Walter Soyka
Re: Blurriness units to pixel radius conversion
on Aug 12, 2014 at 3:39:13 pm

[Pedro Amaral] "As we couldn't find any CSS filters for the Fast Blur, for the time being we've been trying to match it visually - blurriness of 100 units (on fast blur) is about 35px (pixel radius) - but in the end the final result doesn't seem to be quite the same. "

Fast Blur does measure in pixels. Observe:

Create a 1920x1080 comp.
Create a full-white, 100x100 solid, centered in that comp.
Set the project to 32bpc.
Apply Fast Blur. Set the Blurriness to 100.
Render out a PNG.
Open the PNG in Photoshop, then Image > Trim... Based on Transparent Pixels.
Image > Canvas Size will yield 300x300, confirming a 100px radius on each side of your original 100x100 image.

Your developers are probably not compensating for the difference between linear and gamma-encoded spaces as Ae does.

If you set Ae's working space and choose "Linearize workspace" then I suspect you will see results in Ae closer to what your developers are accomplishing. They may need to make a gamma adjustment.


[Pedro Amaral] "Plus the developers still have to simulate the "Repeat Edge Pixel" from the Fast Blur by increasing the size of the content until it compensates the bulged margins from the blur."

Yes, repeat edge pixels does exactly what it says.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Pedro Amaral
Re: Blurriness units to pixel radius conversion
on Aug 12, 2014 at 4:51:09 pm

Hi Walter,

Thank you for your reply, indeed it makes total sense.

My confusion came when trying to match the same blur result on both ends, the blurriness amount I had in AE was completely different from the pixel blur values in the devs code. (I have no coding knowledge whatsoever so maybe it is supposed to be this way)

Please open the following example on your Chrome browser:
http://jsfiddle.net/9rcf2gtk/3/

On the CSS area (top right) you see 35px which, I suppose, stands for the pixel radius. To match the exact same result there I'd need 100 units blurriness in AE.

Once again thanks for the help.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]