analyze .jpeg and send to Motors help!

Hello,

I'm looking to start using other types of data to control my motor projects with the arduino.
I've been looking at: http://arduino.cc/en/Tutorial/PhysicalPixel as a starting point. I'm trying to figure out how I would do something like this, except have the arduino analyze color and send that as a data set to trigger patterns in the motors. For example having a certain shade trigger a number which would then be sent via serial to an arduino where it would select a pattern. I was either going to use processing or max/msp for this.

I hope that makes sense.

Please let me know if you have any thoughts

Thanks-

my motor projects

What do they do?

I hope that makes sense.

Nope. None at all.

Pete

I'm working with motors which are striking strings for a mechanical music project. I'm looking to use images to trigger patterns in the motors (turn them on and off, the mechanical part I have worked out) and have a program like max or processing analyze the data by looking at a location in the image (a region randomly selected) and trigger the motor patterns to occur. I'm thinking of using either max msp or processing.