Results 1 to 11 of 11

Thread: Bitmap Analyzer

  1. #1
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default Bitmap Analyzer

    Well I was bored, angry at my computer and after way too much lag of scar, I decided to port this thing by Boreas to Delphi. You enter a few bitmaps, and this outputs colors/tolerances to use with them to ALWAYS find the MS object, from any angle and from any world.

    GUI is pretty basic and straightforward, you can paste from clipboard or open from file, then press do it
    NOTE: You can't remove bitmaps once loaded, you have to restart the program.

    CREDITS
    Boreas for the original source
    Benland100 for telling how CTS 1 works
    Last edited by Markus; 01-30-2012 at 11:19 PM. Reason: Updated link
    I made a new script, check it out!.

  2. #2
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    ooooh.... Ahhhh.


    Cool.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  3. #3
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Good work, Markus.

    Any idea how much faster it is?
    Interested in C# and Electrical Engineering? This might interest you.

  4. #4
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Smartzkid View Post
    Good work, Markus.

    Any idea how much faster it is?
    Leme guess : 3 times or even faster?
    Verrekte Koekwous

  5. #5
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Leme guess : 3 times or even faster?
    Na, even better.
    Comp Specs: P4 2.1 GHZ 256MB ram.
    Two bitmaps
    Scar: around 5 minutes?
    Delphi: 2 seconds

    Mine is 150 times as fast
    I made a new script, check it out!.

  6. #6
    Join Date
    Mar 2007
    Posts
    674
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Just ran it...

    What does this mean?
    1648941 100
    Color : 1648941
    Tolerance : 100
    ??

  7. #7
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Yes. And if thats the lowest tolerance, then you probably want to try it again with different bitmaps (in a lot of situations, any tol over 50 would probably get too many false positives). Crop the bitmaps as small as possible around the target, and make all background pixels black(0) in paint (also any part of target you know is similar to surroundings, or is subject to change, or you just want to ignore).

  8. #8
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Oh, be aware that this version is actually CTS 0, not CTS 1. I forgot somehow to save the CTS 1 one
    I was testing it a minute ago, and I saw different results between mine and the scar one.
    ColorToleranceSpeed(0); in the scar one fixed it.
    I made a new script, check it out!.

  9. #9
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    so instead of making a huge laggy bmp i could use this and just use find color. Thx markus you are amazing

  10. #10
    Join Date
    Feb 2007
    Location
    Toronto, Ontario, Canada
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I ran it with three piccys of the shopkeeper, and it returned -1 and 3 tolerance. :/

  11. #11
    Join Date
    Oct 2007
    Posts
    678
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think i could use this, but im not enirly sure what it does, or how to use it...how do these colors help?

    edit:wait...so i should make it search for all the colors (in x1,y1,x2,y2) it gives me instead of searching for the same bitmap (in x1,y1,x2,y2) --because its faster?!?!?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Find Bitmap in Bitmap file
    By fORCE_wORKS in forum RS3 Outdated / Broken Scripts
    Replies: 8
    Last Post: 12-13-2007, 11:04 PM
  2. using Bitmap?
    By legendaryhero90 in forum OSR Help
    Replies: 14
    Last Post: 03-16-2007, 02:18 PM
  3. Bitmap
    By whales in forum OSR Help
    Replies: 4
    Last Post: 12-20-2006, 12:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •