This image always output zero for rgb 
File input = new File(pathToImage);
Assertions.assertTrue(input.canRead());
BufferedImage image = ImageIO.read(input);
int width = image.getWidth();
int height = image.getHeight();
System.out.println(width);
System.out.println(height);
nbIndividu = Math.min(width * height, nbIndividu);
double [] [] decodedImage = new double [nbIndividu] [3] ;
int i = 0;
for (int x = 0; x < width; x++) {
for (int y = 0; y < height; y++) {
int rgb = image.getRGB(x, y);