在哪里可以找到 gimp 代码库中执行过滤器的代码?

Where to find code performing filter in gimp codebase?

我试图找到执行 https://docs.gimp.org/2.10/de/gimp-filter-snn-mean.html 的代码 在 gimp 代码库中,但我只能找到看起来像 UI 代码的东西(不是实际的数学)。

我想看一下这段代码,我的目标是在 python 中重新创建这个过滤器,以实现我的同事艺术家在 GIMP 中设计的图像处理流水线。

过滤器等操作在单独的存储库中定义:

https://gitlab.gnome.org/GNOME/gegl

这里定义了这个特定的过滤器:

https://gitlab.gnome.org/GNOME/gegl/-/blob/master/operations/common/snn-mean.c