Interactively compare image filtering methods side by side using App Designer.
This example shows how to build an app to interactively filter images using App Designer. Using the Image Filter Comparison App, users can filter the same image using two different image filtering methods and compare the results side by side. The app can compare the results of imfilter, medfilt2, imgaussfilt, bwareafilt, ordfilt2, stdfilt, imbilatfilt, imboxfilt, and entropyfilt. The example also demonstrates how to build a reusable custom UI component that inherits from ComponentContainer to improve code reusability and maintainability.
Requires MATLAB® R2026b or newer.
Also requires the following MathWorks products:
- Image Processing Toolbox™
Open ImageFilterComparisonApp.m in App Designer or see the guided walkthrough on the documentation page.
| File | Description |
|---|---|
ImageFilterComparisonApp.m |
The App Designer app for comparing image filters |
ImageFilterComparisonApp.xml |
App component layout data |
ImageFilter.mlapp |
Custom UI component for image filtering |
The license is available in the license.txt file in this GitHub repository.
Copyright 2026 The MathWorks, Inc.
