Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// Compare pSrc's pixels with constant value.
/// </summary>
/// <param name="nConstant">list of constants, one per color channel.</param>
/// <param name="dest">Destination image</param>
/// <param name="epsilon">epsilon tolerance value to compare to pixel absolute differences.</param>
Compare pSrc's pixels with constant value.
Compare pSrc ' s pixels with constant value .
public void CompareEqualEps(float[] nConstant, NPPImage_8uC1 dest, float epsilon)
		{
			status = NPPNativeMethods.NPPi.Compare.nppiCompareEqualEpsC_32f_C4R(_devPtrRoi, _pitch, nConstant, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, epsilon);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCompareEqualEpsC_32f_C4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void CompareEqualEps ( float [ ] nConstant , NPPImage_8uC1 dest , float epsilon ) { status = NPPNativeMethods . NPPi . Compare . nppiCompareEqualEpsC_32f_C4R ( _devPtrRoi , _pitch , nConstant , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , epsilon ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Compare pSrc's pixels with constant value.
Compare pSrc ' s pixels with constant value .
nConstant
float[]
list of constants, one per color channel.
list of constants one per color channel .
dest
NPPImage_8uC1
None
epsilon
float
epsilon tolerance value to compare to pixel absolute differences.
epsilon tolerance value to compare to pixel absolute differences .