Table of Contents

Class EdgeVideoEffect

Namespace
VisioForge.Core.Types.X.VideoEffects
Assembly
VisioForge.Core.dll

Represents an edge detection effect that highlights boundaries and contours in video.

public class EdgeVideoEffect : BaseVideoEffect, IBaseVideoEffect

Inheritance

Implements

Inherited Members

Remarks

SDK Availability: VideoCaptureCoreX, MediaPlayerCoreX, VideoEditCoreX, Media Blocks SDK

Platform Support: Windows, Linux, macOS, Android, iOS

The edge detection effect applies a Sobel edge detection algorithm that identifies and highlights areas of rapid intensity change in the image. This creates a sketch-like or outline effect where edges appear bright against a dark background.

Key Features:

  • Sobel Algorithm: Standard computer vision edge detection using gradient analysis
  • Automatic Threshold: Detects edges based on local intensity gradients
  • Zero Configuration: Simple to use with no parameters to tune
  • Real-Time Capable: Efficient implementation suitable for live video

Common Use Cases:

  • Artistic sketch or cartoon-style video effects
  • Computer vision preprocessing for object detection
  • Motion graphics and creative video treatments
  • Highlighting structural elements in video
  • Creating outline/wireframe effects

For Classic SDK, see GPUVideoEffectContour (Windows only, GPU-accelerated). For other artistic effects, see VisioForge.Core.Types.X.VideoEffects.AgingVideoEffect, VisioForge.Core.Types.X.VideoEffects.ColorEffectsVideoEffect.

Performance Note: Edge detection involves gradient calculations which are moderately CPU-intensive. Performance is adequate for real-time processing on most devices including mobile. For GPU acceleration on Windows, use the Classic SDK's GPUVideoEffectContour.

Constructors

EdgeVideoEffect(string)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.EdgeVideoEffect class.

public EdgeVideoEffect(string name = "edge")

Parameters

name string

The name.

Fields

DefaultName

The default name.

public static string DefaultName

Field Value

string