Remove logging

This commit is contained in:
2026-09-29 09:54:06 +02:00
parent ee7c1cab2f
commit 4a5f1a864e
2 changed files with 1 additions and 34 deletions

View File

@@ -51,37 +51,6 @@ public class ComplexMorphologyPresenter implements ComplexMorphologyListener {
Image result = morphologyService.geodesicReconstruction(image, mask);
System.out.println("IMAGE: "
+ image.getWidth() + "x" + image.getHeight());
System.out.println("MASK: "
+ mask.getWidth() + "x" + mask.getHeight());
System.out.println(
"Same object? " + (image == mask)
);
System.out.println("Image : " + image.getPixel(0, 0).grayValue());
System.out.println("Mask : " + mask.getPixel(0, 0).grayValue());
System.out.println("Result : " + result.getPixel(0, 0).grayValue());
double[][] imageData = image.toGrayScale().getRawData();
double[][] maskData = mask.toGrayScale().getRawData();
int violations = 0;
for (int y = 0; y < image.getHeight(); y++) {
for (int x = 0; x < image.getWidth(); x++) {
if (imageData[y][x] > maskData[y][x]) {
violations++;
}
}
}
System.out.println("Marker > mask pixels: " + violations);
morphologyState.setReconstruction(result);
}

View File

@@ -199,9 +199,7 @@ public class ComplexMorphologyView extends AbstractView implements IComplexMorph
}
@Override
public void updateReconstruction(Image image) {
modeTab.loadImage(RECONSTRUCTION_TAB_TITLE, image);
}
public void updateReconstruction(Image image) { modeTab.loadImage(RECONSTRUCTION_TAB_TITLE, image); }
@Override
public void updateMedian(Image image) {