Threshold_GTVal

Compare to a threshold, replace with specified value (Greater Than)

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwiThreshold_GTVal_8u_C1IR ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeFw8u thresholdFw8u value );
FwStatus   fwiThreshold_GTVal_8u_C3IR ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeconst Fw8u threshold[3]const Fw8u value[3] );
FwStatus   fwiThreshold_GTVal_8u_AC4IR ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeconst Fw8u threshold[3]const Fw8u value[3] );
FwStatus   fwiThreshold_GTVal_8u_C4IR ( Fw8u * pSrcDstint srcDstStepFwiSize roiSizeconst Fw8u threshold[4]const Fw8u value[4] );
FwStatus   fwiThreshold_GTVal_16s_C1IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeFw16s thresholdFw16s value );
FwStatus   fwiThreshold_GTVal_16s_C3IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeconst Fw16s threshold[3]const Fw16s value[3] );
FwStatus   fwiThreshold_GTVal_16s_AC4IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeconst Fw16s threshold[3]const Fw16s value[3] );
FwStatus   fwiThreshold_GTVal_16s_C4IR ( Fw16s * pSrcDstint srcDstStepFwiSize roiSizeconst Fw16s threshold[4]const Fw16s value[4] );
FwStatus   fwiThreshold_GTVal_32f_C1IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSizeFw32f thresholdFw32f value );
FwStatus   fwiThreshold_GTVal_32f_C3IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSizeconst Fw32f threshold[3]const Fw32f value[3] );
FwStatus   fwiThreshold_GTVal_32f_AC4IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSizeconst Fw32f threshold[3]const Fw32f value[3] );
FwStatus   fwiThreshold_GTVal_32f_C4IR ( Fw32f * pSrcDstint srcDstStepFwiSize roiSizeconst Fw32f threshold[4]const Fw32f value[4] );
FwStatus   fwiThreshold_GTVal_8u_C1R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeFw8u thresholdFw8u value );
FwStatus   fwiThreshold_GTVal_8u_C3R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeconst Fw8u threshold[3]const Fw8u value[3] );
FwStatus   fwiThreshold_GTVal_8u_AC4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeconst Fw8u threshold[3]const Fw8u value[3] );
FwStatus   fwiThreshold_GTVal_8u_C4R ( const Fw8u * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSizeconst Fw8u threshold[4]const Fw8u value[4] );
FwStatus   fwiThreshold_GTVal_16s_C1R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeFw16s thresholdFw16s value );
FwStatus   fwiThreshold_GTVal_16s_C3R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeconst Fw16s threshold[3]const Fw16s value[3] );
FwStatus   fwiThreshold_GTVal_16s_AC4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeconst Fw16s threshold[3]const Fw16s value[3] );
FwStatus   fwiThreshold_GTVal_16s_C4R ( const Fw16s * pSrcint srcStepFw16s * pDstint dstStepFwiSize roiSizeconst Fw16s threshold[4]const Fw16s value[4] );
FwStatus   fwiThreshold_GTVal_32f_C1R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeFw32f thresholdFw32f value );
FwStatus   fwiThreshold_GTVal_32f_C3R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeconst Fw32f threshold[3]const Fw32f value[3] );
FwStatus   fwiThreshold_GTVal_32f_AC4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeconst Fw32f threshold[3]const Fw32f value[3] );
FwStatus   fwiThreshold_GTVal_32f_C4R ( const Fw32f * pSrcint srcStepFw32f * pDstint dstStepFwiSize roiSizeconst Fw32f threshold[4]const Fw32f value[4] );

Parameters

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.
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).
threshold   Threshold for each pixel.
threshold[3]   Three-channel threshold for each pixel.
threshold[4]   Four-channel threshold for each pixel.
value   Specified value.
value[3]   An array of three specified values.
value[4]   An array of four specified values.

Description

These functions step through an ROI in a source buffer and compare source data to a specified threshold value.

When the source data is greater than the threshold value, the output data is set to a specified value.

When the source data is less than or equal to the threshold value, the output data is set to the same value as the source data.

Output data is written back to the same buffer for in-place operation or to a destination buffer.