ManagedCuda.NPP.NPPImage_8uC3.Remap C# (CSharp) Method

Remap() public static method

planar image remap.
public static Remap ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
pXMap NPPImage_32fC1 Device memory pointer to 2D image array of X coordinate values to be used when sampling source image.
pYMap NPPImage_32fC1 Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image.
eInterpolation InterpolationMode The type of eInterpolation to perform resampling.
return void
        public static void Remap(NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation)
        {
            CUdeviceptr[] src = new CUdeviceptr[] { src0.DevicePointer, src1.DevicePointer, src2.DevicePointer };
            CUdeviceptr[] dst = new CUdeviceptr[] { dest0.DevicePointerRoi, dest1.DevicePointerRoi, dest2.DevicePointerRoi };
            NppiRect srcRect = new NppiRect(src0.PointRoi, src0.SizeRoi);
            NppStatus status = NPPNativeMethods.NPPi.Remap.nppiRemap_8u_P3R(src, src0.SizeRoi, src0.Pitch, srcRect, pXMap.DevicePointerRoi, pXMap.Pitch, pYMap.DevicePointerRoi, pYMap.Pitch, dst, dest0.Pitch, dest0.SizeRoi, eInterpolation);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiRemap_8u_P3R", status));
            NPPException.CheckNppStatus(status, null);
        }

Same methods

NPPImage_8uC3::Remap ( NPPImage_8uC3 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
NPPImage_8uC3