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

Min() public méthode

Image pixel minimum. No additional buffer is allocated.
public Min ( CudaDeviceVariable min, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void
        public void Min(CudaDeviceVariable<byte> min, CudaDeviceVariable<byte> buffer)
        {
            int bufferSize = MinGetBufferHostSize();
            if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");

            status = NPPNativeMethods.NPPi.Min.nppiMin_8u_C3R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, min.DevicePointer);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMin_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::Min ( CudaDeviceVariable min ) : void
NPPImage_8uC3