handlePossibleCenter(stateCount, i /*int*/, j /*int*/, pureBarcode) {
			const stateCountTotal = stateCount[0] + stateCount[1] + stateCount[2] + stateCount[3] +
				stateCount[4];
			let centerJ = FinderPatternFinder.centerFromEnd(stateCount, j);
			let centerI = this.crossCheckVertical(i, /*(int) */ Math.floor(centerJ), stateCount[2], stateCountTotal);
			if (!isNaN(centerI)) {
				// Re-cross check
				centerJ = this.crossCheckHorizontal(/*(int) */ Math.floor(centerJ), /*(int) */ Math.floor(centerI), stateCount[2], stateCountTotal);
				if (!isNaN(centerJ) &&
					(!pureBarcode || this.crossCheckDiagonal(/*(int) */ Math.floor(centerI), /*(int) */ Math.floor(centerJ), stateCount[2], stateCountTotal))) {
					const estimatedModuleSize = stateCountTotal / 7.0;
					let found = false;
					const possibleCenters = this.possibleCenters;
					for (let index = 0, length = possibleCenters.length; index < length; index++) {
						const center = possibleCenters[index];
						// Look for about the same center and module size:
						if (center.aboutEquals(estimatedModuleSize, centerI, centerJ)) {
							possibleCenters[index] = center.combineEstimate(centerI, centerJ, estimatedModuleSize);
							found = true;
							break;
						}
					}
					if (!found) {
						const point = new FinderPattern$1(centerJ, centerI, estimatedModuleSize);
						possibleCenters.push(point);
						if (this.resultPointCallback !== null && this.resultPointCallback !== undefined) {
							this.resultPointCallback.foundPossibleResultPoint(point);
						}
					}
					return true;
				}
			}
			return false;
		}
<p>This is called when a horizontal scan finds a possible alignment pattern. It will
cross check with a vertical scan, and if successful, will, ah, cross-cross-check
with another horizontal scan. This is needed primarily to locate the real horizontal
center of the pattern in cases of extreme skew.
And then we cross-cross-cross check with another diagonal scan.</p>

<p>If that succeeds the finder pattern location is added to a list that tracks
the number of times each location has been nearly-matched as a finder pattern.
Each additional find is more evidence that the location is in fact a finder
pattern center

@param stateCount reading state module counts from horizontal scan
@param i row where finder pattern may be found
@param j end of possible finder pattern in row
@param pureBarcode true if in "pure barcode" mode
@return true if a finder pattern candidate was found this time