1. Introduction
Modern computer vision has shifted from purely signal-based approaches to those that explicitly incorporate the intricacies of human visual perception (HVP). A key takeaway from this shift is that ignoring the biological limitations of the human observer results in less effective image processing and evaluation. Metrics that mirror subjective human judgment, such as the mean opinion scores (MOS) and differential mean opinion scores (DMOS), continue to serve as the benchmark for validating objective algorithms [
1,
2,
3].
This human-centric paradigm is critical in high-stakes domains such as medical diagnostics (e.g., mammography), automated industrial quality control, and pattern recognition, where visual fidelity directly affects clinical or operational outcomes. However, in real-world scenarios such as cloud streaming, IoT surveillance, and clinical imaging, a “pristine” reference image is often unavailable. This need has led to no-reference (NR) methods that assess quality or similarity using perceptual principles, information theory (entropy), and natural-scene statistics (NSS).
Pixel-based similarity [
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14]: These full-reference (FR) metrics, such as the PSNR and the mean squared error (MSE), are widely used for their computational simplicity. However, they lack a perceptual basis and often fail to capture spatial dependencies. The SSIM shifted focus toward evaluating luminance, contrast, and structural information. While the SSIM is more perceptually aligned, it remains sensitive to geometric shifts and requires perfectly aligned reference pairs.
Histogram-Based Similarity [
15,
16,
17]: This approach uses histograms to represent the overall statistical distributions of color or intensity. Objects are described using histograms of visual features like SIFT [
18], SURF [
19], Spatial Envelope [
20], or HOG [
21], which provide some invariance to scale and rotation. These methods are effective for quick database searches and matching probability distributions, such as with the chi-square distance. However, they do not account for spatial relationships and can be affected by quantization effects [
22].
Feature-Based Similarity [
23,
24,
25,
26,
27,
28]: By extracting high-level primitives such as edges, corners, and shapes using algorithms like ORB (Oriented FAST and Rotated BRIEF), these methods are robust to illumination changes and affine transformations.
Deep learning–based similarity [
29,
30,
31,
32,
33,
34]: Semantic similarity learning uses convolutional neural networks (CNNs) to embed images in a structured feature space. Metrics such as LPIPS (learned perceptual image patch similarity) correlate strongly with human judgment but incur high computational costs, offer low interpretability (a “black-box” nature), and are vulnerable to adversarial perturbations.
The summary of the above-mentioned metrics is given in
Table 1.
This work aims to present (i) a survey and tutorial on image quality assessment; the background provides the essential mathematical scaffolding for readers to understand the evolution of IQA, and (ii) the adaptive contrast-weighted structural similarity (ACSSIM) framework lies in its ability to be integrated with various standard measures discussed in the background, such as PSNR, SSIM, and RMSE. By establishing these metrics early, we provide the necessary context for how ACSSIM enhances them.
- B.
The ACSSIM Framework: A Conceptual Preview
To bridge the gap between computationally expensive deep learning models and overly simplistic traditional metrics, this paper also introduces the ACSSIM framework.
Unlike traditional static metrics, ACSSIM acts as a perceptual wrapper that can be integrated with any baseline metric (e.g., PSNR, SSIM, or RMSE). By leveraging local entropy and Weber-law-based contrast weighting, ACSSIM dynamically adjusts the significance of image regions according to the human visual system sensitivity. It effectively “masks” noise in high-visual-complexity areas while emphasizing structural degradation in salient regions.
The ACSSIM framework formalizes this by decomposing the reference image
and distorted image
into non-overlapping blocks
. For each block, a baseline similarity score
) is calculated using a standard FR metric. The final global score is then derived as a perceptually-weighted average:
where the weight
is a function of the following:
- (a)
Local contrast (alpha): Derived from a modified Weber-law or the Agaian–Panetta contrast measures, ensuring that high-contrast areas, where the HVS is more sensitive to structural changes, are prioritized.
- (b)
Local entropy (eta): Acting as a proxy for information content; blocks with higher entropy (higher complexity) are weighted to account for the HVS’s reduced sensitivity to noise in busy textures.
- C.
Primary Contributions
Unified Theoretical Review: A cohesive analysis of classical FR and modern NR methods.
Methodological Innovation: The introduction of the lightweight ACSSIM framework, which enhances sensitivity to perceptually significant distortions without the overhead of deep learning.
Empirical Validation: Rigorous testing on the TID2013 and KADID-10k benchmarks shows that ACSSIM greatly surpasses standard SSIM in matching human subjective scores. The results also confirm that low-complexity, perceptually motivated extensions can close the gap between efficiency and accuracy in resource-constrained environments.
The remainder of this paper is organized as follows.
Section 2 reviews established full-reference (FR) metrics, focusing on the mathematical properties of PSNR, SSIM, and RMSE, as well as the robust characteristics of the Huber loss function.
Section 3 explores distance metrics in feature space, providing a comparative analysis of Euclidean and Chebyshev distances and the application of the Minkowski distance across multimodal data types, including image, audio, and text.
Section 4 discusses the discrepancy between subjective and objective assessment, detailing the MOS/DMOS standards used for validation.
Section 5 establishes the perceptual foundations of vision, extending beyond classical Weber’s and Michelson’s laws to incorporate modern psychophysics. This section also introduces local information entropy and its intrinsic relationship with visual contrast.
Section 6 examines no-reference (NR) measures, specifically the EME, EMEE, and AMEE contrast measures developed by Agaian and Panetta.
Section 7 introduces the core contribution of this work: the ACSSIM framework, which hybridizes FR and NR assessment strategies. This section also presents the experimental results and discussion, using the TID2013 and KADID-10k benchmarks for validation. Finally,
Section 8 provides concluding remarks and suggests directions for future research.
2. Full-Reference Metrics
Recent advances in computer vision and image processing have moved away from traditional methods that treat image signals as physical quantities interacting with observers via mathematical models. This shift reveals an important insight: ignoring the human observer can impede progress in image processing research. Understanding and measuring this subjective experience is crucial for developing better image processing techniques, improving visual quality, benchmarking algorithms, and monitoring image quality in real-time applications. Since humans are the ultimate users of visual content, their subjective experience is vital. Image similarity measures and assessments are specific computer vision methods that offer a numerical, quantitative evaluation of how alike two images or image patches are. These techniques are essential for automating tasks like the content-based image retrieval (CBIR), duplicate detection, and medical image registration. The primary objectives of the image similarity measures are as follows:
- (1)
To translate the subjective visual similarity between two images into an accurate, objective, and comparable numerical value;
- (2)
To identify near-duplicate images, even those with varying resolutions, formats, or minor modifications such as cropping or brightness adjustments, within extensive databases;
- (3)
To provide a metric that assists image analysis algorithms, such as those used in medical imaging, to align images of the same subject captured at different times or modalities, and to emulate human perception when evaluating the quality of restored or compressed images compared to the original.
In recent years, significant progress has been made in objective image quality assessment, especially in full-reference metrics designed to approximate human subjective quality judgments. These measures—such as the PSNR, SSIM, and RMSE—are widely used in computer vision, medical imaging, and multimedia processing [
1,
2,
3]. However, despite their popularity, traditional FR metrics often fail to accurately capture perceptual similarity. They are sensitive to small geometric misalignments, illumination changes, and content-preserving transformations, and they frequently rank images in ways that conflict with human preference, for example, assigning higher scores to overly smooth images than to realistically textured ones.
Full-reference, or pixel-based, metrics are essential tools for measuring image similarity and quality. These metrics compare pixel values between a test image and a perfect reference image, providing numerical measures of image quality and resemblance. While they are computationally efficient and mathematically precise, they face challenges in capturing how humans perceive image quality. In machine learning, pixel-based metrics are often used as cost or loss functions to guide model training. Defining and measuring image similarity involves considering several important factors. First, we need to identify and quantify the similarities by choosing suitable metrics, such as the Euclidean distance for direct pixel differences or the cosine similarity for comparing vectors based on angles. Second, the choice of a suitable metric depends on the characteristics of the data, such as type, scale, distribution, and dimensionality. Third, when implementing this, it is necessary to analyze various image transformations, variations, and noise. Additionally, practical issues such as missing data, outliers, and normalization must be carefully addressed.
The human visual system can distinguish between original images and distorted ones, such as blurred, rotated, or shifted images.
Figure 1 illustrates the challenges associated with traditional pixel-wise image similarity measures. Computational methods that rely on pixel-based metrics struggle to match this ability. Ideally, these metrics should stay consistent despite differences in amplitude or intensity, while still detecting structural differences that affect perceived quality. These metrics should remain unchanged when the amplitude or intensity changes, ensuring that similarity calculations focus on relative differences rather than absolute pixel values. For example, a strong similarity measure should identify two identical images as very similar, except for a brightness adjustment.
2.1. Image Similarity Measurement PSNR and SSIM
Pixel-based measures are the most straightforward method for comparing images, as they involve examining each pixel individually, much like analyzing every brush stroke in two paintings. This approach treats each image as a collection of numerical values that represent color and brightness at every point.
Definition 1. The MSE between two images and of size pixels each is defined as We also consider a full-reference metric for predicting image perceived quality, namely the structural similarity index measure (SSIM). Introduced in 2003, this measure has changed the approach to evaluating image quality using machines [
3,
4]. This measure addresses the limitations of pixel-based methods; it more effectively reflects human perception of images. Instead of analyzing individual pixels, SSIM assesses the structural relationships within images, such as pixel connections and pattern organization. It emphasizes three key elements: luminance (brightness), contrast (variations in light), and structure. By focusing on these aspects, SSIM produces scores that generally align more closely with human judgments than traditional pixel-based comparison techniques.
Definition 2. The SSIM between two images and with the dynamic range , is calculated aswhere and are the means and and are the sample variances of and , respectively. is the covariance of and Two coefficients and are considered to be and . As an example, we consider the RGB color image
of size 1146
1369 pixels and range [9, 255], which is shown in
Figure 2a with its color components in parts (b–d). The values of the similarity metrics SSIM and MSE between the color components are given in
Table 2. For this flower image, the highest similarity is between the red and green colors, and the lowest between the red and blue colors.
We also consider the gray component of the color image. This component can be calculated as the average of the colors, which is
. The intensity of the image can also be used for the grayscale component, which is calculated by
. The gray and intensity images of the color image are shown in
Figure 3 in parts (a) and (b), respectively. The difference in these images (in absolute scale and multiplied by 9) is shown in part (c).
The data of the similarity metrics for these images are given in
Table 3. One can see from this table that the high similarity, 0.9871, has a place for the gray and intensity components of the image. The color red is similar to gray, and the green is similar to the intensity.
The negative gray flower image,
, is shown in
Figure 3d. Should the negative image be considered similar to the original? The answer is that it should not. The coefficient of similarity of these images
.
It should be noted that our visual perception of images may not quite fit into the above metrics. We consider the example of images shown in
Figure 4. The original image
in part (a) was processed with the 8-direction compass gradient and after rounding this gradient image
is shown in part (b). Its binary image
, after using the threshold
, is shown in part (c). The same binary image in the negative format is shown in part (d).
The data of similarities of these four images are given in
Table 4. The score of similarity of the images
and
is negative and small,
. Also, we have a small score of
The pair of ‘exactly similar’ images
and
are estimated with the negative score of
and minimum
. According to the data in this table, these four images bear no resemblance whatsoever.
Figure 5 demonstrates the limitations of the MSE and the advantages of the SSIM. The original image of a bird is shown in part (a) together with five distorted versions of the image in parts (b–f), for comparison. All five of these images have the same
, but they demonstrate noticeably different visual quality and structural fidelity. Human observers perceive significant differences; some images are only slightly fuzzy, while others appear severely damaged or misaligned. This example illustrates why relying solely on the MSE can be misleading for assessing image quality.
The PSNR measures how well the original signal (image or video) is preserved when it is altered or compressed. It compares the maximum possible signal power to the noise or distortion power. This is done using a logarithmic scale in decibels. The PSNR is primarily used in image compression techniques to evaluate the quality of an image or video reconstruction.
Definition 3. The PSNR of the original image and a distorted one is calculated by When calculating the PSNR metric, it is also assumed that the noise in the signal is independent, which is not always the case in real-world scenarios, where the noise can be structured or correlated in ways that the PSNR cannot detect. Due to these shortcomings, alternative metrics, such as SSIM, are often used to assess image quality more accurately from a human perspective.
2.2. Root Mean Squared Error
In this section, we consider other metrics between images of pixel each and with the range .
Root mean square error in AI: It is a key metric used across artificial intelligence and data analysis to assess the accuracy of a model’s predictions against actual data. Essentially, the RMSE is the square root of the MSE, making it more interpretable since it provides error in the same units as the data being predicted.
Definition 4. The RMSE of two images and is calculated by Here, Xi,j and Yi,j represent the predicted and actual values, respectively.
Root mean square logarithmic error (RMSLE) is a common evaluation metric in regression tasks, which operates on the logarithms of predicted ,…, ) and actual (,…, ) values, similar to the RMSE.
Definition 5. The RMSLE is calculated by This formulation helps dampen the impact of large errors by compressing the value scale. The RMSLE is particularly effective when the target values exhibit exponential growth or large range variability.
Mean absolute error is another widely used loss function, especially in image processing and regression applications. It quantifies the average magnitude of absolute differences between corresponding elements of datasets without considering direction.
Definition 6. The MAE between two images and of size pixels each is calculated by Figure 6 shows the original grayscale image of the flower,
, of size
pixels in part (a). The range of this image is 255. The smoothed image,
, is shown in part (b). This image was calculated by using the mean operation with window 3 × 3. In part (c), the image
is shown after thresholding as
Also, the following two images are shown after calculating with the threshold
Table 5 shows the metrics between the image
and images
,
,
, and
. The metrics of similarity of the image
with its binary representation
are also given. As expected, the best similarity is observed between images
and
. We also note the high values of the metrics between image
and
compared with the metrics between
and
.
Figure 7 shows the original grayscale image,
, ‘flowers.tiff’ of size
pixels in part (a). The intensities of this image are in the interval [9, 255] and the mean
. The smoothed image,
, is shown in part (b). The images in parts (c–e) are also calculated by Equations (8) and (9) (with the threshold
It should be noted the following. The image
in part (e) is the binary copy of the image
shown in part (d). However, the similarity metric SSIM between images
and
is smaller than SSIM between image
and
, that is,
Table 6 shows the metrics between the ‘flowers’ images of
Figure 7.
Figure 8 shows the grayscale thermal panel image ‘dji-0008.jpg’ of size
pixels in part (a) which was enhanced by using the histogram equalization and Fourier transform-based alpha-rooting method [
35]. The histogram equalization is shown in part (b). The images of 0.70- and 0.76-rooting are given in parts (c) and (d), respectively. The method of
-rooting by the Fourier transform of the image
is described as follows:
Here,
and
is the 2D discrete Fourier transform (DFT) calculated by
The inverse transform is calculated by
In the -rooting, the module of the transform is processed exponentially , and the phase function is preserved.
The numbers in the titles of these images show the corresponding values of the enhancement measure EME which was calculated by using the blocks of size
. The EME measure of the image
is calculated by averaging the max/min ratios of the image values inside the blocks
on which the image is divided. Thus, the following formula is used for this measure [
35,
36]:
The constant
can be considered equal to 1. This measure has been used for image enhancement together with many other measures (which are discussed in detail in
Section 6).
Here, we want to see how the EME measure correlates with scores from the above mentioned metrics. The original image of low quality with
, and for enhanced images
, and
At point
the
function as the function of
has the maximum value, as shown in
Figure 9. Therefore, we can consider the
-rooting image,
, as a reference image.
Next, we analyze the above similarity metric for the images shown in
Figure 8.
Table 7 shows the metrics between all these images. According to these metrics, the greatest similarity is observed between two images which are processed by using the 0.70-rooting and the histogram equalization method, that is,
and
. For these two images, the PSNR is higher and MSE and MAE are smaller, than for other images. However, our personal perception suggests a strong similarity between images of 0.70-rooting and 0.76-rooting with high values of EME.
Figure 10 illustrates how the MAE responds to outliers in a regression scenario. The MAE metric is frequently used to evaluate the performance of regression algorithms, including linear regression, decision trees, and deep learning models. While both MAE and MSE have their merits and limitations, the choice between them often depends on the nature of the task and the importance of penalizing large errors.
Table 8 summarizes the main features of the MAE, MSE, and RMSLE metrics.
A. Histogram-based similarity is a technique in computer vision and data analysis that measures how alike two datasets are, often involving image color, intensity, or statistical distributions, by comparing their histograms. Comparison of histograms of two images, and (e.g., intersection, chi-square distance, see below definition), is invariant to small spatial changes but fails when spatial composition differs significantly. The similarity is calculated by using the following concepts.
This is a non-parametric, non-linear distance metric commonly used to compare histograms, probability distributions, or categorical data. It quantifies the difference between observed and expected frequencies, assigning greater importance to less expected values. In machine learning and computer vision, it is often employed to compare feature histograms, like color histograms, and performs well with sparse data.
In general, histogram-based similarity metrics offer numerous advantages, including low computational cost, which makes them ideal for large databases. Because histograms represent feature distributions rather than precise positions, they are robust against changes in object placement or orientation. These metrics are particularly effective at detecting shifts in overall image composition or lighting conditions. Additionally, histograms consume significantly less storage compared to raw pixel data. They are adaptable and can be applied across various color spaces, such as RGB, HSV, and CIELAB, and can be combined with other features, such as texture, to enhance accuracy.
3. The Euclidean and Chebyshev Distances
In this section, we describe different distances that are used in multi-dimensional spaces. These distances are well-known functions in the metric space, which play an important role in mathematics [
37]. We consider an
-dimensional metric space
of vectors, or
-tuples,
with real numbers, when
.
Definition 8. A metric space is a set and a single-valued non-negative function which is called a distance and satisfies the following conditions:
- (1)
only if
- (2)
, where
- (3)
, for
Consider -dimensional spaces, or -spaces, with the following examples:
- (a)
The Euclidean space with the distance
- (b)
For the distance (the Minkowski distance)
- (c)
The Euclidean distance is the Minkowski distance for the case. Another particular case, when refers to the Manhattan distance,
- (d)
The distance, also called the Chebyshev distance [
7],
It is the limiting case of the Minkowski distance, namely,
The Chebyshev distance measures the largest difference between components of the vectors. It is also known as the maximum metric. Imagine comparing two paintings and focusing only on the single brushstroke that shows the greatest difference. Unlike other metrics that add or average differences, the Chebyshev distance considers only the maximum discrepancy. This makes it especially useful in cases where even a single large difference is critical, such as in quality control, security, or anomaly detection [
7].
Let us calculate the Chebyshev distance between the above images
and
and between
and
Table 9 provides an overview of the Chebyshev distance, highlighting its strengths and limitations for various use cases.
Figure 12 shows the point
in a 3D space and the distances between this point and the original point
, which are calculated by the above metrics
,
, and
in part (a). The graphs of the metric
as the function of
is shown in part (b).
Figure 13 illustrates the shapes created by the Euclidean, Manhattan, and Chebyshev distances in a 2D space. Chebyshev distance provides AI with a precise focus on the worst-case difference. It prioritizes the most significant deviation over overall similarity, making it useful for applications that require high accuracy, safety, or threshold limits. Nonetheless, it is less suitable for general similarity tasks where total differences are more important. This helps demonstrate how AI systems “measure” similarity in multidimensional data.
- B.
Cosine Similarity [8]: Measuring Aligned Patterns. In the
-dimensional space with the metric (or the distance
) the concept of the angle
between two vectors
and
is defined similarly to the traditional 3D Euclidean space. The cosine of the angle
is calculated by the dot product of vectors,
as
Here, and are denoted as and , respectively, and are called the norms, or magnitudes of the vectors.
The cosine similarity is scale-invariant; doubling the values in one vector does not change its similarity to another because the angle between them remains the same. It is essential to note that the cosine function measures the similarity of two vectors, not the distance between them. This function does not satisfy the triangle inequality in Definition 7 and is, therefore, not a distance.
Example 1. Consider the 4-D vector and the noisy vector The cosine of the angle between these two vectors is calculated as follows: These vectors are not perfectly aligned, , but close to this; they are nearly identical vectors.
The cosine similarity metric is widely used in various areas, including natural language processing for comparing text documents, recommendation systems to identify similar user preferences, and clustering to group similar data points. Let us see how AI systems compare these images using two different methods: the Euclidean distance, which measures absolute differences, and the cosine similarity, which measures directional similarity.
Example 2. Consider the cosine similarity between the images , and from Example 1. The calculation result is as follows: Both results are relatively high, showing that , and share nearly identical patterns despite their brightness differences. The cosine similarity effectively recognizes that the image is just a brighter version of the image . This makes it extremely useful in situations where illumination changes, but the underlying structure remains constant, such as in facial recognition, where a person should be recognized in both shadowed and well-lit conditions.
- C.
Understanding the Difference
These two approaches show how AI can interpret images differently based on its goal. The Euclidean distance measures image similarity by considering absolute pixel values, making it sensitive to changes in brightness and exposure. The cosine similarity, on the other hand, assesses how closely the images follow the same overall pattern, ignoring their size differences. Imagine a photo of a cat, which was taken in dim light (the image ) and another in bright sunlight (the image ). In a Euclidean distance system, these photos look quite different because their pixel intensities vary. But with cosine similarity, they would appear remarkably similar; the structure, shape, and features of the cat remain the same. In real-world AI systems, both methods have their advantages. For example, the Euclidean distance can help detect changes in brightness or exposure in medical imaging. At the same time, the cosine similarity is effective for face recognition, text comparison, and pattern detection, where structure is more important than size. Ultimately, the choice between the distance and similarity depends on whether the AI needs to identify precise numeric differences or focus on consistent relational patterns.
Our method of measuring distances significantly influences an AI system’s behavior, explaining why AI performance varies across applications. Techniques effective for medical image comparison may not be suitable for family photographs or satellite imagery. Developers must evaluate various approaches to identify the most appropriate one, considering data types and project objectives. Larger, detailed images require more computational power, which can cause devices like phones to heat up during processing. The curse of dimensionality, previously discussed, also indicates that simple distance comparisons become less dependable with high-resolution, complex data. To address this, modern AI often integrates basic distance measures with advanced deep learning methods better suited for complex data. Understanding the Minkowski distance clarifies how AI compares, classifies, and groups data, underpinning common systems such as photo management, music recommendations, and medical diagnostics. While straightforward, its adaptability makes it a vital tool for AI development.
Modern AI systems often combine these approaches, creating sophisticated models that can adapt their “vision” to different tasks. They might use distance-based methods for precise technical measurements while simultaneously employing similarity-based approaches for pattern recognition, creating a more nuanced and human-like understanding of visual information. As AI continues to advance, these basic ideas of similarity and distance remain essential, providing the mathematical foundation that enables machines to interpret and navigate our visual environment with greater sophistication and reliability. Whether you are interested in how your devices operate or in how AI might influence your career, understanding these key ideas gives important insight into the systems that drive our increasingly AI-integrated world.
4. Subjective and Objective Image Quality Assessment
Image quality assessment has emerged as a crucial element in image processing and computer vision, focusing on evaluating image quality to ensure it meets human perceptual expectations. Contrast, one of the most essential psycho-physical factors influencing human vision, plays a dual role in this context. In machine-based applications, contrast is a measurable physical quantity derived from the captured optical signal or the numerical representation of the visual signal. Various factors can affect image quality, including compression, transmission, display, and acquisition processes. Therefore, precise image quality measurement has become essential in many image-based applications. Image quality assessment uses two primary methodologies: subjective and objective.
Subjective image quality assessment (SIQA) relies on human observers’ opinions of image quality. This process typically involves showing participants a set of images, gathering ratings based on predefined scales (e.g., a 5-point scale from “bad” to “excellent”), collecting comparative judgments through pairwise comparisons, and averaging individual ratings to compute the mean opinion score (MOS). The key aspects evaluated in the subjective assessment include the following:
Naturalness (the realistic appearance of enhanced images);
Detail preservation (the retention of fine details, textures, and edges); and
Visual appeal (the overall aesthetic improvement).
While SIQA is regarded the gold standard due to its direct link to human perception, it encounters several challenges: intrinsic subjectivity shaped by individual preferences and cultural backgrounds, variability stemming from viewing conditions, display devices, and lighting, a time-consuming and expensive implementation process, limited scalability for large datasets, and inconsistency in interpreting quality categories among non-specialist observers.
Objective image quality assessment uses computational models to automatically predict human perception of image quality. These models aim to mimic the human visual system and provide consistent, repeatable quality scores without relying on human observers. They typically extract relevant features from images, such as edges, textures, and color information, and analyze these to quantify various aspects of image quality, including sharpness, contrast, noise, and artifacts. They are quicker and less resource-intensive than subjective methods, more suitable for real-world applications due to their efficiency, and provide more standardized and reproducible results. Additionally, they are essential for a wide range of applications, including the following [
10,
11,
38,
39]: guiding the design of transformation functions, benchmarking image enhancement algorithms, optimizing image processing and transmission systems, and monitoring image quality in real-time applications.
Objective IQA methods are broadly categorized into three types based on the availability of a reference image:
Full-Reference (FR-IQA): FR-IQA methods require a pristine, undistorted reference image for comparison, making them suitable for applications where the original image is available, such as image restoration, denoising, and quality assessment of image reproduction systems. Popular FR-IQA metrics include PSNR, SSIM, and visual information fidelity (VIF) [
4,
8,
9,
10,
11,
12,
34].
Reduced-Reference (RR-IQA): RR-IQA methods use partial information extracted from the reference image, such as features or statistical properties, to assess the quality of the distorted image [
11]. This makes them suitable for scenarios where transmitting the full reference image is impractical due to bandwidth constraints or storage limitations. RR-IQA methods are often used in image and video communication systems, where only a limited amount of side information can be transmitted along with the compressed image data.
No-Reference (NR-IQA): NR-IQA methods, also called blind IQA, assess image quality without any reference image, making them the most challenging category of IQA methods [
35,
36,
38,
39,
40,
41]. NR-IQA is crucial for applications where a reference image is absent, such as images captured in uncontrolled environments, user-generated content analysis, and the quality assessment of historical or archival images. NR-IQA methods frequently rely on statistical models, natural scene statistics, and machine learning techniques to infer image quality from features extracted from the distorted image. Ongoing research in IQA, particularly in NR-IQA, focuses on developing more sophisticated models that better align with human perception and integrate machine learning techniques, continuously advancing the field and improving the visual quality of images across various industries, enhancing the visual experience for users across different applications and platforms.
Over the years, researchers have developed numerous IQA methods using traditional and deep learning approaches to achieve this goal, making IQA an expanding field of research. A notable innovation in this area is the entropy-based enhancement measure (EME) and its extended version, EMEE, introduced by Agaian in 1999 [
36]. These metrics combine Weber’s law, a model of human perception related to just-noticeable differences in stimulus intensity, and Shannon entropy, a measure of information content, to evaluate the effectiveness of image enhancement algorithms. They assess the improvement in local contrast and information content achieved by an enhancement algorithm, providing valuable insights into its performance.
This no-reference metric evaluates image enhancement quality by combining Weber’s law of local contrast with Shannon entropy, yielding an objective measure of enhancement effectiveness. The EMEE metric has proven particularly valuable for assessing the performance of image enhancement algorithms and has significantly advanced objective image quality assessment methods.
5. Perceptual Basis and Laws of Vision “Instead Of” Weber’s and Mickelson’s Laws
Weber’s law describes the human visual system’s sensitivity to changes in stimulus intensity. In image processing, it explains how we perceive local contrast. When a visual target is presented against a uniform background, its contrast is defined as the relative difference in luminance between the target and the background:
considering the maximum, minimum, and background luminance of the image
in a small, considered window
. The background is calculated as the mean of the block
The Weber–Fechner’ law determines the value of
, known as the just noticeable difference, at which the target object becomes just visible. An excellent survey commonly used in this context is presented here. This mathematical formula represents the minimum threshold (through the constant
) and the relationship between the initial amount and our ability to perceive changes.
Michelson contrast of an image
is calculated by
The existing definitions of contrast can be broadly divided into two main categories: global and local contrast measures. Global contrast measures are based on an image’s global characteristics (e.g., the maximum and minimum image values). A global contrast measure is usually defined as the ratio of the darkest to the brightest pixel in an image. The Weber-Fechner and Michelson contrasts are the first global definitions widely used in many applications, such as CE, IQA, and quantization. These can be computed using spatial, frequency, and multi-resolution or multi-scale representations.
Several alternative formulations for extended Weber contrast were proposed. These formulations better match human visual perception and offer improved computational efficiency. The proposed contrast measures of the image
in a small window
are calculated as
Here,
and
, and
is a small positive constant (often close to 1) that prevents division by zero and stabilizes the logarithm,
is a constant, typically 0 or 1,
image intensity at pixel
, and
α is a positive number to adjust the contrast enhancement. These extended formulations provide more flexibility and robustness in practical image-processing scenarios [
38,
39,
40].
The concept of the local contrast is also used for color images. We consider the RGB color model, wherein the image
is presented by three primary colors; red, green, and blue. The local contrast for color image is typically defined using a gray-level contrast applied to each color channel. Common approaches include [
39]
Here, represents the maximums of the prime colors of the image within a local block centered at pixel .
5.3. Entropy for Images
As is known, the statistical definition of entropy was developed by Ludwig Boltzmann in the 1870s as the logarithmic measure for a system with
states, each of which has probability
of being occupied [
42]:
In information theory, this fundamental concept is known as Shannon entropy (in 1948 [
43]). It is a measure of the number of bits to be sent for a message composed from letters of the alphabet
:
It measures uncertainty associated with random variables, specifically quantifying the expected value of information contained in a message. For integer-valued images with scale 255, and each intensity is the state and is the probability that a pixel has a gray level .
The contrast is the difference between light and dark areas in an image. Generally, a larger variance in gray intensities corresponds to higher contrast. While related, entropy and contrast are not directly interchangeable. An image with high contrast often has higher entropy, but this is not guaranteed. An image with minimal difference between its maximum and minimum intensities shows low contrast and likely low entropy. However, creating images with high contrast but low entropy is possible, as is creating images with low contrast but high entropy. A higher entropy value, , indicates more information (often, though not always, perceived as greater detail) in the image, reflecting greater uncertainty in pixel values.
Illustrative Example: Consider two chest X-ray images: one with clearly detailed lung structures and the other overexposed, appearing mostly homogeneous. The detailed image will have pixel values distributed across a broader range of gray levels, leading to higher entropy. For example, the probability distribution of pixel intensities might be , , , and so on, resulting in a higher entropy of about bits. The overexposed image, however, might have concentrated on most pixels in a narrow range of high-intensity values (e.g., , ), yielding a much lower entropy bits. This demonstrates how entropy can quantify the difference in information content between two images.
- B.
Limitations of the entropy
Entropy has traditionally been used to assess image quality or complexity and identify potentially informative regions. However, a significant limitation of entropy is that it considers only the frequency of gray levels and completely ignores the spatial relationships between pixels. It does not account for structural information or local contrast variations crucial for human visual perception. As a result, two images with vastly different visual structures can have the same entropy value. Any rearrangement of the image does not change the entropy. Images might have identical entropy values despite appearing quite different to human observers.
Figure 18 shows five images with very different structures that produce the same entropy value.
7. Adaptive Contrast-Weighted Structural Similarity Measure
Image similarity and quality assessment remain challenging because they require balancing low-level signal fidelity with perceptual relevance. Traditional full-reference metrics often rely on pixel-wise or structural differences that do not always align with human visual perception, particularly when images contain multiple distortion types, local contrast changes, or domain-specific degradation patterns. Similar limitations have been widely discussed in both full-reference and no-reference quality assessment, particularly when objective scores lack reproducibility or fail to generalize across content and distortion conditions [
54].
No-reference image quality assessment addresses part of this limitation by estimating perceptual quality directly from the distorted image. Earlier NR-IQA methods used natural scene statistics, sharpness, blur, gradient profiles, and transform domain statistics to capture perceptually meaningful degradation without requiring a pristine reference [
55,
56,
57,
58]. More recent approaches, including transformer-based and deep-learning-based models, have improved perceptual alignment but often introduce higher computational complexity and reduced interpretability [
59,
60,
61,
62]. These observations motivate the development of a similarity measure that combines the interpretability of classical full-reference metrics with perceptually motivated no-reference weighting.
In this section, we introduce the adaptive contrast-weighted structural similarity measure (ACSSIM). The method integrates local structural similarity with contrast-based weighting derived from no-reference image characteristics. By combining these components, the ACSSIM aims to improve sensitivity to perceptually relevant distortions while maintaining the simplicity and interpretability of classical full-reference metrics.
Let and be the reference and distorted images, respectively. The ACSSIM framework operates by decomposing the images into local regions and computing a weighted similarity score based on both structural and contrast information. The novel similarity metric of these images can be calculated as follows:
Splitting the images into blocks of pixel each, where .
Calculating the local contrast terms for the images and in each window , denoted by and , respectively. Here, the metric (Equation (25)); the AMEE metric can also be used, (Equation (31)).
Calculating the local image similarity measures (ISM)
or
Averaging the local similarity responses using normalized contrast-adaptive weights over all windows to obtain the final ACSSIM value:
To evaluate the behavior of the proposed metric, a controlled experiment was conducted using synthetically generated distortions applied to a single reference image (
Figure 23). The distortions include intensity changes, contrast variations, additive noise, blur, and compression artifacts. The distortions were designed so that their mean squared error (MSE) values are approximately equal, enabling a controlled comparison in which pixel-wise fidelity remains constant while perceptual quality varies.
The results of this experiment are summarized in
Table 17. A key observation is that classical fidelity-based metrics such as MSE and PSNR produce nearly identical values for several different distortions, as expected from the controlled design of the examples. However, the perceived quality of the images differs noticeably, showing that these pixel-error metrics are not sufficiently sensitive to structural and perceptual changes. SSIM responds more strongly to structural degradation, but its lowest score is obtained for the noisy image, although the visual examples suggest that blur and JPEG compression introduce more severe perceptual degradation. In contrast, the proposed ACSSIM metric provides a more consistent ordering of distortion severity by assigning progressively larger distortion scores from mild luminance and contrast changes to stronger noise, blur, and compression artifacts.
A qualitative comparison of distortion severity is presented in
Table 18. The table includes human visual analysis and AI-assisted analysis to provide an additional subjective interpretation of the examples. Both analyses show strong agreement with the ACSSIM-based ranking for mild distortions, such as mean shift and contrast change, as well as for the intermediate noise case. Minor differences appear for blur and JPEG compression, where the perceived severity depends on whether loss of fine detail or visible compression artifacts is considered more disturbing. This result highlights the complexity of perceptual quality assessment and supports the need for structure- and contrast-aware similarity measures.
To further validate the proposed method, ACSSIM was evaluated on the TID2013 and KADID-10k datasets, two widely used benchmarks for image quality assessment. TID2013 contains 25 reference images and 3000 distorted images across 24 distortion types, with associated subjective scores [
62]. KADID-10k contains 81 reference images and 10,125 distorted images across 25 distortion types and five degradation levels, with associated subjective scores [
63]. A quantitative comparison was conducted using representative full-reference IQA methods implemented via the comprehensive image quality assessment toolbox pyiqa (see
Table 19). As ACSSIM is a full-reference metric, comparison with established FR-IQA methods provides the most appropriate evaluation setting. The goal of ACSSIM is not to compete with complex learned models, but rather to enhance the classical SSIM framework while preserving key advantages such as simplicity, interpretability, and low computational cost. In this sense, ACSSIM can be viewed as a lightweight extension of structural similarity that incorporates local contrast weighting. On TID2013, ACSSIM achieves PLCC = 0.6995 and SRCC = 0.6709, improving upon the SSIM baseline (PLCC = 0.6558, SRCC = 0.6269). On KADID-10k, ACSSIM achieves PLCC = 0.5984 and SRCC = 0.6778, also improving upon SSIM (PLCC = 0.5755, SRCC = 0.6188).
Although ACSSIM does not outperform stronger FR-IQA methods such as MS-SSIM, FSIM, GMSD, PieAPP, and TOPIQ-FR, its value lies in its simplicity and interpretability. From a computational perspective, ACSSIM remains close to SSIM, since it adds only a local contrast weighting step and does not require deep feature extraction, model training, or complex multi-scale processing. Moreover, many learned IQA methods are trained or calibrated on large-scale synthetic distortion datasets, including KADID-10k or datasets with similar distortion types, which can provide an advantage when evaluated on such benchmarks. Therefore, these results support ACSSIM’s intended role as an efficient and interpretable enhancement of a classical similarity metric, rather than a replacement for advanced data-driven approaches.
Figure 24 presents the distortion-wise SRCC values obtained on TID2013 for the baseline MSE and SSIM metrics, as well as their corresponding contrast-adaptive weighted ACSSIM variants. The proposed normalized ACSSIM formulation improves rank-order prediction across several distortion categories, showing its strongest gains for contrast change, where ACSSIM (SSIM) improves over SSIM by 0.1044 SRCC, and for quantization noise, where the gain reaches 0.0850 SRCC. Additional positive gains are observed for sparse sampling and reconstruction, JPEG/JPEG2000-related distortions, and multiplicative Gaussian noise, indicating that contrast-adaptive local weighting can better emphasize perceptually relevant regions for several structured or compression-like degradations. However, the improvement is not uniform across all distortion types. In particular, local block wise distortions show a decrease relative to SSIM, and smaller negative or near-neutral gains are also observed for impulse noise, additive noise in color components, and mean shift. These cases suggest that the current grayscale, contrast-weighted formulation is less effective for distortions that are highly localized, color-component dependent, or globally uniform, motivating future extensions with color-aware weighting and distortion-adaptive pooling.
Despite its advantages, the ACSSIM framework possesses specific limitations that warrant consideration:
Parameter sensitivity: The framework’s performance is partially dependent on the selection of the weighting constants for contrast and entropy. Sub-optimal parameter tuning may lead to “over-masking” in certain high-texture regions, potentially ignoring structurally relevant noise.
Block size dependency: The accuracy of the local NR descriptors (EME/AMEE) is sensitive to block-size selection. If the block is too small, entropy measures become statistically insignificant; if too large, the “local” nature of the HVS masking is lost.
Global illumination shifts: Like many FR-based metrics, the ACSSIM may be overly sensitive to uniform global luminance shifts that do not necessarily degrade the semantic content of the image but significantly alter the local Weber-contrast weights.
To address these limitations and expand the utility of the framework, several avenues for future research are identified:
Automated parameter optimization: Investigating “shallow” machine learning techniques to dynamically tune ACSSIM weights based on the detected distortion category.
Integration of saliency maps: Incorporating visual attention models to weight regions of interest more heavily, further aligning the metric with human foveal perception.
Extension to hypercomplex domains: Applying ACSSIM within quaternion or octonion algebraic frameworks to better handle multi-channel color dependencies and image restoration.
Temporal consistency for video: Adapting the framework for video quality assessment (VQA) by introducing temporal entropy weights to account for motion-based artifacts.
Cross-domain validation: Testing robustness in specialized fields, such as medical imaging (MRI/CT) and remote sensing, where the preservation of high-frequency structural detail is a diagnostic necessity.