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.

VLIB_HOG_cell_f32()函数输出

Hi

我刚下载安装了vlib_c66x_3_0_0_7版本的VLib库,找到了对应的头文件,可以调用并输出结果,但是对结果的意义有几分不确定。

到vili安装路径下\packages\ti\vlib\src查看一下源码,在VLIB_HOG_cell_f32_d.c文件中,

cellSize = 3;
blockSize = 3;
bins = 9;
width = 128;
height = 128;

其中

/* cellSize
* 2 - 4 pixels per cell
* 3 - 8 pixels per cell

*/

/* blockSize
* This represents the no of cells that form a block
* 1 - 1 cell per block
* 2 - 2x2 adjacent cells per block
* 3 - 3x3 adjacent cells per block

*/

参考文件,VLIB_HOG_cell_f32()输出结果是60 * 80 * bins * blockSize,请问结果为何是这个维度?

计算结果是单个Block的Hog值,还是整幅图像的Hog值?

cell大小是8个像素点,那cell是2*4或4*2吗?

Block移动的步长是多少?

谢谢!