Replaced old Difference of Gaussians, Laplace and Sobel filters with new GEGL operations
This commit is contained in:
@ -85,7 +85,25 @@ static const GimpStringActionEntry filters_actions[] =
|
|||||||
NC_("filters-action", "Lens Distortion..."), NULL,
|
NC_("filters-action", "Lens Distortion..."), NULL,
|
||||||
NC_("filters-action", "Corrects lens distortion"),
|
NC_("filters-action", "Corrects lens distortion"),
|
||||||
"gegl:lens-distortion",
|
"gegl:lens-distortion",
|
||||||
NULL /* FIXME GIMP_HELP_FILTER_RIPPLE */ },
|
NULL /* FIXME GIMP_HELP_FILTER_LENS_DISTORTION */ },
|
||||||
|
|
||||||
|
{ "filters-difference-of-gaussians", GIMP_STOCK_GEGL,
|
||||||
|
NC_("filters-action", "Difference of Gaussians..."), NULL,
|
||||||
|
NC_("filters-action", "Edge detection with control of edge thickness"),
|
||||||
|
"gegl:difference-of-gaussians",
|
||||||
|
NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
|
||||||
|
|
||||||
|
{ "filters-laplace", GIMP_STOCK_GEGL,
|
||||||
|
NC_("filters-action", "_Laplace"), NULL,
|
||||||
|
NC_("filters-action", "High-resolution edge detection"),
|
||||||
|
"gegl:edge-laplace",
|
||||||
|
NULL /* FIXME GIMP_HELP_FILTER_LAPLACE */ },
|
||||||
|
|
||||||
|
{ "filters-sobel", GIMP_STOCK_GEGL,
|
||||||
|
NC_("filters-action", "_Sobel..."), NULL,
|
||||||
|
NC_("filters-action", "Specialized direction-dependent edge-detection"),
|
||||||
|
"gegl:edge-sobel",
|
||||||
|
NULL /* FIXME GIMP_HELP_FILTER_SOBEL */ },
|
||||||
|
|
||||||
{ "filters-semi-flatten", GIMP_STOCK_GEGL,
|
{ "filters-semi-flatten", GIMP_STOCK_GEGL,
|
||||||
NC_("filters-action", "_Semi-Flatten..."), NULL,
|
NC_("filters-action", "_Semi-Flatten..."), NULL,
|
||||||
|
@ -116,7 +116,10 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
|
|||||||
"gegl:colorize", /* in gimp */
|
"gegl:colorize", /* in gimp */
|
||||||
"gegl:contrast-curve",
|
"gegl:contrast-curve",
|
||||||
"gegl:convert-format",
|
"gegl:convert-format",
|
||||||
|
"gegl:difference-of-gaussians", /* in gimp */
|
||||||
"gegl:display",
|
"gegl:display",
|
||||||
|
"gegl:edge-laplace", /* in gimp */
|
||||||
|
"gegl:edge-sobel", /* in gimp */
|
||||||
"gegl:fill-path",
|
"gegl:fill-path",
|
||||||
"gegl:gaussian-blur", /* in gimp */
|
"gegl:gaussian-blur", /* in gimp */
|
||||||
"gegl:grey", /* in gimp */
|
"gegl:grey", /* in gimp */
|
||||||
|
@ -620,7 +620,11 @@
|
|||||||
<placeholder name="Glass" />
|
<placeholder name="Glass" />
|
||||||
</menu>
|
</menu>
|
||||||
<menu action="plug-in-noise-menu" name="Noise" />
|
<menu action="plug-in-noise-menu" name="Noise" />
|
||||||
<menu action="plug-in-edge-detect-menu" name="Edge-Detect" />
|
<menu action="plug-in-edge-detect-menu" name="Edge-Detect">
|
||||||
|
<menuitem action="filters-difference-of-gaussians" />
|
||||||
|
<menuitem action="filters-laplace" />
|
||||||
|
<menuitem action="filters-sobel" />
|
||||||
|
</menu>
|
||||||
<menu action="plug-in-generic-menu" name="Generic" />
|
<menu action="plug-in-generic-menu" name="Generic" />
|
||||||
<menu action="plug-in-combine-menu" name="Combine" />
|
<menu action="plug-in-combine-menu" name="Combine" />
|
||||||
<menu action="plug-in-artistic-menu" name="Artistic" />
|
<menu action="plug-in-artistic-menu" name="Artistic" />
|
||||||
|
@ -144,8 +144,6 @@ query (void)
|
|||||||
GIMP_PLUGIN,
|
GIMP_PLUGIN,
|
||||||
G_N_ELEMENTS (args), 0,
|
G_N_ELEMENTS (args), 0,
|
||||||
args, NULL);
|
args, NULL);
|
||||||
|
|
||||||
gimp_plugin_menu_register (PLUG_IN_PROC, "<Image>/Filters/Edge-Detect");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user