code: private void clearNeighbours( double[][][] houghValues, int x, int y, int radius ) {
  
          // The following code just clean the points around the center of the circle found.
  
          double halfRadius = radius / 2.0F;
          double halfSquared = halfRadius * halfRadius;
  
          int y1 = (int) Math.floor((double) y - halfRadius);
          int y2 = (int) Math.ceil((double) y + halfRadius) + 1;
          int x1 = (int) Math.floor((double) x - halfRadius);
          int x2 = (int) Math.ceil((double) x + halfRadius) + 1;
  
          if (y1 < 0)
              y1 = 0;
          if (y2 > height)
              y2 = height;
          if (x1 < 0)
              x1 = 0;
          if (x2 > width)
              x2 = width;
  
          for( int r = radiusMin; r <= radiusMax; r = r + radiusInc ) {
              int indexR = (r - radiusMin) / radiusInc;
              for( int i = y1; i < y2; i++ ) {
                  for( int j = x1; j < x2; j++ ) {
                      if (Math.pow(j - x, 2D) + Math.pow(i - y, 2D) < halfSquared) {
                          houghValues[j][i][indexR] = 0.0D;
                      }
                  }
              }
          }
  
      }
docs: Clear, from the Hough Space, all the counter that are near (radius/2) a previously found circle C.
  
  @param x The x coordinate of the circle C found.
  @param x The y coordinate of the circle C found.
  @param x The radius of the circle C found.