From 1082b5aea87dd0f66d826dc8806659b5d3b56a09 Mon Sep 17 00:00:00 2001 From: Stefan Haustein Date: Wed, 29 Jun 2016 01:32:39 +0200 Subject: [PATCH] debug output removed --- src/main/java/TerminalImageViewer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/TerminalImageViewer.java b/src/main/java/TerminalImageViewer.java index 9e2da44..a036fa0 100644 --- a/src/main/java/TerminalImageViewer.java +++ b/src/main/java/TerminalImageViewer.java @@ -199,9 +199,6 @@ public class TerminalImageViewer { int grayIdx = bestIndex(gray, GRAYSCALE); int grayQ = GRAYSCALE[grayIdx]; - System.out.println("Reconstructed RGB: " + Integer.toHexString((rQ << 16) | (gQ << 8) | bQ) + " gray:" + - Integer.toHexString(grayQ)); - int colorIndex; if (0.3 * sqr(rQ-r) + 0.59 * sqr(gQ-g) + 0.11 *sqr(bQ-b) < 0.3 * sqr(grayQ-r) + 0.59 * sqr(grayQ-g) + 0.11 * sqr(grayQ-b)) {