I’m trying to use nppiErode_8u_C1R and nppiDilate_8u_C1R functions from npp library. However, the functions always returns me a black screen. There is no error. I thought there is a mistake about sent parameters. I’m sending ROI 2 smaller than the actual size and kernel size of 3x3 and anchor point as (1,1).
Where is my error? can anybody help me? Or has anyone a working sample of nppiErode and nppiDilate functions?