How to create Photoshop Stamp filter analog in any pixel shading language? (I need at least filter algorithm…)
How to create Photoshop Stamp filter analog in any pixel shading language? (I need
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve look at the Stamp Filter in Photoshop and it looks like a Threshold and a strong Blur added together.
I’ve used the HorizontalGaussianBlur kernel found Pixel Bender Basics Article on Devnet
and just added a cheap threshold. Here is how my kernel looks like:
This is far from perfect, it is what I could hack quickly at this hour. This should
give you some ideas though.
UPDATE:
Here is an updated version using proper grayscale and the Gaussian Blur code is mostly from the Pixel Bender Guide.
Note: I applied the threshold after the blur, so the result is not exactly a Stamp Filter but close.
HTH,
George