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.

Bug in VLIB_xyGradients_Magnitude_Orientations

Hi, 

I'm using vlib_c66x_3_1_0_9.

I think there is a bug in VLIB_xyGradients_Magnitude_Orientations like the previously fixed VLIB_integralImage8, the function can't handle image with more than 2^16 pixels. The bug only resides in the optimized version, *_cn version is clean.

Here are some test images, 

1) magnitude output from optimized version 

2) magnitude output from natural C version

The first output gets cut at some row. The image size is 384x288, from the row that the problem start to rise, it's about 2^16 pixels. The same problem exists in the output of orientation.

And same problem spotted in older version like vlib 3.0.0.8.

Can anyone confirm this problem? Thanks.

Regards,

Li