ManagedCuda.NPP.NPPImage_8uC3.Set C# (CSharp) Méthode

Set() public méthode

Set pixel values to nValue. The 8-bit mask image affects setting of the respective pixels in the destination image. If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value.
public Set ( byte nValue, NPPImage_8uC1 mask ) : void
nValue byte Value to be set (Array size = 3)
mask NPPImage_8uC1 Mask image
Résultat void
        public void Set(byte[] nValue, NPPImage_8uC1 mask)
        {
            status = NPPNativeMethods.NPPi.MemSet.nppiSet_8u_C3MR(nValue, _devPtrRoi, _pitch, _sizeRoi, mask.DevicePointerRoi, mask.Pitch);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSet_8u_C3MR", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::Set ( byte nValue ) : void
NPPImage_8uC3::Set ( byte nValue, int channel ) : void
NPPImage_8uC3