class PaeQa implements Qa<Float, StaticColor> {

    @Override
    public TransientOperation<Float, StaticColor> evaluate(final BufferedImage left, final BufferedImage right) {
        // Check size
        CheckEqualSizePreprocessor equalSize = new CheckEqualSizePreprocessor(left, right);
        equalSize.process();
        equalSize = null;

        // Run metric
        PAEMetric metric = new PAEMetric(new SRGBColorConverter(new ConvenientBufferedImageWrapper(left)),
                                         new SRGBColorConverter(new ConvenientBufferedImageWrapper(right)),
                                         new Point(0, 0), new Point(left.getWidth(), left.getHeight()));

        // Evaluate
        return metric.execute();
    }

}