SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By sadegh_k91
#161709
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?
By stevech
#161710
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.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]