ManagedCuda.NPP.NPPImage_16sC3.Remap C# (CSharp) Метод

Remap() публичный статический Метод

planar image remap.
public static Remap ( NPPImage_16sC1 src0, NPPImage_16sC1 src1, NPPImage_16sC1 src2, NPPImage_16sC1 dest0, NPPImage_16sC1 dest1, NPPImage_16sC1 dest2, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
src0 NPPImage_16sC1 Source image (Channel 0)
src1 NPPImage_16sC1 Source image (Channel 1)
src2 NPPImage_16sC1 Source image (Channel 2)
dest0 NPPImage_16sC1 Destination image (Channel 0)
dest1 NPPImage_16sC1 Destination image (Channel 1)
dest2 NPPImage_16sC1 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.
Результат void
        public static void Remap(NPPImage_16sC1 src0, NPPImage_16sC1 src1, NPPImage_16sC1 src2, NPPImage_16sC1 dest0, NPPImage_16sC1 dest1, NPPImage_16sC1 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_16s_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_16s_P3R", status));
            NPPException.CheckNppStatus(status, null);
        }

Same methods

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