This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6416@600Mhz计算图片灰度均值和方差的速度



请教,6416用c在片内计算384*288分辨率的16bit图像的灰度均值耗时6ms左右,这种速度正常吗?

利用定时器触发次数计算的时间,计算灰度均值的代码为:for循环累加384*288次,完成后再除以384*288,获得均值。

感觉不会这么慢啊,不知是否有问题。图像处理中一个均值如果都这么慢,其他复杂的处理耗时无法满足实时图像处理的要求了。