Convert dwImageCPU/dwImageCUDA format from RGB_UINT8 to RGB_UINT8_PLANAR

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

  1. Is there a way to perform the conversion from RGB_UINT8 to RGB_UNIT8_PLANAR in type dwimageCPU?
  2. Is it directly possible to copy the data from RGB_UINT8 format to cv::Mat?

Dear @a.a.menezes,
There is no API to convert RGB_UINT8 to RGB_UNIT8_PLANAR.
Please check leveraging from the discussion thread https://forums.developer.nvidia.com/t/convert-cv-mat-to-dwimagecpu/70750/6 for openCV → dwImageCPU buffer conversion.