Machine camera + microcontroller question

Hello, I’m looking to setup a computer vision camera and pair it with a microcontroller.

I need a very fast frame rate, about 50 fps for the CCD and a microcontroller that can process a frame just in time for the next consecutive frame. The processing would involve, firstly getting the frame from the camera into the microcontroller memory and then analyzing the RGB data from camera and spitting out a number, and then freeing up memory space for the next image.

My question is - is there a CCD in the robotshop thats fast enough for this frame rate? And is there a microcontroller that can handle that same speed and has enough standard memory on it (or do i need a shield w/ additional memory?)

Thank you,