Read pixels from a loaded image

I have an image and would like to read the color of a pixel from it. How can I do this?

I read the sprite like this, I can also put it in a layer:

CCSprite* pSprite = CCSprite::create(m_filename);