public MeanStdDev ( int coi, CudaDeviceVariable |
||
coi | int | Channel of interest (0, 1 or 2) |
mean | CudaDeviceVariable |
Allocated device memory with size of at least 3 * sizeof(double) |
stdDev | CudaDeviceVariable |
Allocated device memory with size of at least 3 * sizeof(double) |
mask | NPPImage_8uC1 | mask |
return | void |
public void MeanStdDev(int coi, CudaDeviceVariable<double> mean, CudaDeviceVariable<double> stdDev, NPPImage_8uC1 mask)
{
int bufferSize = MeanStdDevMaskedGetBufferHostSize();
CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);
status = NPPNativeMethods.NPPi.MeanStdDevNew.nppiMean_StdDev_8u_C3CMR(_devPtrRoi, _pitch, mask.DevicePointerRoi, mask.Pitch, _sizeRoi, coi, buffer.DevicePointer, mean.DevicePointer, stdDev.DevicePointer);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMean_StdDev_8u_C3CMR", status));
buffer.Dispose();
NPPException.CheckNppStatus(status, this);
}
NPPImage_8uC3::MeanStdDev ( int coi, CudaDeviceVariable |
|
NPPImage_8uC3::MeanStdDev ( int coi, CudaDeviceVariable |
|
NPPImage_8uC3::MeanStdDev ( int coi, CudaDeviceVariable |