@Override public BufferedImage convert(BufferedImage source) throws FilterException { if (!init) { throw new IllegalStateException("Internal error. Called convert without init."); } if (done) { throw new IllegalStateException("Internal error. Called convert after done."); } logger.debug(this + " CONVERT"); ParamTest.compareInCollections(model, parameters, true); return source; }