Edge Detection

Description

Extracts the contours (detects edges) in gray-level values. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8 and I16.
Documentation illustration (illustration unavailable in the archive).
Image Mask : class,
type accepted U8 and I16.

Documentation illustration (illustration unavailable in the archive). Edge Detection Parameters : cluster,

Documentation illustration (illustration unavailable in the archive). Threshold Value : integer, minimum pixel value to appear in the resulting image. It is rare to use a value greater than 0 for this type of processing because the results from this processing are usually very dark and are not very dynamic.
Documentation illustration (illustration unavailable in the archive). Method : enum, specifies the type of edge-detection filter to use.

      • Differentiation : processing with a 2 × 2 matrix
      • Gradient : processing with a 2 × 2 matrix
      • Prewitt : processing with a 3 × 3 matrix
      • Roberts : processing with a 2 × 2 matrix
      • Sigma : processing with a 3 × 3 matrix
      • Sobel : processing with a 3 × 3 matrix

 

Documentation illustration (illustration unavailable in the archive).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).