Welcome to our Support Center

Edge Detection

Description

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

 

Input parameters

 

Image Src : class, type accepted U8 and I16.
Image Mask : class,
type accepted U8 and I16.

Edge Detection Parameters : cluster,

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.
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

 

Output parameters

 

Image Dst : class

Example

All these exemples 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 TIGR library to run it).

Table of Contents