Add brightness-deadband property to intervalometer to prevent oscillation
- Add new brightness-deadband property (default 10.0, range 0.0-50.0) - Implements deadband/tolerance zone around target brightness - When brightness is within ±deadband, no adjustments are made - Prevents oscillation at fast update rates (10-100ms) - Allows fast corrections when brightness significantly deviates - Enables fast ramp rates without flicker/oscillation - Updated README with detailed deadband documentation and usage examples - Solves exposure fluctuation issue at high frame rates with fast updates
This commit is contained in:
@@ -75,6 +75,7 @@ struct _GstIntervalometer
|
||||
gchar *camera_element_name; /* Name of upstream idsueyesrc element */
|
||||
guint update_interval; /* Update interval in milliseconds */
|
||||
gdouble brightness_smoothing; /* Brightness smoothing factor (0-1, 0=no smoothing) */
|
||||
gdouble brightness_deadband; /* Deadband zone to prevent oscillation (0=disabled) */
|
||||
|
||||
/* Internal state */
|
||||
GstElement *camera_src; /* Reference to upstream camera element */
|
||||
|
||||
Reference in New Issue
Block a user