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.
Your segmentation method is a lot faster than my initial naive approach. This ended up working well for both selection and group size classification routines.
It is really useful with good performance. Good job ;)
Nice script with good performance. Great for interactive region masking.
It is a lot faster than Phung's version! and it is indeed more user-friendly as well! Thank you so much!
i have not even seen it but i suppose it may be a good one.
Inspired by: Simulating Photoshop's magic wand tool
Inspired: Image Manipulation Toolbox