Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing the strength of the blur filter #9

Closed
stevenkaza opened this issue Jul 28, 2014 · 2 comments
Closed

Increasing the strength of the blur filter #9

stevenkaza opened this issue Jul 28, 2014 · 2 comments

Comments

@stevenkaza
Copy link

Hello Fadden,

I asked a question about real-time-blur on Stack Overflow and was delighted when you responded with this Grafika tool.

My only issue is that I notice the blur is not as strong as id like it to be,
and ive been playing around with this:
case CameraCaptureActivity.FILTER_BLUR:
programType = Texture2dProgram.ProgramType.TEXTURE_EXT_FILT;
kernel = new float[] {
1f/16f, 2f/16f, 1f/16f,
2f/16f, 4f/16f, 2f/16f,
1f/16f, 2f/16f, 1f/16f };
break;

but I cant quite figure out what to change in that 3x3 image blur radius matrix, or whatever those fractions represent to change them to make the blur stronger.
Any idea(s)?

Thanks again!

Steve

@fadden
Copy link
Contributor

fadden commented Jul 29, 2014

@KingArmstring
Copy link

can u please take a look on my question, I tried tagging u in SOF, sorry if this is not the right place, I don't know where to find u I apologise 🙏
https://stackoverflow.com/questions/74969773/android-opengl-es-draw-an-image-on-texture-by-sending-all-vertices-of-the-image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants