This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Filter Chain #20
Comments
After you define a new custom class which extends from GPUImageFilterGroup class, u can use multiple filter by adding it in new class constructor method, like this: public GPUImageSobelEdgeDetection() {
super();
addFilter(new GPUImageGrayscaleFilter());
addFilter(new GPUImage3x3TextureSamplingFilter(SOBEL_EDGE_DETECTION));
} and that class's instance is what u need in where u want to set a multi-filter. More easy way to handle this problem is to use a simple function which I'm dealing with. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
How can i create a filter chain?
I need multiple outputs with different filters and blend them to single frame?
The text was updated successfully, but these errors were encountered: