Skip to content
Snippets Groups Projects
Commit b301e76e authored by SAEZ Theo's avatar SAEZ Theo
Browse files

Mise à jour de la méthode getPixelGrayColor

parent 09a87c63
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,7 @@ public class MatrixGrayImage implements GrayImage { ...@@ -22,8 +22,7 @@ public class MatrixGrayImage implements GrayImage {
@Override @Override
public GrayColor getPixelGrayColor(int x, int y) { public GrayColor getPixelGrayColor(int x, int y) {
// TODO : Changer les instructions pour retourner le bon pixel. return new ByteGrayColor(pixels[x][y].getLuminosity());
return new ByteGrayColor();
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment