AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Faster PixelSearch and a new ImageSearch command.

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Oct 19, 2004 9:14 pm    Post subject: Faster PixelSearch and a new ImageSearch command. Reply with quote

Aurelian Maga provided some code for a new ImageSearch command that searches the screen for the first occurrence a bitmap image. He also provided what might be a faster algorithm for PixelSearch.

These new methods could use some beta testing. What's especially needed is testing on at least one system whose video card offers a 24 bit color mode (most cards seem to have 16 and 32-bit, but not 24-bit).

A secondary need is general testing by anyone who heavily uses PixelSearch. This will help make sure that the replacement PixelSearch command is functionally identical (though hopefully faster) than the old one.

If either of these interests you and you have some time to try a test-version of AutoHotkey, please let me know.
Back to top
View user's profile Send private message Send e-mail
Gre



Joined: 12 Oct 2004
Posts: 77
Location: São Paulo ,Brazil

PostPosted: Thu Oct 21, 2004 5:35 am    Post subject: Reply with quote

I am not using pixelsearch this much and my video card offers only 16 and 32 bit options,but
if running a script constantly doing a pixelsearch is good enough, I can test the new version.
Maybe, one Loop showing a splashimage and another script executing pixelsearch(and writing a log??)
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Oct 21, 2004 7:24 am    Post subject: Reply with quote

Well, no 24 bit mode. Will check if one of my other boxes offers that option. It would be helpfull if you could create a test pattern/scenario so it will be easier to identify issues should they occur.

Cool
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Oct 21, 2004 12:49 pm    Post subject: Reply with quote

Thanks. I'm also hoping to get some testing done in games that use varying resolutions, DirectX vs. OpenGL, etc.

I'll let you know when the test version is ready.

Edit: The ImageSearch command has finally been added.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group