Hardware Platform: DRIVE AGX Xavier™ Developer Kit
Software Version: DRIVE Software 10
Host Machine Version: native Ubuntu 18.04
SDK Manager Version: 1.3.1.7110
dwStereo_getDisparity() function says it returns disparity values in 16bit, but when I print the prop.format of the dwImageCUDA as shown below, it prints 1000 which is the enum for [DW_IMAGE_FORMAT_R_UINT8] and not [DW_IMAGE_FORMAT_R_UINT16]
below snippet is from sample_stereo_disparity code:
const dwImageCUDA *disparity, *confidence;
CHECK_DW_ERROR(dwStereo_getDisparity(&disparity, static_cast(side), m_stereoAlgorithm));
std::cout<<(int)disparity->prop.format<<“\n”;
Can you please let me know if something is setup wrong or what is the issue?
Thanks.