removal.setInputImage(inputImage);
removal.process();
BMPCodec codec = new BMPCodec();
codec.setImage(removal.getOutputImage());
codec.setFile(args[1], CodecMode.SAVE);
codec.process();
codec.close();
MeanDifference diff = new MeanDifference();
diff.setImages(inputImage, removal.getOutputImage());
diff.process();
System.out.println("Mean difference: " + diff.getDifference());