Library/ManagedCuda/NPP/NPPImage_32fcC1.cs
/// <summary>
/// 32-bit floating point complex to 32-bit floating point squared magnitude.
/// <para/>
/// Converts complex-number pixel image to single channel image computing
/// the result pixels as the squared magnitude of the complex values.
/// <para/>
/// The squared magnitude is an itermediate result of magnitude computation and
/// can thus be computed faster than actual magnitude. If magnitudes are required
/// for sorting/comparing only, using this function instead of nppiMagnitude_32fc32f_C1R
/// can be a worthwhile performance optimization.
/// </summary>
/// <param name="dest">Destination image</param>
32-bit floating point complex to 32-bit floating point squared magnitude.

Converts complex-number pixel image to single channel image computing
the result pixels as the squared magnitude of the complex values.

The squared magnitude is an itermediate result of magnitude computation and
can thus be computed faster than actual magnitude. If magnitudes are required
for sorting/comparing only, using this function instead of nppiMagnitude_32fc32f_C1R
can be a worthwhile performance optimization.
32 - bit floating point complex to 32 - bit floating point squared magnitude . Converts complex - number pixel image to single channel image computing the result pixels as the squared magnitude of the complex values . The squared magnitude is an itermediate result of magnitude computation and can thus be computed faster than actual magnitude . If magnitudes are required for sorting / comparing only using this function instead of nppiMagnitude_32fc32f_C1R can be a worthwhile performance optimization .
public void MagnitudeSqr(NPPImage_32fC1 dest)
		{
			status = NPPNativeMethods.NPPi.LinearTransforms.nppiMagnitudeSqr_32fc32f_C1R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMagnitudeSqr_32fc32f_C1R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void MagnitudeSqr ( NPPImage_32fC1 dest ) { status = NPPNativeMethods . NPPi . LinearTransforms . nppiMagnitudeSqr_32fc32f_C1R ( _devPtrRoi , _pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
32-bit floating point complex to 32-bit floating point squared magnitude.
32 - bit floating point complex to 32 - bit floating point squared magnitude .
dest
NPPImage_32fC1
None