myspacee Posted February 5, 2009 Share Posted February 5, 2009 hello to all, find many function that pick color under mouse. If I want to find how much 'red' is, on given area, anyobody can help me ? m. Link to comment Share on other sites More sharing options...
BrettF Posted February 5, 2009 Share Posted February 5, 2009 MouseGetPos PixelGetColor (remember what it returns?) 0xRRGGBB Sure you can get the rest... Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
myspacee Posted February 5, 2009 Author Share Posted February 5, 2009 i'm so lazy i've an UDF in my mind... _check_color_in_area(left_UP_point, right_DOWN_point, color_to_check) code to write but think can works... thank you for motivation words, m. Link to comment Share on other sites More sharing options...
jvanegmond Posted February 5, 2009 Share Posted February 5, 2009 myspacee, I don't quite understand how you would use this or how this would be useful.. There are many alternatives, such as using a pixelchecksum or just checking the color of one pixel instead of an area. Also, how you want this to work is unclear. Can you give us some documentation on what the return values can be? github.com/jvanegmond Link to comment Share on other sites More sharing options...
myspacee Posted February 5, 2009 Author Share Posted February 5, 2009 Some time ago i made a tool that find differences between 2 imagesDifferences are given by a red color. (use Imagemagik)Now need numeric value to understand how much images are different (with numeric value), so I think to count red pixel.m. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now