Skip to content
Snippets Groups Projects
Commit 0831b322 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Removed some TODOs

parent 10f1fefe
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ public class ImageDecompressor extends CompressorDecompressorBase { ...@@ -48,6 +48,7 @@ public class ImageDecompressor extends CompressorDecompressorBase {
} }
case Vector1D: case Vector1D:
case Vector2D: case Vector2D:
// TODO!!
break; break;
case Vector3D: case Vector3D:
case Invalid: case Invalid:
...@@ -138,25 +139,4 @@ public class ImageDecompressor extends CompressorDecompressorBase { ...@@ -138,25 +139,4 @@ public class ImageDecompressor extends CompressorDecompressorBase {
logBuilder.append("\n=== Input file is ").append(validFile ? "VALID" : "INVALID").append(" ===\n"); logBuilder.append("\n=== Input file is ").append(validFile ? "VALID" : "INVALID").append(" ===\n");
return logBuilder.toString(); return logBuilder.toString();
} }
} }
\ No newline at end of file
...@@ -9,7 +9,6 @@ public class CodebookEntry { ...@@ -9,7 +9,6 @@ public class CodebookEntry {
public CodebookEntry(final int[] codebook) { public CodebookEntry(final int[] codebook) {
this.vector = codebook; this.vector = codebook;
// TODO(Moravec): Pass this in costructor.
this.width = codebook.length; this.width = codebook.length;
this.height = 1; this.height = 1;
} }
......
...@@ -172,8 +172,6 @@ public class LBGVectorQuantizer { ...@@ -172,8 +172,6 @@ public class LBGVectorQuantizer {
System.out.println("Improving current codebook..."); System.out.println("Improving current codebook...");
LBG(codebook); LBG(codebook);
// TODO(Moravec): The MSE metric is super broken. We are getting really bad values, even though
// we are getting quite good results.
final double avgMse = averageMse(codebook); final double avgMse = averageMse(codebook);
System.out.println(String.format("Average MSE: %.4f", avgMse)); System.out.println(String.format("Average MSE: %.4f", avgMse));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment