Colour Finding Algorithm

Discussion in 'Programming General' started by Michael3455, Nov 13, 2007.

Colour Finding Algorithm
  1. Unread #1 - Nov 13, 2007 at 5:08 AM
  2. Michael3455
    Joined:
    Sep 11, 2005
    Posts:
    134
    Referrals:
    0
    Sythe Gold:
    0

    Michael3455 Active Member

    Colour Finding Algorithm

    Does anyone have a nice, reasonably efficient, algorithm for finding a colour on the screen? I wouldn't mind trying my hand at some simple bots. Just for a giggle.
     
  3. Unread #2 - Nov 13, 2007 at 9:54 AM
  4. xenonium
    Referrals:
    0

    xenonium Guest

    Colour Finding Algorithm

  5. Unread #3 - Nov 13, 2007 at 6:19 PM
  6. Michael3455
    Joined:
    Sep 11, 2005
    Posts:
    134
    Referrals:
    0
    Sythe Gold:
    0

    Michael3455 Active Member

    Colour Finding Algorithm

    From what I saw on that sight, it doesn't offer a Java binding for it. However the 'fly' stuff looks pretty cool, but annoying and would make things run slower.

    I'll check around on google to see for some more stuff of course.
     
  7. Unread #4 - Nov 24, 2007 at 6:35 PM
  8. Varreon
    Joined:
    Nov 23, 2007
    Posts:
    59
    Referrals:
    0
    Sythe Gold:
    0

    Varreon Member

    Colour Finding Algorithm

    Its been a while since I've used java, but Im pretty sure the Robot class can get a pixel's color. Why dont you just iterate through where ever you're scanning, retrive pixel color, and act from there?
     
< What Sort Of Things Did You Make When You Started VB? | helpful INCP for SCA script >

Users viewing this thread
1 guest


 
 
Adblock breaks this site