VideoEnhancementOptions<T>

Options & Configuration ยท AiDotNet.Video.Options

Configuration options for video enhancement models.

Inheritance: VideoModelOptions<T> โ†’ VideoEnhancementOptions<T>

For Beginners

These options control how your video enhancement model works. The most important options are:

  • ScaleFactor: How much to upscale the video (2x, 4x, etc.)
  • EnhancementType: What kind of enhancement to apply
  • UseTemporalConsistency: Whether to keep frames looking consistent over time

Example:

How It Works

Extends VideoModelOptions with enhancement-specific settings like scale factor, temporal smoothing, and loss function configuration.

Constructors

Constructor Summary
VideoEnhancementOptions()

Properties

Property Summary
VideoEnhancementType? EnhancementType { get; set; } Gets or sets the type of enhancement to perform.
bool? UseAttention { get; set; } Gets or sets whether to use attention mechanisms in residual blocks.
bool? UseBidirectional { get; set; } Gets or sets whether to use bidirectional propagation for temporal models.
bool? UseTemporalConsistency { get; set; } Gets or sets whether to enforce temporal consistency between frames.
double? AdversarialLossWeight { get; set; } Gets or sets the weight for adversarial (GAN) loss.
double? FlowLossWeight { get; set; } Gets or sets the weight for flow-warping loss.
double? L1LossWeight { get; set; } Gets or sets the weight for pixel-wise L1 loss.
double? PerceptualLossWeight { get; set; } Gets or sets the weight for perceptual loss (VGG-based).
double? TemporalLossWeight { get; set; } Gets or sets the weight for temporal consistency loss.
int? NumFeatureChannels { get; set; } Gets or sets the number of feature channels in the model.
int? NumResidualBlocks { get; set; } Gets or sets the number of residual blocks in the model.
int? RecurrentIterations { get; set; } Gets or sets the number of recurrent iterations for temporal models.
int? ScaleFactor { get; set; } Gets or sets the spatial scale factor for upscaling.
int? TemporalScaleFactor { get; set; } Gets or sets the temporal scale factor for frame rate increase.