Thank you for your help, Rudde
It helps me a lot.
Now,I have a new problem of the memory management.
I'm trying to write a grayscale image matching algorithm SAD(Sum of Absolute Differences)
searched image template
SAD algorithm
S is the searched image ,T is the template image.
The algorithm need a loop to search the template in the searched image. The smallest D(i,j) is the best match. And my strategy is to split the searched image to many roi, then do SAD. To find the roi which is close to the template image.
There is my SAD_template.va.
It coulde work well if I do not add it with MotionDetect va of my camera.
My board is micrioEnable 5 VQ8-CXP6D.It just has 4RAM module. And my camare is 4CXP, it need 32 parallism and more buffer module.
My program was inefficient and consumed too much memory,even the Visual Applets could not map it.
This problem has been bothering me for a long time. I have no idea to solve it.
I really need your help.
Can help me analyze, and give me some ideas to solve