digging deeper into the topic, what kind of solutions comes to your mind on how to simulate this idea? being able to detect color (even plain black/white) would be great in bulding a procedural generation system. this way the area is covered with two textures - one with the actul graphics and second black and white. so event X would take place only on Black or White part of the screen.
i dont think a pixel detector is needed - this can be build on grid with pretefined W/H.
like set grid 50/50 pix each box, and then "IF box is ALL BLACK then -> something.
being able to set the grid parameters would be cool. imagine i set the grid on 100/100pix per box. thats +/- 10 on x and 7 box on Y at 1024/768 resolution. thats just 70 boxes to check. that would take much less memory usage and would work even better as pixel sampler.
by being able to change the box w/h users could see for them self how high is the performence impact and adjuct the box parameters till it suits he's needs.
dang, that would be awesome.
oh and sorry for necroposting. i just think this is a great idea and my post/method/idea enhances it greatly