Maybe... You'd have to check every pixel for it's color, and no matter how hard you try, that'll be very consumptive in AI...
You'd have to analyze the color of each pixel based upon it's location... Use the Canvas.GetBackgroundPixelColor, and pass it the x,y of each tick, but expect the deal to be VERY slow...