Magic Wand Implementation

Discussion in 'C++' started by Soumyadip Rakshit, Jan 21, 2006.

  1. 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.
    Soumyadip Rakshit, Jan 21, 2006
    #1
    1. Advertising

  2. Soumyadip Rakshit

    John Carson Guest

    "Soumyadip Rakshit" <> wrote in message
    news:
    > 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

    --
    John Carson
    John Carson, Jan 21, 2006
    #2
    1. Advertising

  3. Thanks .. I'll do that :)!

    "John Carson" <> wrote in message
    news:43d281b0$0$1043$...
    > "Soumyadip Rakshit" <> wrote in message
    > news:
    >> 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
    >
    > --
    > John Carson
    >
    Soumyadip Rakshit, Jan 23, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nilsson Mats

    Wrapper on magic line?

    Nilsson Mats, Dec 9, 2003, in forum: Perl
    Replies:
    0
    Views:
    602
    Nilsson Mats
    Dec 9, 2003
  2. Michael Tsang
    Replies:
    32
    Views:
    1,076
    Richard Bos
    Mar 1, 2010
  3. Michael Tsang
    Replies:
    54
    Views:
    1,159
    Phil Carmody
    Mar 30, 2010
  4. sanket
    Replies:
    7
    Views:
    981
    Tsung
    Nov 3, 2011
  5. Giles Bowkett
    Replies:
    9
    Views:
    394
    Giles Bowkett
    Dec 17, 2007
Loading...

Share This Page