[gegl] operations: Change ui slider values for unsharp mask and gaussian blur



commit 1a0e01e9dd3d7f689a75f9f456a2cbd942a46562
Author: Elle Stone <ellestone ninedegreesbelow com>
Date:   Thu Dec 5 13:54:06 2013 -0500

    operations: Change ui slider values for unsharp mask and gaussian blur

 operations/common/gaussian-blur.c       |    4 ++--
 operations/common/unsharp-mask.c        |    4 ++--
 operations/workshop/gaussian-blur-iir.c |   10 ++++++----
 operations/workshop/gblur-1d.c          |    2 +-
 4 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/operations/common/gaussian-blur.c b/operations/common/gaussian-blur.c
index 6ecc0b1..0a196b9 100644
--- a/operations/common/gaussian-blur.c
+++ b/operations/common/gaussian-blur.c
@@ -33,12 +33,12 @@ gegl_chant_register_enum (gegl_gaussian_blur_filter)
 gegl_chant_register_enum_end (GeglGaussianBlurFilter)
 
 gegl_chant_double_ui (std_dev_x, _("Size X"),
-                      0.0, 10000.0, 4.0, 0.0, 1000.0, 1.5,
+                      0.0, 1500.0, 1.5, 0.0, 100.0, 3.0,
                       _("Standard deviation for the horizontal axis "
                         "(multiply by ~2 to get radius)"))
 
 gegl_chant_double_ui (std_dev_y, _("Size Y"),
-                      0.0, 10000.0, 4.0, 0.0, 1000.0, 1.5,
+                      0.0, 1500.0, 1.5, 0.0, 100.0, 3.0,
                       _("Standard deviation for the vertical axi. "
                         "(multiply by ~2 to get radius)"))
 
diff --git a/operations/common/unsharp-mask.c b/operations/common/unsharp-mask.c
index c0a8475..d1d105d 100644
--- a/operations/common/unsharp-mask.c
+++ b/operations/common/unsharp-mask.c
@@ -22,11 +22,11 @@
 #ifdef GEGL_CHANT_PROPERTIES
 
 gegl_chant_double_ui (std_dev, _("Std. Dev."),
-                      0.0, 500.0, 1.0, 0.0, 200.0, 1.5,
+                      0.2, 300.0, 0.55, 0.2, 10.0, 3.0,
                       _("Standard deviation (spatial scale factor)"))
 
 gegl_chant_double_ui (scale, _("Scale"),
-                      0.0, 100.0, 1.0, 0.0, 100.0, 1.5,
+                      0.0, 300.0, 4.0, 0.0, 10.0, 3.0,
                       _("Scale, strength of effect"))
 
 #else
diff --git a/operations/workshop/gaussian-blur-iir.c b/operations/workshop/gaussian-blur-iir.c
index 57b86e6..52cf36e 100644
--- a/operations/workshop/gaussian-blur-iir.c
+++ b/operations/workshop/gaussian-blur-iir.c
@@ -23,10 +23,12 @@
 
 gegl_chant_enum      (abyss_policy, _("Abyss policy"), GeglAbyssPolicy,
                       gegl_abyss_policy, GEGL_ABYSS_CLAMP, _(""))
-gegl_chant_double_ui (std_dev_x, _("Horizontal Std. Dev."), 0.5, 1000.0, 4.0, 0.5, 1000.0,
-                      2, _("Standard deviation (spatial scale factor)"))
-gegl_chant_double_ui (std_dev_y, _("Vertical Std. Dev."), 0.5, 1000.0, 4.0, 0.5, 1000.0,
-                      2, _("Standard deviation (spatial scale factor)"))
+gegl_chant_double_ui (std_dev_x, _("Horizontal Std. Dev."),
+                      0.5, 1500.0, 1.5, 0.5, 100.0, 3.0,
+                      _("Standard deviation (spatial scale factor)"))
+gegl_chant_double_ui (std_dev_y, _("Vertical Std. Dev."),
+                      0.5, 1500.0, 1.5, 0.5, 100.0, 3.0,
+                      _("Standard deviation (spatial scale factor)"))
 
 #else
 
diff --git a/operations/workshop/gblur-1d.c b/operations/workshop/gblur-1d.c
index 7dabeaf..92db86f 100644
--- a/operations/workshop/gblur-1d.c
+++ b/operations/workshop/gblur-1d.c
@@ -42,7 +42,7 @@ gegl_chant_register_enum (gegl_gblur_1d_orientation)
 gegl_chant_register_enum_end (GeglGblur1dOrientation)
 
 gegl_chant_double_ui (std_dev, _("Size"),
-                      0.5, 1000.0, 4.0, 0.5, 1000.0, 2,
+                      0.5, 1500.0, 1.5, 0.5, 100.0, 3.0,
                       _("Standard deviation "
                         "(multiply by ~2 to get radius)"))
 gegl_chant_enum      (orientation, _("Orientation"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]