SegmentTool: An Interactive GUI for Segmenting Images

Interactively find the best approach to segmenting (masking) your image
Updated 1 Sep 2016

View License

SegmentTool launches a UI-driven tool for trying different approaches to masking your image.
IMPORTANT: This version is being maintained only to support usage in R14a and earlier. For R14b+, please use this version instead:

Try different edge detection algorithms, modifying all possible parameters; implement global or local thresholds; detect regional or extended minima or maxima; find lines or circles. See the results of different approaches and inputs immediately.

Import new images from file or workspace; export segmentation masks; generate reproduction code; visualize segmentation on your original image; change colorspace representaions; lots more!

edge; threshold; Hough line/circle; Regional/Extended Min/Max, Color-Based.

A tab to manage manual segmentation approaches!

Suggestion: Use SegmentTool in conjunction with MorphTool to increase your image processing productivity!

See also: MorphTool

Cite As

Brett Shoelson (2024). SegmentTool: An Interactive GUI for Segmenting Images (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

Provides a missing function that enables loading of new data from file or workspace.
Adding a usage note for segmentImage (R14b+).

Provides a missing subfunction, better image input, better default tabPanel and expandAxes behavior.

Improved expandAxes capabilities, better default tabPanel behavior, better import of images...lots of little stuff.

Better support of SegmentTool as an App, and incorporation of the improved ExpandAxes (which now allows right-click exporting of images!).

Missing function for loading images provided. (Important if you want to load from the file menu!)

Included Color-Based segmentation tab.