Esempio n. 1
0
// device; 32-bit; 4-channel
void filterGauss(const iu::ImageGpu_32f_C4* src, iu::ImageGpu_32f_C4* dst, const IuRect& roi, float sigma, int kernel_size)
{
  IuStatus status = cuFilterGauss(src, dst, roi, sigma, kernel_size);
  if (status != IU_SUCCESS) throw IuException("function returned with an error", __FILE__, __FUNCTION__, __LINE__);
}
Esempio n. 2
0
// device; Volume; 32-bit; 1-channel
void filterGauss(const iu::VolumeGpu_32f_C1* src, iu::VolumeGpu_32f_C1* dst, float sigma, int kernel_size)
{
  cuFilterGauss(src, dst, sigma, kernel_size);
}
Esempio n. 3
0
// device; 32-bit; 4-channel
void filterGauss(const iu::ImageGpu_32f_C4* src, iu::ImageGpu_32f_C4* dst, const IuRect& roi, float sigma, int kernel_size)
{
  cuFilterGauss(src, dst, roi, sigma, kernel_size);
}
Esempio n. 4
0
// device; 32-bit; 1-channel
void filterGauss(const iu::ImageGpu_32f_C1* src, iu::ImageGpu_32f_C1* dst, const IuRect& roi,
                 float sigma, int kernel_size, iu::ImageGpu_32f_C1 *temp, cudaStream_t stream)
{
  cuFilterGauss(src, dst, roi, sigma, kernel_size, temp, stream);
}