Module org.testfx

Class PixelMatcherResult

    • Constructor Detail

      • PixelMatcherResult

        public PixelMatcherResult​(Image matchImage,
                                  long matchPixels,
                                  long totalPixels)
    • Method Detail

      • getMatchImage

        public Image getMatchImage()
        Gets the image whose pixels indicate matches and mismatches between the two original images.
      • getTotalPixels

        public long getTotalPixels()
        Gets the total number of pixels in the match image.
      • getMatchPixels

        public long getMatchPixels()
        Gets the total number of pixels that matched between the two original images.
      • getNonMatchPixels

        public long getNonMatchPixels()
        Gets the total number of pixels that did not match between the two original images.
      • getMatchFactor

        public double getMatchFactor()
        Gets the percentage of pixels that matched between the two original images.
      • getNonMatchFactor

        public double getNonMatchFactor()
        Gets the percentage of pixels that did not match between the two original images.