Scale

Scale buffer data

Supported Technologies

MT

Synopsis

FwStatus   fwiScale_8u16u_C1R ( const Fw8u * pSrcint srcStepFw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16u_C3R ( const Fw8u * pSrcint srcStepFw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16u_C4R ( const Fw8u * pSrcint srcStepFw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16u_AC4R ( const Fw8u * pSrcint srcStepFw16u * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16s_C1R ( const Fw8u * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16s_C3R ( const Fw8u * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16s_C4R ( const Fw8u * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u16s_AC4R ( const Fw8u * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u32s_C1R ( const Fw8u * pSrcint srcStepFw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u32s_C3R ( const Fw8u * pSrcint srcStepFw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u32s_C4R ( const Fw8u * pSrcint srcStepFw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_8u32s_AC4R ( const Fw8u * pSrcint srcStepFw32s * pDstint dstStepFwiSize roiSize );
FwStatus   fwiScale_16u8u_C1R ( const Fw16u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16u8u_C3R ( const Fw16u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16u8u_C4R ( const Fw16u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16u8u_AC4R ( const Fw16u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16s8u_C1R ( const Fw16s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16s8u_C3R ( const Fw16s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16s8u_C4R ( const Fw16s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_16s8u_AC4R ( const Fw16s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_32s8u_C1R ( const Fw32s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_32s8u_C3R ( const Fw32s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_32s8u_C4R ( const Fw32s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_32s8u_AC4R ( const Fw32s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFwHintAlgorithm hint );
FwStatus   fwiScale_8u32f_C1R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_8u32f_C3R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_8u32f_C4R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_8u32f_AC4R ( const Fw8u * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_32f8u_C1R ( const Fw32f * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_32f8u_C3R ( const Fw32f * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_32f8u_C4R ( const Fw32f * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );
FwStatus   fwiScale_32f8u_AC4R ( const Fw32f * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFw32f vMinFw32f vMax );

Parameters

dstStep   Destination buffer step size (width of the buffer in bytes).
hint   Suggests a level of precision using one of the following values (fwAlgHintNone, fwAlgHintFast, fwAlgHintAccurate).
pDst   Pointer to a location in a destination buffer.
pSrc   Pointer to a location in a source buffer.
roiSize   Specifies the height and width of an ROI.
srcStep   Source buffer step size (width of the buffer in bytes).
vMax   Maximum value.
vMin   Minimum value.

Description

These functions step through an ROI in a source buffer, scale the source data, and write the scaled data to a destination buffer.

The output is scaled so that the median value in the source range is the median value in the destination range.