2014-07-08 03:24:37 -0600 | received badge | ● Scholar (source) |
2014-07-08 03:24:33 -0600 | commented answer | Custom Kernel with GpuMat No Effect Nevermind I was not stepping correctly when I switched from unsigned chars to floats. Thanks for the tip that GpuMat src is a char image |
2014-07-08 03:23:54 -0600 | received badge | ● Supporter (source) |
2014-07-07 04:27:10 -0600 | commented answer | Custom Kernel with GpuMat No Effect Hi thanks for the response. I changed the src pointer to a char pointer but it still does not work. I still could not get the dstptr values to be zero. I tried by both defining the GpuMat dst as a CV_8UC1 type and using unsigned char* and also as a CV_32FC1 using float* but neither type had an impact. This seems pretty basic so am I just missing something really obvious? |
2014-07-06 05:19:02 -0600 | received badge | ● Student (source) |
2014-07-03 03:48:27 -0600 | asked a question | Custom Kernel with GpuMat No Effect Hi so I'm a beginner trying to write a pretty simple kernel. I just want to take the arc cosine of the pixels of an image and then return those. I'm using GpuMat objects but I cannot get the kernel to do anything. } } } } } ~ Even when I've replaced the acos logic with something simple (for example all 0's) I get as output the input image. I'm sure I'm missing something obvious, but any help would be greatly appreciated. Thanks in advance! |