com.aspose.omr.imageprocessing

Class SkewCorrectionAlgorithm



  • public class SkewCorrectionAlgorithm
    extends Object

    Represent skew correction algorithm

    • Constructor Detail

      • SkewCorrectionAlgorithm

        public SkewCorrectionAlgorithm()
    • Method Detail

      • getSkewDegree

        public double getSkewDegree(OmrImage image,
                           Rectangle area)

        Calculates skew degree of an image

        Parameters:
        image - Image to process
        area - Area of image to process
        Returns:
        Calculated skew degree
      • process

        public OmrImage process(OmrImage image,
                       Rectangle area)

        Processes an OmrImage with skew correction algorithm

        Parameters:
        image - An image to process
        area - Area of image to be processed