Gpuimage is a very good open-source image processing library, which provides a lot of filter effects to process images.
However, it is because there are too many effects, and for programmers, it is not clear that there are so many effects to use. So I will use the provided default value, and the understanding of the filter name, a rough and simple description of each filter referenced in gpuimage. h. In this way, you can find the desired filter effect. Some of them may be incorrect, or you may be asked to correct them if they are inaccurate. Some of the effects may be satisfactory only when cameras are used.
The annotated gpuimage. H code is attached:
# Import "glprogram. H "// base classes # import" gpuimageopenglescontext. H "# import" gpuimageoutput. H "# import" gpuimageview. H "# import" gpuimagevideocamera. H "# import" gpuimagestillcamera. H "# import" gpuimagemovie. H "# import" gpuimagepicture. H "# import" gpuimagerawdatainput. H "# import" gpuimagerawdataoutput. H "# import" gpuimagemoviewriter. H "# import" gpuimagefilterpipeline. H "# import" gpuimagetextureoutput. H "# import" gpuimagefiltergroup. H "# import" gpuimagetextureinput. H "# import" gpuimageuielement. H "# import" gpuimagebuffer. H "// filters # import" gpuimagefilter. H "# import" gpuimagetwoinputfilter. H "# pragma mark-adjust the color handle color # import" gpuimagebrightnessfilter. H "// brightness # import" gpuimageexposurefilter. H "// exposure # import" gpuimagecontrastfilter. H "// contrast # import" gpuimagesaturationfilter. H "// saturation # import" gpuimagegammafilter. H "// gamma line # import" gpuimagecolorinvertfilter. H "// reversed # import" gpuimagesepiafilter. H "// Brown (nostalgic) # import" gpuimagelevelsfilter. H "// level # import" gpuimagegrayscalefilter. H "// grayscale # import" gpuimagehistogramfilter. H "// color histogram, displayed on the image # import" gpuimagehistogramgenerator. H "// color histogram # import" gpuimagergbfilter. H "// RGB # import" gpuimagetonecurvefilter. H "// tone curve # import" gpuimagemonochromefilter. H "// monochrome # import" gpuimageopacityfilter. H "// opacity # import" gpuimagehighlightshadowfilter. H "// brighten the shadow # import" gpuimagefalsecolorfilter. H "// color replacement (replacing the bright and dark colors) # import" gpuimagehuefilter. H "// color # import" gpuimagechromakeyfilter. H "// Color Key # import" gpuimagewhitebalancefilter. H "// White horizontal # import" gpuimageaveragecolor. H "// average pixel color # import" gpuimagesolidcolorgenerator. H "// solid color # import" gpuimageluminosity. H "// brightness average # import" gpuimageaverageluminancethresholdfilter. H "// average brightness of the pixel color value, black and white images (with cartoon-like effects) # import" gpuimagelookupfilter. H "// lookup Color adjustment # import" gpuimageamatorkafilter. H "// amatorka lookup # import" gpuimagemissetikatefilter. H "// missetikate lookup # import" gpuimagesoftelegancefilter. H "// softelegance lookup # pragma mark-image processing handle image # import" gpuimagecrosshairgenerator. H "// cross # import" gpuimagelinegenerator. H "// line # import" gpuimagetransformfilter. H "// shape change # import" gpuimagecropfilter. H "// cropping # import" gpuimagesharpenfilter. H "// sharpen # import" gpuimageunsharpmaskfilter. H "// unmask sharpening # import" gpuimagefastblurfilter. H "// fuzzy # import" gpuimagegaussianblurfilter. H "// Gaussian Blur # import" gpuimagegaussianselectiveblurfilter. H "// Gaussian blur, select clear # import" gpuimageboxblurfilter. H "// box-like fuzzy # import" gpuimagetiltshiftfilter. H "// blurred stripes, clear middle, fuzzy upper and lower ends # import" gpuimagemedianfilter. H "// median value, with a slightly blurred edge effect # import" gpuimagebilateralfilter. H "// bilateral fuzzy # import" gpuimageerosionfilter. H "// blur edges, black and white # import" gpuimagergberosionfilter. H "// RGB eroded edge blur, color # import" gpuimagedilationfilter. H "// extend the edge blur and change it to black and white # import" gpuimagergbdilationfilter. H "// RGB extended edge blur, color # import" gpuimageopeningfilter. H "// black and white tones # import" gpuimagergbopeningfilter. H "// Color Blur # import" gpuimageclosingfilter. H "// the black and white tones are blurred, and the dark colors are highlighted # import" gpuimagergbclosingfilter. H "// Color Blur, the dark color will be highlighted # import" gpuimagelanczosresamplingfilter. H "// Lanczos re-sampling, fuzzy effect # import" gpuimagenonmaximumsuppressionfilter. H "// display only the pixels with the highest brightness. Others are black # import" gpuimagethresholdednonmaximumsuppressionfilter. H "// pixel loss more than above # import" gpuimagesobeledgedetectionfilter. H "// Sobel edge detection algorithm (white edge, black content, a bit of reverse color effect of comics) # import" gpuimagecannyedgedetectionfilter. H "// specifies the edge detection algorithm (more intense black/white contrast than above) # import" gpuimagethresholdedgedetectionfilter. H "// threshold value edge detection (the effect is slightly different from the above) # import" gpuimageprewittedgedetectionfilter. H "// Prewitt edge detection (similar to Sobel, seemingly smoother) # import" gpuimagexyderivativefilter. H "// xyderivative edge detection. The image is mainly blue and green is the edge with color # import" gpuimageharriscornerdetectionfilter. H "// Harris corner detection. A small Green Cross is displayed at the corner of the image # import" gpuimagenoblecornerdetectionfilter. H "// noble corner detection, more Detection Points # import" gpuimageshitomasifeaturedetectionfilter. H "// shitomasi corner detection, which is slightly different from the above # import" gpuimagemotiondetector. H "// action detection # import" gpuimagehoughtransformlinedetector. H "// line detection # import" gpuimageparallelcoordinatelinetransformfilter. H "// parallel line detection # import" gpuimagelocalbinarypatternfilter. H "// The image is black-and-white and has a large amount of noise # import" gpuimagelowpassfilter. H "// used for image brightening # import" gpuimagehighpassfilter. H "// when the image is below a certain value, it is displayed as black # pragma mark-visual effect # import" gpuimagesketchfilter. H "// sketch # import" gpuimagethresholdsketchfilter. H "// threshold sketch to form a noise sketch # import" gpuimagetoonfilter. H "// cartoon effect (black rough line stroke) # import" gpuimagesmoothtoonfilter. H "// The effect is more delicate than above. The above is a rough style # import" gpuimagekuwaharafilter. H "// kuwahara (sanyuan) filtering, the blur effect of gouache painting; processing time is relatively long, use # import" gpuimagemosaicfilter with caution. H "// black/white mosaic # import" gpuimagepixellatefilter. H "// pixel # import" gpuimagepolarpixellatefilter. H "// concentric circles in pixels # import" gpuimagecrosshatchfilter. H "// cross-line shadow to form a black/white mesh image # import" gpuimagecolorpackingfilter. H "// color loss, blur (similar to monitoring camera effect) # import" gpuimagevignettefilter. H "// shadow, forming a black circular edge, highlighting the effect of the intermediate image # import" gpuimageswirlfilter. H "// vortex, forming a curly image in the middle # import" gpuimagebulgedistortionfilter. H "// raised distortion, fisheye effect # import" gpuimagepinchdistortionfilter. H "// shrink distortion, concave mirror # import" gpuimagestretchdistortionfilter. H "// stretch distortion, ha # import" gpuimageglassspherefilter. H "// crystal ball effect # import" gpuimagesphererefractionfilter. H "// spherical refraction, image inverted # import" gpuimageposterizefilter. H "// color separation to form a noise effect # import" gpuimagecgacolorspacefilter. H "// CGA color filter to form a black, light blue, and purple image # import" gpuimageperlinnoisefilter. H "// Berlin noise, lace noise # import" gpuimage3x3convolutionfilter. H "// 3x3 convolution, highlight large color blocks to black, highlight edges, lines, etc. # import" gpuimageembossfilter. H "// embossed effect, with a bit of 3D feeling # import" gpuimagepolkadotfilter. H "// pixel dot pattern # import" gpuimagehalftonefilter. H "// dot-dye: The image is black and white, and the approximate image of the source image is composed of black spots # pragma mark-mixed mode blend # import" gpuimagemultiplyblendfilter. H "// usually used to create shadows and deep effects # import" gpuimagenormalblendfilter. H "// normal # import" gpuimagealphablendfilter. H "// transparent mixture, which is usually used for the transparency of foreground applications on the background # import" gpuimagedissolveblendfilter. H "// dissolve # import" gpuimageoverlayblendfilter. H "// stack, usually used to create a shadow effect # import" gpuimagedarkenblendfilter. H "// deepen the hybrid, usually used for overlapping type # import" gpuimagelightenblendfilter. H "// fade-down mixture, usually used for overlapping type # import" gpuimagesourceoverblendfilter. H "// source mix # import" gpuimagecolorburnblendfilter. H "// mixed color # import" gpuimagecolordodgeblendfilter. H "// mixed color and light # import" gpuimagescreenblendfilter. H "// screen package, usually used to create highlights and lens glare # import" gpuimageexclusionblendfilter. H "// exclude hybrid # import" gpuimagedifferenceblendfilter. H "// differential mixing, usually used to create more variable colors # import" gpuimagesubtractblendfilter. H "// mixed difference value, which is usually used to create an animated dimmed blur effect between two images # import" gpuimagehardlightblendfilter. H "// glare mixture, which is usually used to create the shadow effect # import" gpuimagesoftlightblendfilter. H "// soft-light hybrid # import" gpuimagechromakeyblendfilter. H "// Color Key mixing # import" gpuimagemaskfilter. H "// Mask Mix # import" gpuimagehazefilter. H "// obscure and dark # import" gpuimageluminancethresholdfilter. H "// brightness threshold # import" gpuimageadaptivethresholdfilter. H "// Adaptive Threshold # import" gpuimageaddblendfilter. H "// It is usually used to create an animated highlight blur effect between two images # import" gpuimagedivideblendfilter. H "// It is usually used to create an animated dimmed blur effect between two images # pragma mark-Unclear # import" gpuimagejfavoronifilter. H "# import" gpuimagevoroniconsumerfilter. h"