This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 streamline displays the most heavy function as cvHuMoments

After profiling my x3399 board(arm cores) using DS-5 streamline I realized that the most heavy function in my system is cvGetHuMoments.

I want to optimize it but I cant understand which function in my code is using it, when I`m trying to select it in my code its opens the "libopencv_imgproc3.so.3.3.1" and it says that no source available even though I have added the ELF image of "libopencv_imgproc3.so.3.3.1".

1. So firstly I want to know if there is a better way to know which function in my code use the cvGetHuMoments?

2. I don`t know if it is related but when I commented a cvtcolor function in my code the usage of cvGetHuMoments disappeared, maybe the profiler shows that this is the most heavy function by mistake?

3. Is it ok that my cmake file is compiled using release mode? is it effect the DS-5 streamline?

4. Maybe I can optimize it using OpenCL?

Thanks