mImage = image;
mPhase = phase;
}
private void collectCircleInfo(final int maxRelevantRadius) {
PixelReader pixelReader = mImage.getPixelReader();
<BUG>int maxPossibleRadius = (int) (Math.min(
Math.min(mImage.getWidth() - 1 - mXCenter, mXCenter),
Math.min(mImage.getHeight() - 1 - mYCenter, mYCenter)));
int maxRadius = Math.min(maxRelevantRadius, maxPossibleRadius);</BUG>
long maxRadius2 = (maxRadius + 1) * (maxRadius + 1);

mImage = image;
mPhase = phase;
}
private void collectCircleInfo(final int maxRelevantRadius) {
PixelReader pixelReader = mImage.getPixelReader();
int maxPossibleRadius = (int) Math.min(
Math.min(mImage.getWidth() - 1 - mXCenter, mXCenter),
Math.min(mImage.getHeight() - 1 - mYCenter, mYCenter));
int maxRadius = Math.min(maxRelevantRadius, maxPossibleRadius);
long maxRadius2 = (maxRadius + 1) * (maxRadius + 1);
