Compare to double threshold, replace with specified value (Less Than/Greater Than)
MT, SSE2, Family10h
FwStatus | fwiThreshold_LTValGTVal_8u_C1IR | ( | Fw8u * pSrcDst, int srcDstStep, FwiSize roiSize, Fw8u thresholdLT, Fw8u valueLT, Fw8u thresholdGT, Fw8u valueGT ); | |
FwStatus | fwiThreshold_LTValGTVal_8u_C3IR | ( | Fw8u * pSrcDst, int srcDstStep, FwiSize roiSize, const Fw8u thresholdLT[3], const Fw8u valueLT[3], const Fw8u thresholdGT[3], const Fw8u valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_8u_AC4IR | ( | Fw8u * pSrcDst, int srcDstStep, FwiSize roiSize, const Fw8u thresholdLT[3], const Fw8u valueLT[3], const Fw8u thresholdGT[3], const Fw8u valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_16s_C1IR | ( | Fw16s * pSrcDst, int srcDstStep, FwiSize roiSize, Fw16s thresholdLT, Fw16s valueLT, Fw16s thresholdGT, Fw16s valueGT ); | |
FwStatus | fwiThreshold_LTValGTVal_16s_C3IR | ( | Fw16s * pSrcDst, int srcDstStep, FwiSize roiSize, const Fw16s thresholdLT[3], const Fw16s valueLT[3], const Fw16s thresholdGT[3], const Fw16s valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_16s_AC4IR | ( | Fw16s * pSrcDst, int srcDstStep, FwiSize roiSize, const Fw16s thresholdLT[3], const Fw16s valueLT[3], const Fw16s thresholdGT[3], const Fw16s valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_32f_C1IR | ( | Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize, Fw32f thresholdLT, Fw32f valueLT, Fw32f thresholdGT, Fw32f valueGT ); | |
FwStatus | fwiThreshold_LTValGTVal_32f_C3IR | ( | Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize, const Fw32f thresholdLT[3], const Fw32f valueLT[3], const Fw32f thresholdGT[3], const Fw32f valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_32f_AC4IR | ( | Fw32f * pSrcDst, int srcDstStep, FwiSize roiSize, const Fw32f thresholdLT[3], const Fw32f valueLT[3], const Fw32f thresholdGT[3], const Fw32f valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_8u_C1R | ( | const Fw8u * pSrc, int srcStep, Fw8u * pDst, int dstStep, FwiSize roiSize, Fw8u thresholdLT, Fw8u valueLT, Fw8u thresholdGT, Fw8u valueGT ); | |
FwStatus | fwiThreshold_LTValGTVal_8u_C3R | ( | const Fw8u * pSrc, int srcStep, Fw8u * pDst, int dstStep, FwiSize roiSize, const Fw8u thresholdLT[3], const Fw8u valueLT[3], const Fw8u thresholdGT[3], const Fw8u valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_8u_AC4R | ( | const Fw8u * pSrc, int srcStep, Fw8u * pDst, int dstStep, FwiSize roiSize, const Fw8u thresholdLT[3], const Fw8u valueLT[3], const Fw8u thresholdGT[3], const Fw8u valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_16s_C1R | ( | const Fw16s * pSrc, int srcStep, Fw16s * pDst, int dstStep, FwiSize roiSize, Fw16s thresholdLT, Fw16s valueLT, Fw16s thresholdGT, Fw16s valueGT ); | |
FwStatus | fwiThreshold_LTValGTVal_16s_C3R | ( | const Fw16s * pSrc, int srcStep, Fw16s * pDst, int dstStep, FwiSize roiSize, const Fw16s thresholdLT[3], const Fw16s valueLT[3], const Fw16s thresholdGT[3], const Fw16s valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_16s_AC4R | ( | const Fw16s * pSrc, int srcStep, Fw16s * pDst, int dstStep, FwiSize roiSize, const Fw16s thresholdLT[3], const Fw16s valueLT[3], const Fw16s thresholdGT[3], const Fw16s valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_32f_C1R | ( | const Fw32f * pSrc, int srcStep, Fw32f * pDst, int dstStep, FwiSize roiSize, Fw32f thresholdLT, Fw32f valueLT, Fw32f thresholdGT, Fw32f valueGT ); | |
FwStatus | fwiThreshold_LTValGTVal_32f_C3R | ( | const Fw32f * pSrc, int srcStep, Fw32f * pDst, int dstStep, FwiSize roiSize, const Fw32f thresholdLT[3], const Fw32f valueLT[3], const Fw32f thresholdGT[3], const Fw32f valueGT[3] ); | |
FwStatus | fwiThreshold_LTValGTVal_32f_AC4R | ( | const Fw32f * pSrc, int srcStep, Fw32f * pDst, int dstStep, FwiSize roiSize, const Fw32f thresholdLT[3], const Fw32f valueLT[3], const Fw32f thresholdGT[3], const Fw32f valueGT[3] ); |
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). | |
thresholdGT | Three-channel threshold for each pixel in greater-than operation. | |
thresholdGT[3] | Three-channel threshold for each pixel in greater-than operation. | |
thresholdLT | Threshold for each pixel in less-than operation. | |
thresholdLT[3] | Three-channel threshold for each pixel in less-than operation. | |
valueGT | Threshold for each pixel in greater-than operation. | |
valueGT[3] | Three-channel threshold for each pixel in greater-than operation. | |
valueLT | Threshold for each pixel in less-than operation. | |
valueLT[3] | Three-channel threshold for each pixel in less-than operation. |
These functions step through an ROI in a source buffer and compare source data to two specified threshold values.
The value of thresholdLT must be less than the value of thresholdGT.
When the source data is less than the value specified by thresholdLT, the output data is set to the value specified by valueLT.
When the source data is greater than the value specified by thresholdGT, the output data is set to the value specified by valueGT.
When the source data is within the range defined by thresholdLT and thresholdGT, the output data is set to same value as the source data.
Output data is written back to the same buffer for in-place operation or to a destination buffer.