docs: private float calculateModuleSizeOneWay(ResultPoint pattern, ResultPoint otherPattern) {
      float moduleSizeEst1 = sizeOfBlackWhiteBlackRunBothWays((int) pattern.getX(),
          (int) pattern.getY(),
          (int) otherPattern.getX(),
          (int) otherPattern.getY());
      float moduleSizeEst2 = sizeOfBlackWhiteBlackRunBothWays((int) otherPattern.getX(),
          (int) otherPattern.getY(),
          (int) pattern.getX(),
          (int) pattern.getY());
      if (Float.isNaN(moduleSizeEst1)) {
        return moduleSizeEst2 / 7.0f;
      }
      if (Float.isNaN(moduleSizeEst2)) {
        return moduleSizeEst1 / 7.0f;
      }
      // 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.0f;
    }