Searched refs:nSum2 (Results 1 – 2 of 2) sorted by relevance
406 long nSum2; in DetectEdges() local422 nSum1 = -( nSum2 = lGray = pReadAcc->GetPixelIndex( nY, nXTmp++ ) ); in DetectEdges()423 nSum2 += ( (long) pReadAcc->GetPixelIndex( nY, nXTmp++ ) ) << 1; in DetectEdges()425 nSum2 += lGray; in DetectEdges()431 nSum2 += lGray; in DetectEdges()432 nSum2 -= ( (long) pReadAcc->GetPixelIndex( nY2, nXTmp++ ) ) << 1; in DetectEdges()434 nSum2 -= lGray; in DetectEdges()436 if( ( nSum1 * nSum1 + nSum2 * nSum2 ) < lThres2 ) in DetectEdges()
416 long nX, nY, nSum1, nSum2; in ImplSobelGrey() local443 nSum1 = nSum2 = 0; in ImplSobelGrey()446 nSum2 += nMask112 * nGrey11; in ImplSobelGrey()449 nSum2 += nMask122 * nGrey12; in ImplSobelGrey()452 nSum2 += nMask132 * nGrey13; in ImplSobelGrey()455 nSum2 += nMask212 * nGrey21; in ImplSobelGrey()458 nSum2 += nMask222 * nGrey22; in ImplSobelGrey()461 nSum2 += nMask232 * nGrey23; in ImplSobelGrey()464 nSum2 += nMask312 * nGrey31; in ImplSobelGrey()467 nSum2 += nMask322 * nGrey32; in ImplSobelGrey()[all …]
Completed in 60 milliseconds