Skip to content

Repository files navigation

Edge Detection Comparison App

Open in MATLAB Online

Interactively compare edge detection methods side by side using App Designer.

Edge Detection Comparison App

About This Example

This example shows how to build an app to interactively detect edges in images using App Designer. Using the Edge Detection Comparison App, users can detect edges in the same image using two different edge detection methods and compare the results side by side. The app compares the results of edge detection methods supported by the edge function. The example also demonstrates how to build a reusable custom UI component that inherits from ComponentContainer to improve code reusability and maintainability.

Setup

Products

Requires MATLAB® R2026b or newer.

Also requires the following MathWorks products:

  • Image Processing Toolbox™

Getting Started

Open EdgeDetectionComparisonApp.m in App Designer or see the guided walkthrough on the documentation page.

Example Files

File Description
EdgeDetectionComparisonApp.m The App Designer app for comparing edge detection methods
EdgeDetectionComparisonApp.xml App component layout data
EdgeDetector.mlapp Custom UI component for edge detection

License

The license is available in the license.txt file in this GitHub repository.

Community Support

MATLAB Central

Copyright 2026 The MathWorks, Inc.

About

Interactively compare edge detection methods side by side using App Designer.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages