Before I go further I would just like to say that I am looking for ideas at this point, not handouts.
I found a basic formula browsing the web for calculating the "brightness" of a pixel, and just figured basically I would process every pixel in the image and average the results from the formula, then set benchmarks for different levels of average "brightness".
Here is the formula:
brightness = 0.299 * R + 0.587 * G + 0.114 * B
Seems to be simple and of intelligent design, as the green pixel counts for much more then the red and blue pixels (green is the first color our eyes see I believe)..
Anyways to sum up, the question is this:
What way do you guys think would be the best way to process every pixel of an image using AutoHotkey?
I had the idea of displaying the intended image for inspection on a gui shown off the screen, then using pixelgetcolour to read every one, but I figured it would be slow, obsolete, etc. compared to ideas I will get here.
Any help is greatly appreciated.