Natural logarithm

Supported Technologies

MT, SSE2, Family10h


FwStatus   fwiLn_8u_C1IRSfs ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_8u_C3IRSfs ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_16s_C1IRSfs ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_16s_C3IRSfs ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_32f_C1IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLn_32f_C3IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSize );
FwStatus   fwiLn_8u_C1RSfs ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_8u_C3RSfs ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_16s_C1RSfs ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_16s_C3RSfs ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeint scaleFactor );
FwStatus   fwiLn_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSize );
FwStatus   fwiLn_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSize );


dstStep   Destination buffer step size (width of the buffer in bytes).
pDst   Pointer to a location in a destination buffer.
pSrc   Pointer to a location in a source buffer.
pSrcDst   Pointer to a location in a buffer that contains both the source and destination.
roiSize   Specifies the height and width of an ROI.
scaleFactor   Specifies the integer scaling factor for the Sfs operation. The returned result is multiplied by 2^(-scaleFactor).
srcDstStep   Source and destination buffer step size in bytes (width of both buffers in bytes).
srcStep   Source buffer step size (width of the buffer in bytes).


These functions step through an ROI in a source buffer and calculate the natural logarithms of the source data.

Results can be written back to the source location or to a destination buffer.

The 8-bit unsigned and 16-bit signed versions of the functions perform an integer scaling operation before writing the results.