有没有办法找到GPUImageFilter对应的CIFilter?

Is there any way to find GPUImageFilter correspond CIFilter?

我使用 CIFilters 编写了我的 iOS 图像处理应用程序。
现在我要将滤镜替换为 GPUImageFilters。
但是我不知道如何从以前的CIFilters中找到对应的GPUImageFilters?
有什么方法可以找到与 CIFilters 完全相同或相似的 GPUImageFilters?

部分CIFilter名称如下

首先,您可以查看 the names of the filters contained within GPUImage:

  • CISepiaTone -> GPUImageSepiaFilter
  • CISharpenLuminance -> GPUImageSharpenFilter
  • CIPixellate -> GPUImagePixellateFilter
  • CIGaussianBlur -> GPUImageGaussianBlurFilter

许多滤镜都是根据 Core Image 提供的图案设计的。并不总是一对一的映射,并且一些过滤器存在于一个框架中而在另一个框架中缺失。

GPUImage 允许您通过组合其他滤镜或编写自己的片段着色器来创建自定义滤镜,因此对于其余部分,您可以构建自己的滤镜来替换 Core Image 中的滤镜。