Class VideoStabilizationSettings
- Namespace
- VisioForge.Core.Types.X.OpenCV
- Assembly
- VisioForge.Core.dll
Settings for the video stabilization (deshake) block.
Controls the OpenCV vfdeshake element that removes camera shake in real time by
estimating global inter-frame motion, smoothing the camera trajectory and warping each
frame back onto the smoothed path.
public class VideoStabilizationSettingsInheritance
Inherited Members
Properties
CropRatio
Gets or sets the fraction of the frame kept visible. The frame is zoomed by 1/CropRatio around its centre so the borders exposed by compensation stay hidden. A value of 1.0 disables the zoom. Clamped to the range 0.5 to 1.0 (the range enforced by the native element).
public double CropRatio { get; set; }Property Value
Enabled
Gets or sets a value indicating whether stabilization is active.
When false frames pass through untouched (no processing overhead).
public bool Enabled { get; set; }Property Value
MaxAngle
Gets or sets the maximum per-frame rotation correction in degrees (safety limiter). Clamped to the range 0 to 90 (the range enforced by the native element).
public double MaxAngle { get; set; }Property Value
MaxShift
Gets or sets the maximum per-frame translation correction in pixels (safety limiter). Negative values are clamped to 0.
public int MaxShift { get; set; }Property Value
SmoothingRadius
Gets or sets the number of past frames averaged when smoothing the camera trajectory. Larger values give steadier but slower-reacting stabilization. Clamped to the range 1 to 1000 (the range enforced by the native element).
public int SmoothingRadius { get; set; }