Edge Detection Algorithm Function (variable threshold)

Return the edge detection of an image (variable threshold)

You are now following this Submission

edgeMatrix = edgeDet ( imageMatrix, threshold )
Input:
- imageMatrix: The matrix of the image.
Matrix can have only 1 or 3 pages (R x C x 1 or R x C x 3)
- threshold: Threshold value [optional]
Set 300 by default.
Output:
- edgeMatrix: The matrix of edge image. It is a binary matrix.
If the item is equal to 1 there is an edge.
Function returns -1 if there is some error.

Cite As

Alberto Murenu (2026). Edge Detection Algorithm Function (variable threshold) (https://www.mathworks.com/matlabcentral/fileexchange/55272-edge-detection-algorithm-function-variable-threshold), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0