Searched refs:iSAD (Results 1 – 2 of 2) sorted by relevance
145 pBgdOU->iSAD = iSubSAD[0] + iSubSAD[1] + iSubSAD[2] + iSubSAD[3]; in GetOUParameters()174 if ((pBackgroundOU->iMaxDiffSubSd <= pBackgroundOU->iSAD >> 3 in ForegroundBackgroundDivision()176 && pBackgroundOU->iSAD < (BGD_THD_SAD << 1)) { //BGD_OU_SIZE*BGD_OU_SIZE>>2 in ForegroundBackgroundDivision()177 if (pBackgroundOU->iSAD <= BGD_OU_SIZE * Q_FACTOR) { in ForegroundBackgroundDivision()180 pBackgroundOU->iBackgroundFlag = pBackgroundOU->iSAD < BGD_THD_SAD ? in ForegroundBackgroundDivision()181 (pBackgroundOU->iSD < (pBackgroundOU->iSAD * 3) >> 2) : in ForegroundBackgroundDivision()182 (pBackgroundOU->iSD << 1 < pBackgroundOU->iSAD); in ForegroundBackgroundDivision()269 if (pBackgroundOU->iSAD > BGD_OU_SIZE * Q_FACTOR) { in ForegroundDilation()296 …int32_t sumNbrBGsad = (pOUNeighbours[0]->iSAD & (-pOUNeighbours[0]->iBackgroundFlag)) + (pOUNeighb… in BackgroundErosion()298 … + (pOUNeighbours[1]->iSAD & (-pOUNeighbours[1]->iBackgroundFlag)) + (pOUNeighbours[3]->iSAD & in BackgroundErosion()[all …]
53 int32_t iSAD; member