} else { logger.info ("No image rotation needed.");
    public Skew buildInfo ()        throws omr.ProcessingException    {        // Needed out for previous steps        Picture picture = sheet.getPicture();        Scale scale = sheet.getScale();        // Parameters        minSectionLength = scale.fracToPixels(constants.minSectionLength);        // Retrieve the horizontal lag of runs        hLag = new GlyphLag(new HorizontalOrientation());        hLag.setVertexClass(StickSection.class);        new LagBuilder<GlyphLag, GlyphSection>().rip                (hLag,                 picture,                 scale.fracToPixels(constants.minRunLength), // minRunLength                 new JunctionRatioPolicy(constants.maxHeightRatio.getValue())); // maxHeightRatio        // Detect long sticks        maxThickness = scale.mainFore();        detectSticks();        if (logger.isFineEnabled()) {            logger.fine("angle=" + angle);        }        // Produce histogram of slopes        if (constants.plotting.getValue()) {            writePlot();        }        logger.info("Skew angle is " + (float) angle + " radians");        // Display the resulting lag        if (constants.displayFrame.getValue() &&            Main.getJui() != null) {            displayFrame();//         } else {//             houseKeeping();        }        // De-skew the picture if necessary        if (Math.abs(angle) > constants.maxSkewAngle.getValue()) {            picture.rotate(-angle);        }        // Report the computed info        return new Skew(angle);    }