@@ -0,0 +1,1498 @@
+package com.tom_e_white.set_game;%0A%0Aimport boofcv.alg.misc.PixelMath;%0Aimport boofcv.gui.ListDisplayPanel;%0Aimport boofcv.gui.image.ShowImages;%0Aimport boofcv.io.image.ConvertBufferedImage;%0Aimport boofcv.io.image.UtilImageIO;%0Aimport boofcv.struct.image.GrayU8;%0A%0Aimport java.awt.image.BufferedImage;%0A%0Apublic class CardDiff %7B%0A    public static void main(String%5B%5D args) %7B%0A        //BufferedImage image1 = UtilImageIO.loadImage(%22data/train-out/green-1-20161231_114459_1.jpg%22);%0A        BufferedImage image1 = UtilImageIO.loadImage(%22data/train-out/green-1-20161231_114459_4.jpg%22);%0A%0A        //BufferedImage image2 = UtilImageIO.loadImage(%22data/train-out/green-1-20161231_114506_1.jpg%22);%0A        //BufferedImage image2 = UtilImageIO.loadImage(%22data/train-out/green-1-20161231_114459_2.jpg%22);%0A        BufferedImage image2 = UtilImageIO.loadImage(%22data/train-out/green-1-20161231_114506_4.jpg%22);%0A%0A        GrayU8 gray1 = ConvertBufferedImage.convertFromSingle(image1, null, GrayU8.class);%0A        GrayU8 gray2 = ConvertBufferedImage.convertFromSingle(image2, null, GrayU8.class);%0A        GrayU8 diff = gray1.createSameShape();%0A%0A        PixelMath.diffAbs(gray1, gray2, diff);%0A%0A        ListDisplayPanel panel = new ListDisplayPanel();%0A        panel.addImage(image1, %22Image 1%22);%0A        panel.addImage(image2, %22Image 2%22);%0A        panel.addImage(gray1, %22Gray 1%22);%0A        panel.addImage(gray2, %22Gray 2%22);%0A        panel.addImage(diff, %22Diff%22);%0A%0A        ShowImages.showWindow(panel, %22Binary Operations%22, true);%0A    %7D%0A%7D%0A

Add simple CardDiff