Hi,
In order to copy an image from dwImageCPU to cv::Mat, I need to use RGB_UINT8_PLANAR format.
I have a dwCUDA image in RGB_UINT8 format.
I tried to first convert the above image to RGB_UINT8_PLANAR format using dwImage_copyConvert API
but failed and got this error below.
Driveworks exception thrown: DW_NOT_IMPLEMENTED: FormatConverter (cuda): format pair not implemented yet
terminate called after throwing an instance of ‘std::runtime_error’
what(): Cannot format convert: DW_NOT_IMPLEMENTED
- Is there a way to perform the conversion from RGB_UINT8 to RGB_UNIT8_PLANAR in type dwimageCPU?
- Is it directly possible to copy the data from RGB_UINT8 format to cv::Mat?