Skip to main content
gamedev.net
๐Ÿ”’ Locked

Masking algorithm

Started by TWN Nov 9, 2004 at 2:15 AM 1 replies 350+ views
Original Post
TWN
TWN
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.
/TWN---I can't think of any "smart" remark right now! stay tuned!
doynax
doynax
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.
joanusdmentia
joanusdmentia
[google] for "freeman chain" and "image recognition". This might help you out.
"Voilร ! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The nly verdict is vengeance; a vendett o

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.