Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// image conversion. Not affecting Alpha.
/// </summary>
/// <param name="dst">Destination-Image</param>
/// <param name="nMin">specifies the minimum saturation value to which every output value will be clamped.</param>
/// <param name="nMax">specifies the maximum saturation value to which every output value will be clamped.</param>
image conversion. Not affecting Alpha.
image conversion . Not affecting Alpha .
public void ScaleA(NPPImage_32fC4 dst, float nMin, float nMax)
		{
			NppiRect srcRect = new NppiRect(_pointRoi, _sizeRoi);
			status = NPPNativeMethods.NPPi.Scale.nppiScale_32f8u_AC4R(_devPtrRoi, _pitch, dst.DevicePointerRoi, dst.Pitch, _sizeRoi, nMin, nMax);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiScale_32f8u_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ScaleA ( NPPImage_32fC4 dst , float nMin , float nMax ) { NppiRect srcRect = new NppiRect ( _pointRoi , _sizeRoi ) ; status = NPPNativeMethods . NPPi . Scale . nppiScale_32f8u_AC4R ( _devPtrRoi , _pitch , dst . DevicePointerRoi , dst . Pitch , _sizeRoi , nMin , nMax ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
image conversion.
image conversion .
dst
NPPImage_32fC4
None
nMin
float
specifies the minimum saturation value to which every output value will be clamped.
specifies the minimum saturation value to which every output value will be clamped .
nMax
float
specifies the maximum saturation value to which every output value will be clamped.
specifies the maximum saturation value to which every output value will be clamped .