Hello,
Has anyone succeeded in reproducing Photoshop's Gaussian Blur and Unsharp Mask?
I have a technique to apply a really nice Local contrast Enhancer based on Unsharp Mask yet I have to reproduce Photoshop's first.
I reproduce Photoshop's Unsharp Mask using some math on layers and the Gaussina Blur.
Assuming 'O' is the layer we want to apply USM on then:
USM('O') = O + (O-GB) - inv(O + inv(GB))
Where GB stands for a Gaussian Blurred version of O.
Subtractions and Addition can be done using Photoshop's 'Apply Image' command.
As you can see this is not the "Classic" Unsharp Mask.
Has anyone reproduced it in C / Python / MATLAB?
P.S.
I'm asking here because I know many people here have a deep understanding about the math of Photoshop and how things works internally.
Thank You.
Has anyone succeeded in reproducing Photoshop's Gaussian Blur and Unsharp Mask?
I have a technique to apply a really nice Local contrast Enhancer based on Unsharp Mask yet I have to reproduce Photoshop's first.
I reproduce Photoshop's Unsharp Mask using some math on layers and the Gaussina Blur.
Assuming 'O' is the layer we want to apply USM on then:
USM('O') = O + (O-GB) - inv(O + inv(GB))
Where GB stands for a Gaussian Blurred version of O.
Subtractions and Addition can be done using Photoshop's 'Apply Image' command.
As you can see this is not the "Classic" Unsharp Mask.
Has anyone reproduced it in C / Python / MATLAB?
P.S.
I'm asking here because I know many people here have a deep understanding about the math of Photoshop and how things works internally.
Thank You.
Comment