Masking algorithm
I'm making an application that can do a mask/selection of an image like in Photoshop. I need an algorithm that works like the "Magic Wand" in Photoshop. In general any information on masking/selection would be much appreciated.
Thanks.
How advanced does it need to be?
Something simple like a flood fill until the contrast (compared to the center or previous pixel) exceeds a threshold value might be sufficient.
Something simple like a flood fill until the contrast (compared to the center or previous pixel) exceeds a threshold value might be sufficient.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement