New to opencv's advaced stuff....can someone give me a simple example of how to use cvAlloc?
I looked on google and there were no real examples of how to use it simply...for reference im good enough at opencv to understand everything thats going on here http://dasl.mem.drexel.edu/~noahKuntz/openCVTut8.html . for example if Im using a bunch of cvCreateImages in a program and using them to make masks like in the afformentioned link which eats alot of ram, where in that program can i stick a cvAlloc to make the program manage ram better and where afterwards do i put the cvFree....you dont have to do the whole thing for me just show me one place i could put a cvAlloc to manage the memory in that program better..or give me another example to help me understand how to use it....and pls pls dont say switch to c++ =)....i do embedded.
Its fun to see that you actually answer that you do embedded and therefore do not use C++ :) Afaik there are tons of embedded platforms who simple support the use of C++ code :)