[gegl] workshop: limit minimum neighbors for inpainting to 4, increase number of rings in feature detector
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] workshop: limit minimum neighbors for inpainting to 4, increase number of rings in feature detector
- Date: Sat, 29 Jun 2019 00:16:15 +0000 (UTC)
commit 1415a1f2a3da9c811f9898b2e1c90633b76320cb
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Jun 29 02:15:31 2019 +0200
workshop: limit minimum neighbors for inpainting to 4, increase number of rings in feature detector to 4
operations/workshop/inpaint.c | 2 +-
operations/workshop/pixel-duster.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/operations/workshop/inpaint.c b/operations/workshop/inpaint.c
index 496705c31..7c7866070 100644
--- a/operations/workshop/inpaint.c
+++ b/operations/workshop/inpaint.c
@@ -30,7 +30,7 @@ property_int (seek_distance, "seek radius", 30)
value_range (4, 512)
property_int (min_neigh, "min neigh", 2)
- value_range (1, 10)
+ value_range (1, 4)
property_int (min_iter, "min iter", 100)
value_range (1, 512)
diff --git a/operations/workshop/pixel-duster.h b/operations/workshop/pixel-duster.h
index 8a5b09c43..fc844c755 100644
--- a/operations/workshop/pixel-duster.h
+++ b/operations/workshop/pixel-duster.h
@@ -79,8 +79,8 @@ typedef struct
#define MAX_K 4
-#define RINGS 3 // increments works up to 7-8 with no adver
-#define RAYS 8 // good values for testing 6 8 10 12 16
+#define RINGS 4 // increments works up to 7-8 with no adver
+#define RAYS 12 // good values for testing 6 8 10 12 16
#define NEIGHBORHOOD (RINGS*RAYS+1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]