This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

converting image file to 2 d array or vice versa

I am doing my final year project in moving object detection. I want to convert image into  2D array for further processing. Someone suggested me that to use image as header file in .h format. But I don't know how to do that. I am implementing this project on TMS320c6713, since in my college we have only that DSP kit.Can anyone suggest me how do I solve my problem?