image thumbnail


version (2.05 KB) by Yoram Tal
Simulation of Photoshop's magic wand tool.


Updated 14 Oct 2004

No License

A function which simulates Photoshop's magic wand tool. It allows selecting of connected groups of pixels whose colors are within a predefined tolerance of some reference pixels.

Both image and reference pixels may be interactively obtained. The current version is based on Phung's magicwand, but it is much faster and interactive.

Cite As

Yoram Tal (2022). magicwand2 (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Simulating Photoshop's magic wand tool

Inspired: Image Manipulation Toolbox

Community Treasure Hunt

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

Start Hunting!