[Bf-blender-cvs] [b4bda03] master: user lower threshold for Harris feature detector

Sebastian Koenig noreply at git.blender.org
Wed Jul 30 18:28:13 CEST 2014


Commit: b4bda0390d5bf644d390fabe1fb0c0a28a45643a
Author: Sebastian Koenig
Date:   Wed Jul 30 22:27:41 2014 +0600
Branches: master
https://developer.blender.org/rBb4bda0390d5bf644d390fabe1fb0c0a28a45643a

user lower threshold for Harris feature detector

===================================================================

M	source/blender/editors/space_clip/tracking_ops.c

===================================================================

diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index dfb4dfe..abbffcd 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -2996,7 +2996,7 @@ void CLIP_OT_detect_features(wmOperatorType *ot)
 	/* properties */
 	RNA_def_enum(ot->srna, "placement", placement_items, 0, "Placement", "Placement for detected features");
 	RNA_def_int(ot->srna, "margin", 16, 0, INT_MAX, "Margin", "Only features further than margin pixels from the image edges are considered", 0, 300);
-	RNA_def_float(ot->srna, "threshold", 1.0f, 0.0001f, FLT_MAX, "Threshold", "Threshold level to consider feature good enough for tracking", 0.0001f, FLT_MAX);
+	RNA_def_float(ot->srna, "threshold", 0.5f, 0.0001f, FLT_MAX, "Threshold", "Threshold level to consider feature good enough for tracking", 0.0001f, FLT_MAX);
 	RNA_def_int(ot->srna, "min_distance", 120, 0, INT_MAX, "Distance", "Minimal distance accepted between two features", 0, 300);
 }




More information about the Bf-blender-cvs mailing list