for (Integer y : mRightPoints.keySet()) {
int yDistance = y - mYCenter;
int xDistance = mRightPoints.get(y) - mXCenter;
sum += Math.sqrt(xDistance * xDistance + yDistance * yDistance);
}
<BUG>mRadius = (int) Math.round(sum / (2 * mLeftPoints.size()));
}
private static double getBrightness(final Color color) {

return Math.min(Math.min(color.getRed(), color.getGreen()), color.getBlue()) + color.getBlue();
</BUG>
}

for (Integer y : mRightPoints.keySet()) {
int yDistance = y - mYCenter;
int xDistance = mRightPoints.get(y) - mXCenter;
sum += Math.sqrt(xDistance * xDistance + yDistance * yDistance);
