Compare floating-point data to a constant
MT, SSE2, Family10h
FwStatus | fwiCompareEqualEpsC_32f_C1R | ( | const Fw32f * pSrc, int srcStep, Fw32f value, Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); | |
FwStatus | fwiCompareEqualEpsC_32f_C3R | ( | const Fw32f * pSrc, int srcStep, const Fw32f value[3], Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); | |
FwStatus | fwiCompareEqualEpsC_32f_AC4R | ( | const Fw32f * pSrc, int srcStep, const Fw32f value[3], Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); | |
FwStatus | fwiCompareEqualEpsC_32f_C4R | ( | const Fw32f * pSrc, int srcStep, const Fw32f value[4], Fw8u * pDst, int dstStep, FwiSize roiSize, Fw32f eps ); |
dstStep | Destination buffer step size (width of the buffer in bytes). | |
eps | Tolerance value. | |
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). | |
value | Specified value. | |
value[3] | An array of three specified values. | |
value[4] | An array of four specified values. |
These functions step through an ROI in a source buffer and compare the source floating-point data for equality within a specified tolerance.
When the difference between the floating-point value and the constant is less than or equal to the specified tolerance, the output data is set to all ones.
When the difference between the floating-point value and the constant is greater than the specified tolerance, the output data is set to all zeroes.
Output data is written to a 1-channel Fw8u destination buffer.