From bd8ea536c73e5c6d3d528e22cc55fc20b48eedfc Mon Sep 17 00:00:00 2001 From: Dan Royer Date: Tue, 26 Sep 2023 13:36:14 -0700 Subject: [PATCH] undelete difference test --- .../makeart/imagefilter/FilterDifferenceTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/com/marginallyclever/makelangelo/makeart/imagefilter/FilterDifferenceTest.java b/src/test/java/com/marginallyclever/makelangelo/makeart/imagefilter/FilterDifferenceTest.java index 13fc7a26c..80c41b886 100644 --- a/src/test/java/com/marginallyclever/makelangelo/makeart/imagefilter/FilterDifferenceTest.java +++ b/src/test/java/com/marginallyclever/makelangelo/makeart/imagefilter/FilterDifferenceTest.java @@ -11,23 +11,23 @@ public class FilterDifferenceTest { @Test public void test() throws IOException { TransformedImage src = new TransformedImage( ImageIO.read(new FileInputStream("src/test/resources/chicken.png")) ); - Filter_GaussianBlur a = new Filter_GaussianBlur(src,2); + FilterGaussianBlur a = new FilterGaussianBlur(src,2); TransformedImage a2 = a.filter(); ImageIO.write(a2.getSourceImage(), "jpg", new java.io.File("src/test/resources/chicken-a.jpg")); - Filter_GaussianBlur b = new Filter_GaussianBlur(src,4); + FilterGaussianBlur b = new FilterGaussianBlur(src,4); TransformedImage b2 = b.filter(); ImageIO.write(b2.getSourceImage(), "jpg", new java.io.File("src/test/resources/chicken-b.jpg")); - Filter_Scale scale = new Filter_Scale(b2,0.85); + FilterScale scale = new FilterScale(b2,0.85); TransformedImage afterScale = scale.filter(); ImageIO.write(afterScale.getSourceImage(), "jpg", new java.io.File("src/test/resources/chicken-c.jpg")); - Filter_Difference diff = new Filter_Difference(a2,afterScale); + FilterDifference diff = new FilterDifference(a2,afterScale); TransformedImage afterDiff = diff.filter(); ImageIO.write(afterDiff.getSourceImage(), "jpg", new java.io.File("src/test/resources/chicken-d.jpg")); - Filter_Threshold threshold = new Filter_Threshold(afterDiff,8); + FilterThreshold threshold = new FilterThreshold(afterDiff,8); TransformedImage afterThreshold = threshold.filter(); ImageIO.write(afterThreshold.getSourceImage(), "jpg", new java.io.File("src/test/resources/chicken-difference.jpg"));