Edge

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Purpose

Edge detection for images.

Synopsis

y = edge(x,options)

Description

Edge detection in images.

Inputs

  • x = image class 'dataset' or 'double'.

Outputs

  • y = MxNxP image class 'logical'.
Pixels == true are on an edge.
Pixles == flase are not on an edge.

Options

options = a structure array with the following fields:

  • algorithm: [ {'Canny'} ] %Canny edge detection
  • smoothing: [ {'gaussian'} | 'none' | 'box' | 'triangular'] de-noising or smoothing algorithm to apply prior to edge detection (see SPATIAL_FILTER).
  • smoothwin: [ 4 ], input (win) to SPATIAL_FILTER.
  • hysteresis_thresholding: [{'yes'} | 'no' ] use hysteresis thresholding?
  • upper_threshold: [ 0.95 ], upper threshold.
  • lower_threshold: [ 0.9 ], lower threshold.

See Also

savgol2d, spatial_filter