Library/ManagedCuda/NPP/NPPImage_16sC3.cs
/// <summary>
/// Compare pSrc's pixels with constant value.
/// </summary>
/// <param name="nConstant">constant value</param>
/// <param name="dest">Destination image</param>
/// <param name="eComparisonOperation">Specifies the comparison operation to be used in the pixel comparison.</param>
Compare pSrc's pixels with constant value.
Compare pSrc ' s pixels with constant value .
public void Compare(short[] nConstant, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation)
		{
			status = NPPNativeMethods.NPPi.Compare.nppiCompareC_16s_C3R(_devPtrRoi, _pitch, nConstant, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, eComparisonOperation);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCompareC_16s_C3R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void Compare ( short [ ] nConstant , NPPImage_8uC1 dest , NppCmpOp eComparisonOperation ) { status = NPPNativeMethods . NPPi . Compare . nppiCompareC_16s_C3R ( _devPtrRoi , _pitch , nConstant , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , eComparisonOperation ) ; 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
short[]
None
dest
NPPImage_8uC1
None
eComparisonOperation
NppCmpOp
Specifies the comparison operation to be used in the pixel comparison.
Specifies the comparison operation to be used in the pixel comparison .