Segment images interactively, and generate MATLAB code
Updated 11 Nov 2020
Interactive UI for segmenting images. Explore different approaches, then export segmentation mask and reproduction code.
Supports all tunable parameters for EDGE detection, THRESHOLDING (including MULTITHRESH/IMQUANTIZE), HOUGH (line and circle detection), regional and extended minima and maxima, and COLOR thresholding.
PLEASE NOTE: From R2014b forward, this is intended as a REPLACEMENT for SegmentTool. This version will not work prior to R2014b, but SegmentTool will not work in R2014b.
Comments, suggestions appreciated!
Brett Shoelson (2023). Segment images interactively, and generate MATLAB code (https://www.mathworks.com/matlabcentral/fileexchange/48859-segment-images-interactively-and-generate-matlab-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Color Segmentation >
Inspired by: SegmentTool: An Interactive GUI for Segmenting Images
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Modified the usage of adaptive thresholding.
Fixed shared-workspace issues.
I think I have fixed issues introduced by workspace changes in R2019b. Please notify me if you have any problems. Thanks!