OpenCV - How to downsample and upsample a cuFloatComplex image present in device memory -


i have downsample image , filtering operations on , upsample image original size, these images present in cuda device memory. planned moving images opencv gpumat , using resize function doesn't working, wanted know if me resizing images of type 'cufloatcomplex'.

pasting snippet of attempt below:

/* inputs dg = image of datatype cufloatcomplex m = rows. n =columns. d_input= expected output. */  cuda::gpumat d_input(m,n, cv_64fc2, dg);  cuda::gpumat components[2];  cuda::split(d_input,components);  cuda::gpumat real = components[0], imag = components[1]; 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -