This commit is contained in:
AlgaLaptop
2025-12-23 18:25:07 +01:00
3 changed files with 16 additions and 6 deletions
+3 -3
View File
@@ -24,11 +24,11 @@ Objectif : Mise en place des fondations techniques
| US-D4 | AD | DONE | 🟩 | Construire larbre Huffman |
| US-D5 | AA | DONE | 🟩 | Générer les codes Huffman |
| US-D6 | AA | DONE | 🟩 | Générer les codes canoniques |
| US-U5 | YB | DOING | 🟨 | Chargement dimage via ImageIO |
| US-D8 | YB | TODO | 🟥 | Structure RGBImage + Pixel |
| US-U5 | YB | DONE | 🟩 | Chargement dimage via ImageIO |
| US-D8 | YB | DONE | 🟩 | Structure RGBImage + Pixel |
| US-P1 | AA | DONE | 🟩 | Interface simple daffichage des fréquences |
| US-P2 | AD | DONE | 🟩 | Interface simple daffichage codes Huffman |
| US-P3 | AA | TODO | 🟩 | Interface simple daffichage codes canoniques |
| US-P3 | AA | DONE | 🟩 | Interface simple daffichage codes canoniques |
## Fichiers à créer Sprint 1
+4 -2
View File
@@ -6,8 +6,10 @@ public class Pixel{
private int b;
//à completer
public Pixel(){
public Pixel(int red, int green, int blue){
this.r=red;
this.g=green;
this.b=blue;
}
public int getB() {
+9 -1
View File
@@ -4,7 +4,15 @@ public class RGBImage {
private int width;
private int height;
private Pixel [] pixels
private Pixel [] pixels;
public RGBImage (int lar, int haut){
this.width=lar;
this.height=haut;
int[][] matrice = new int[this.width][this.height];
}
public int getWidth() {
return width;