EdgeDetection Namespace Reference

Classes

class  EdgeDetection
 Edge Detection operator properties for Script Engine. Real-time edge detection filter with multiple algorithms and output modes. More...
 

Enumerations

enum  EdgeAlgorithm {
  Sobel = 0 , Prewitt = 1 , Laplacian = 2 , RobertsCross = 3 ,
  Scharr = 4
}
 
enum  EdgeOutputMode {
  EdgesOnly = 0 , EdgesColored = 1 , OverlayOnOriginal = 2 , OriginalWithEdgeAlpha = 3 ,
  EdgesAsAlpha = 4
}
 

Enumeration Type Documentation

◆ EdgeAlgorithm

Enumerator
Sobel 0 

Sobel edge detection algorithm.

Prewitt 1 

Prewitt edge detection algorithm.

Laplacian 2 

Laplacian edge detection algorithm.

RobertsCross 3 

Roberts Cross edge detection algorithm.

Scharr 4 

Scharr edge detection algorithm.

◆ EdgeOutputMode

Enumerator
EdgesOnly 0 

Edges only - white edges on black background.

EdgesColored 1 

Edges colored - colored edges on black background.

OverlayOnOriginal 2 

Overlay on original - edges overlaid on original image.

OriginalWithEdgeAlpha 3 

Original with edge strength as alpha.

EdgesAsAlpha 4 

Edges as alpha - original RGB with edges controlling alpha.