Magic Wand Implementation

S

Soumyadip Rakshit

Hi there,

I am trying to implement a function similar to the 'magic wand' tool in
Photoshop to find the boundary of similar-graylevel area starting from a
point within it. So basically I want to start from a pixel in the region
which has a very similar gray level not varying by more than 5 gray values
and find its ends in all directions.

Could you please tell me where I can find such an implementation or an
efficient algorithm to do the same.

Thanks a ton,
Soumyadip.
 
J

John Carson

Soumyadip Rakshit said:
Hi there,

I am trying to implement a function similar to the 'magic wand' tool
in Photoshop to find the boundary of similar-graylevel area starting
from a point within it. So basically I want to start from a pixel in
the region which has a very similar gray level not varying by more
than 5 gray values and find its ends in all directions.

Could you please tell me where I can find such an implementation or an
efficient algorithm to do the same.

Thanks a ton,
Soumyadip.


Try asking in comp.graphics.algorithms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top