PupilCenterInfo pupilCenterInfo = new PupilCenterInfo(image, x, y, PupilCenterInfo.Phase.PUPIL_REFINEMENT);
pupilCenterInfo.collectCircleInfo((int) (pupilRadius + MAX_REFINEMENT_STEPS + MAX_LEAP_WIDTH * resolution));
pupilCenterInfoList.add(pupilCenterInfo);
}
}
<BUG>double maxLeapValue = Double.MIN_VALUE;
</BUG>
PupilCenterInfo bestPupilCenter = null;
for (PupilCenterInfo pupilCenterInfo : pupilCenterInfoList) {
pupilCenterInfo.calculateStatistics(pupilRadius);

PupilCenterInfo pupilCenterInfo = new PupilCenterInfo(image, x, y, PupilCenterInfo.Phase.PUPIL_REFINEMENT);
pupilCenterInfo.collectCircleInfo((int) (pupilRadius + MAX_REFINEMENT_STEPS + MAX_LEAP_WIDTH * resolution));
pupilCenterInfoList.add(pupilCenterInfo);
}
}
float maxLeapValue = Float.MIN_VALUE;
PupilCenterInfo bestPupilCenter = null;
for (PupilCenterInfo pupilCenterInfo : pupilCenterInfoList) {
pupilCenterInfo.calculateStatistics(pupilRadius);
