calculateModuleSizeOneWay(pattern, otherPattern) {
			const moduleSizeEst1 = this.sizeOfBlackWhiteBlackRunBothWays(/*(int) */ Math.floor(pattern.getX()),
				/*(int) */ Math.floor(pattern.getY()),
				/*(int) */ Math.floor(otherPattern.getX()),
				/*(int) */ Math.floor(otherPattern.getY()));
			const moduleSizeEst2 = this.sizeOfBlackWhiteBlackRunBothWays(/*(int) */ Math.floor(otherPattern.getX()),
				/*(int) */ Math.floor(otherPattern.getY()),
				/*(int) */ Math.floor(pattern.getX()),
				/*(int) */ Math.floor(pattern.getY()));
			if (isNaN(moduleSizeEst1)) {
				return moduleSizeEst2 / 7.0;
			}
			if (isNaN(moduleSizeEst2)) {
				return moduleSizeEst1 / 7.0;
			}
			// Average them, and divide by 7 since we've counted the width of 3 black modules,
			// and 1 white and 1 black module on either side. Ergo, divide sum by 14.
			return (moduleSizeEst1 + moduleSizeEst2) / 14.0;
		}
<p>Estimates module size based on two finder patterns -- it uses
{@link #sizeOfBlackWhiteBlackRunBothWays(int, int, int, int)} to figure the
width of each, measuring along the axis between their centers.</p>