Searched refs:nSum1 (Results 1 – 2 of 2) sorted by relevance
416 long nX, nY, nSum1, nSum2; in ImplSobelGrey() local443 nSum1 = nSum2 = 0; in ImplSobelGrey()445 nSum1 += nMask111 * nGrey11; in ImplSobelGrey()448 nSum1 += nMask121 * nGrey12; in ImplSobelGrey()451 nSum1 += nMask131 * nGrey13; in ImplSobelGrey()454 nSum1 += nMask211 * nGrey21; in ImplSobelGrey()457 nSum1 += nMask221 * nGrey22; in ImplSobelGrey()460 nSum1 += nMask231 * nGrey23; in ImplSobelGrey()463 nSum1 += nMask311 * nGrey31; in ImplSobelGrey()466 nSum1 += nMask321 * nGrey32; in ImplSobelGrey()[all …]
405 long nSum1; in DetectEdges() local422 nSum1 = -( nSum2 = lGray = pReadAcc->GetPixelIndex( nY, nXTmp++ ) ); in DetectEdges()424 nSum1 += ( lGray = pReadAcc->GetPixelIndex( nY, nXTmp ) ); in DetectEdges()427 nSum1 += ( (long) pReadAcc->GetPixelIndex( nY1, nXTmp ) ) << 1; in DetectEdges()428 nSum1 -= ( (long) pReadAcc->GetPixelIndex( nY1, nXTmp -= 2 ) ) << 1; in DetectEdges()430 nSum1 += ( lGray = -(long) pReadAcc->GetPixelIndex( nY2, nXTmp++ ) ); in DetectEdges()433 nSum1 += ( lGray = (long) pReadAcc->GetPixelIndex( nY2, nXTmp ) ); in DetectEdges()436 if( ( nSum1 * nSum1 + nSum2 * nSum2 ) < lThres2 ) in DetectEdges()
Completed in 13 milliseconds