Absolute difference of a source value and a constant
MT, SSE2, Family10h
| FwStatus | fwiAbsDiffC_8u_C1R | ( | const Fw8u * pSrc, int srcStep, Fw8u * pDst, int dstStep, FwiSize roiSize, int value ); | |
| FwStatus | fwiAbsDiffC_16u_C1R | ( | const Fw16u * pSrc, int srcStep, Fw16u * pDst, int dstStep, FwiSize roiSize, int value ); | |
| FwStatus | fwiAbsDiffC_32f_C1R | ( | const Fw32f * pSrc, int srcStep, Fw32f * pDst, int dstStep, FwiSize roiSize, Fw32f value ); |
| 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. | |
| roiSize | Specifies the height and width of an ROI. | |
| srcStep | Source buffer step size (width of the buffer in bytes). | |
| value | Specified value. |
These functions step through an ROI in a source buffer, calculate the absolute value of the difference between the source data and a specified constant, and write the result to a destination buffer.