private static boolean searchHelp(int x, int y, ImageProcessor strong, ImageProcessor med, boolean[][] visited){
		visited[x][y] = true;
		for(int i = x - 1; i <= x + 1; i++){
			for(int j = y - 1; j <= y+1; j++){
				if(strong.getPixel(i,j) == 255){
					return true;
				}
			}
		}
		
		for(int i = x - 1; i <= x + 1; i++){
			for(int j = y - 1; j <= y+1; j++){
				if(med.getPixel(i,j) == 255 && !visited[i][j] && searchHelp(i, j, strong, med, visited)){
					return true;
				}
			}
		}
		
		return false;
	}