Page 1 of 1

Image Processing in ARM

Posted: Fri Jul 19, 2013 9:30 pm
by sadegh_k91
Hello everybody
Could you please F1 Me??!
I want to process an image in Keil using ARM Cortex M-3 (LPC1768). I want to move a window(vector) over my image and compute sth using those pixels in the Window;
The Vector is : [-1 0 1] , Means that minus last and first pixels and put it in the middle.
The compiler doesn’t allow me to access pixels. Also my image is in vector form. I need Sth like this :

For (i=0,i<1240,i++){
Pic(i)=image(i+1)-image(i-10);
}

Before performing such an action also I want to zero pad my image for margins.
But vector Analysis in Keil doesn’t allow me to do such an easy process.
So what( the h… ) should I do ? Please Help me?

Re: Image Processing in ARM

Posted: Fri Jul 19, 2013 10:40 pm
by stevech
implement the C or C++ code on a PC. Get the algorithm correct. Then optimize the coding. Avoid floating point.

Then see if that code is appropriate for a small micro versus, say, a small Linux board or some such.