Questions tagged [npp]

NPP is the abbreviation of NVIDIA Performance Primitives. It is a free GPU accelerated signal and image processing library that utilizes NVIDIA CUDA enabled GPUs to accelerate processing. NPP is authored and maintained by NVIDIA Corporation. It ships along with the free CUDA Toolkit by NVIDIA.

57 questions
0
votes
1 answer

undefined reference to `nppiMalloc_8u_C1'

I am trying to run a program on Ubuntu 16.04 using npp library. In order to link library and the program, I wrote this command on terminal : nvcc -L/home/usr/local/cuda-9.0/targets/x86_64-linux/lib main.cu However, this error occurs…
0
votes
1 answer

How nppiResizeSqrPixel_32f_C4R() works?

How the above function perform operation in cuda . Do we need to write CudaMalloc() or MemCopy() along with this or just a call with internally do all this. I wrote…
Shrey
  • 98
  • 1
  • 12
0
votes
1 answer

CUDA NPP Median Filter for 16 bit images

Final Update: Solved. The WDDM timeout was also an issue. Found a solution from: WDDM timeout fix. Thanks Robert. Update: Thanks Robert for pointing out that the center of the filter is not 0,0. Unfortunately, the code you posted will break for me…
Aaron B.
  • 1,605
  • 13
  • 12
0
votes
1 answer

Does opencv for tegra (Jetson TK1) make use of npp and openvx underneath?

Does OpenCv for Tegra devices supplied with Linux 4 Tegra make use of NPP and OpenVX underneath ? Or do I have to make such optimizations myself ? Any reference to a link pointing to proof would be appreciated.
Muhammad Ali
  • 418
  • 6
  • 20
0
votes
0 answers

CUDA NPP function incorrect launch corrupts device data

I am writing fast JPEG reading code that I'm going to use as a piece of a bigger project. I've decided to use CUDA together with NPP for the task, since NPP have all encoding and decoding functions already implemented. Everything works fine until I…
Shilghter
  • 94
  • 1
  • 10
0
votes
1 answer

CUDA NPP - Error on printing output

Following my previous post here: CUDA NPP - unknown error upon GPU error check I have tried to sum all the pixels in the image by using the CUDA NPP library, and with the help of some developers, I finally got my code to compile. However, when I try…
Eagle
  • 1,187
  • 5
  • 22
  • 40
0
votes
1 answer

Unsharp mask using NPP

I tried using NPP to create an "unsharp mask" but my image is not coming out sharpened, just a little brighter in some areas. Any idea what's wrong with this code? npp::loadImage("Lena.pgm", hostSrc); // put two copies of the image in…
OneSolitaryNoob
  • 5,423
  • 3
  • 25
  • 43
0
votes
1 answer

What is the 'STEP' in NPP library?

I have some question about NPP library... This is about Step in NPP parameters. When I use NPP library, it makes me confused. nppiSub_32s_C1RSfs(d_sink, step, d_source, step, d_terminals, step, size, 0); that is example.. I can understand all…
CV_uriel
  • 3
  • 1
0
votes
1 answer

nppiFilter breaks output image

I wrote an example of BoxFilter using NPP, but the output image looks broken. This is my code: #include #include #include #include #include #include #include "utils.h" void…
greg
  • 1,417
  • 9
  • 28
0
votes
1 answer

NPP BoxFilters and binary data

I'm trying to create NPP example for BoxFiltering but insted of 8-bit greyscale image I have RGBA binary data. My code looks like: #include "./common/ImagesCPU.h" #include "./common/ImagesNPP.h" #include "./common/ImageIO.h" #include…
greg
  • 1,417
  • 9
  • 28
0
votes
1 answer

Issue with nppiWarpPerspectiveBack_32f_C1R

Currently im porting my application from IPP to use NPP. I encounter issue with nppiWarpPerspectiveBack_32f_C1R returns warning 2 (NPP_WRONG_INTERSECTION_QUAD_WARNING). But i know for the same coefficient IPP call works fine. In program attached…
-1
votes
2 answers

CUDA NPP GaussFilter corrupts images

I try to use CUDA with Qt to blur image. I use NPP library, nppiFilterGauss_8u_C1R works great void cuda_npp_gauss_filter_qt(uchar* pSourceData, uchar* pResultData, const int &ImageLineStep, const int &ImageWidth, const int &ImageHeight) { …
u2fan
  • 1
  • 1
1 2 3
4