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;
请问有没有对这个数据格式进行说明的文档?
谢谢!
alex zhou4:
有好心的DSP专家回复一下我的问题,谢谢!
alex zhou4:
回复 alex zhou4:
这个是国外的ti员工的回复:
https://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/615351?tisearch=e2e-sitesearch&keymatch=VLIB_trackFeaturesLucasKanade_7x7