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_c674x_3_3_0_3的VLIB_trackFeaturesLucasKanade_7x7参数

Hi,

我在使用vlib_c674x_3_3_0_3中的VLIB_trackFeaturesLucasKanade_7x7函数遇到了问题。

关于VLIB_trackFeaturesLucasKanade_7x7的参数:

[in] x[] X feature coordinates in im1 (UQ12.4)
[in] y[] Y feature coordinates in im1 (UQ12.4)
[in,out] outx[] X feature coordinates in im2, user has to provide initial estimate of the location in current frame. In normal situation user can set this as same as previous frame location. (UQ12.4)
[in,out] outy[] Y feature coordinates in im2user has to provide initial estimate of the location in current frame. In normal situation user can set this as same as previous frame location. (UQ12.4)

输入输出特征点的坐标XY值为(UQ12.4) 格式,请问一般的数据格式(例如:unsigned short)和(UQ12.4)格式之间是怎么转换的?

以前在使用VLIB库中的VLIB_mixtureOfGaussiansS16函数,它的参数初始方差数据格式为(SQ12.3),将short类型的数据转为(SQ12.3)格式的转换方式:

num*(INT16_MAX / VLIB_MAX_12p4),其中INT16_MAX = 0x7fff;VLIB_MAX_12p4 = 4096;

请问有没有对这个数据格式进行说明的文档?

谢谢!