Covert fixed point integer to float point

Hi,

The nvxSemiGlobalMatchingNode() generates the disparity output in VX_DF_IMAGE_S16 which is in Q11.4(one sign bit, eleven integer bits and fourfractional bits) I want to convert this Q11.4 to Floating point representation.

Can I get any pointers on how do the same.

Regards,
njs

Hi,

We doesn’t have API to convert Q number format to float directly.

Here is Q format definition and conversion method:
[url]Q (number format) - Wikipedia

Thanks.