Edge: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(New page: ===Purpose=== Edge detection for images. ===Synopsis=== :y = edge(x,options) ===Description=== Edge detection in images. ====Inputs==== * '''x''' = image class 'dataset' or 'double'....)
 
imported>Scott
No edit summary
 
Line 14: Line 14:
* '''x''' = image class 'dataset' or 'double'.
* '''x''' = image class 'dataset' or 'double'.


====Optional Inputs====
====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
* '''algorithm''': [ {'Canny'} ] %Canny edge detection
* '''smoothing''': [ {'gaussian'} | 'none' | 'box' | 'triangular'] de-noising or smoothing algorithm to apply prior to edge detection (see SPATIAL_FILTER).
* '''smoothing''': [ {'gaussian'} | 'none' | 'box' | 'triangular'] de-noising or smoothing algorithm to apply prior to edge detection (see SPATIAL_FILTER).
Line 21: Line 29:
* '''upper_threshold''': [ 0.95 ], upper threshold.
* '''upper_threshold''': [ 0.95 ], upper threshold.
* '''lower_threshold''': [ 0.9  ], lower threshold.
* '''lower_threshold''': [ 0.9  ], lower threshold.
====Outputs====
* '''y''' = MxNxP image class 'logical'.
::Pixels == true are on an edge.
::Pixles == flase are not on an edge.


===See Also===
===See Also===


[[savgol2d]], [[spatial_filter]]
[[savgol2d]], [[spatial_filter]]

Latest revision as of 15:18, 29 September 2009

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