Documentation of 'Catalano.Imaging.Tools.ObjectiveFidelity' Java class
ObjectiveFidelity
Catalano.Imaging.Tools

Class ObjectiveFidelity



  • public class ObjectiveFidelity
    extends java.lang.Object
    Objective Fidelity Criteria. The Objective criteria, although widely used, are not necessarily correlated with out perception of image quality. For instance, an image with a low error as determined by an objective measure may actually look much worse than an image with a high error metric. References: http://uotechnology.edu.iq/sweit/lecture%202013n/4th%20Image%20Processing%20_Lectures/DIP_Lecture13.pdf
    • Constructor Detail

      • ObjectiveFidelity

        public ObjectiveFidelity(FastBitmap original,
                                 FastBitmap reconstructed)
        Initialize a new instance of the ObjectiveFidelity class.
        Parameters:
        original - Original image.
        reconstructed - Reconstructed image.
    • Method Detail

      • getOriginalImage

        public FastBitmap getOriginalImage()
        Get Original image.
        Returns:
        Original image.
      • setOriginalImage

        public void setOriginalImage(FastBitmap original)
        Set Original image.
        Parameters:
        original - Original image.
      • getReconstructedImage

        public FastBitmap getReconstructedImage()
        Get Reconstructed image.
        Returns:
        Reconstructed image.
      • setReconstructedImage

        public void setReconstructedImage(FastBitmap reconstructed)
        Set Reconstructed Image.
        Parameters:
        reconstructed - Reconstructed image.
      • getTotalError

        public int getTotalError()
        Calculate total error.
        Returns:
        Total error.
      • getMAE

        public double getMAE()
        Calculate mean absolute error.
        Returns:
        Mean absolute error.
      • getMSE

        public double getMSE()
        Calculate Root mean square Error.
        Returns:
        MSE.
      • getSNR

        public double getSNR()
        Calculate Mean square signal-to-noise ratio.
        Returns:
        SNR.
      • getDSNR

        public double getDSNR()
        Derivative Signal noise ratio. D-SNR consider the sentivity of the human eye to the edges. Reference: A New Objective Fidelity Criterion For Image Processing: Derivative SNR - Hakki Tarkan Yalazan, and Melek D. Yucel.
        Returns:
        D-SNR.
      • getPSNR

        public double getPSNR()
        Calculate PEAK signal-to-noise ratio.
        Returns:
        PSNR.
      • getPSNR

        public double getPSNR(int l)
        Calculate PEAK signal-to-noise ratio.
        Parameters:
        l - Number of gray levels.
        Returns:
        PSNR.
      • getUniversalQualityIndex

        public double getUniversalQualityIndex()
        Calculate Universal Quality Index. References: Wang, Zhou, and Alan C. Bovik. "A universal image quality index." Signal Processing Letters, IEEE 9.3 (2002): 81-84.
        Returns:
        Universal Image Quality Index.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.