code: private Coordinate[] getCenterPoints( double[][][] houghValues, int maxCircles ) {
  
          Coordinate[] centerPoints = new Coordinate[maxCircles];
          int xMax = 0;
          int yMax = 0;
          int rMax = 0;
  
          for( int c = 0; c < maxCircles; c++ ) {
              double counterMax = -1;
              for( int radius = radiusMin; radius <= radiusMax; radius = radius + radiusInc ) {
  
                  int indexR = (radius - radiusMin) / radiusInc;
                  for( int y = 0; y < height; y++ ) {
                      for( int x = 0; x < width; x++ ) {
                          if (houghValues[x][y][indexR] > counterMax) {
                              counterMax = houghValues[x][y][indexR];
                              xMax = x;
                              yMax = y;
                              rMax = radius;
                          }
                      }
  
                  }
              }
  
              centerPoints[c] = new Coordinate(xMax, yMax, rMax);
  
              clearNeighbours(houghValues, xMax, yMax, rMax);
          }
          return centerPoints;
      }
docs: Search for a fixed number of circles.
  
  @param maxCircles The number of circles that should be found.
  @param houghValues