Ask Your Question

Quan Tran Minh's profile - activity

2020-10-22 00:48:10 -0600 received badge  Popular Question (source)
2013-07-01 05:56:20 -0600 received badge  Student (source)
2012-10-30 07:34:17 -0600 received badge  Supporter (source)
2012-10-30 07:34:13 -0600 received badge  Scholar (source)
2012-10-25 09:14:31 -0600 commented answer GpuMat to device data type conversion

thanks a lot ^^ I gotta try :)

2012-10-25 06:49:46 -0600 asked a question GpuMat to device data type conversion

Hi all,

I wonder to know that is there a way to convert GpuMat to CUDA data type and vice versa? Say, I have GpuMat(512, 512, CV_32FC2) and I want to convert it to float2* which has 512*512 elements. The reason is I want to write my own kernel outside cv::gpu modules. It seems that the smart pointer could work in this case.

Best regards,