I am converting the image from dwImageCuda to gpumat successfully, but I need to convert it back to dwImageCuda. I cant find the right method to perform the conversion.
It looks like you meet a similar issue with this topic:
We will write a sample for this use case when we have some bandwidth.
You can try it first with the information shared it that topic.
Did you get results by following the what @AastaLLL posted?