Next Article in Journal
A Kernel-Aware Regularization Model for Chromatic-Robust Detection: Analysis of Grayscale-to-RGB Generalization
Previous Article in Journal
Dual-Scale Hybrid Concept Bottleneck Network for Explainable 3D Lung Nodule Malignancy Classification in CT Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dual-Input Neural Networks for Personalized Image Precompensation

1
Faculty of Computer Science, HSE University, Moscow 109028, Russia
2
Federal Research Center “Computer Science and Control” of the Russian Academy of Sciences, Moscow 119333, Russia
3
Institute for Information Transmission Problems of the Russian Academy of Sciences, Moscow 127051, Russia
4
Smart Engines Service LLC, Moscow 117312, Russia
*
Author to whom correspondence should be addressed.
J. Imaging 2026, 12(9), 456; https://doi.org/10.3390/jimaging12090456 (registering DOI)
Submission received: 5 August 2026 / Revised: 7 September 2026 / Accepted: 17 September 2026 / Published: 20 September 2026

Abstract

Image precompensation aimed at correcting refractive errors of the human eye seeks to transform a displayed image so that, after being blurred by the observer’s ocular optics, the image projection on the retina closely matches the original picture. The optimal precompensation varies for different refractive errors, so taking into account the specific refractive distortion introduced by a particular eye is called personalization. Existing personalized precompensation methods rely on deconvolution with built-in constraints or further tone mapping, which either produce artifacts or impose contrast loss. In this paper, we propose an approach for adapting modern two-input neural networks developed for non-blind image deconvolution to the problem of personalized image precompensation. The purpose of two inputs is the capability of independently feeding the neural-network model with the image to process and the personal characteristic function of the observer’s eye. Based on the proposed technique, three neural-network models (USRNet-PC, DWDN-PC, and KerUnc-PC) were developed, the adaptation of which was rather a unified approach than individual transformation of each architecture. These models were then comprehensively compared with other modern personalized precompensation methods on the basis of objective quality metrics, computational performance, and the results of simulation-based human studies. It has been shown that USRNet-PC provides the best subjective quality of perception and the shortest processing time on a GPU, while DWDN-PC demonstrates the highest computational efficiency on x86 and ARM CPUs. Thus, a new neural-network approach is proposed for solving the precompensation problem, which appeared to be superior in quality to previously known methods.

1. Introduction

Visual impairments such as myopia (nearsightedness), hyperopia (farsightedness), and/or astigmatism are very common: for instance, myopia alone affects 22.9% of the world’s population [1]. These anomalies of the human eye (called refractive errors) cause changes in the perceived image sharpness, which leads to impaired perception and degraded resolution of details in the observed scene. These negative effects are typically compensated for by lenses or contact lenses, although neither the former nor the latter fully compensate for complex anomalies. Moreover, when using virtual reality (VR) headsets, there may be not enough space for glasses, and their use often causes discomfort and reduces the immersion depth. Contact lenses are free of these drawbacks, but it was recently reported [2] that only 140 million of the 2.5 billion myopic people worldwide wear contact lenses. This is due to various reasons, including discomfort, vision problems, cost, and inconvenience.
VR headsets are rapidly evolving [3,4] and can now feature built-in correction systems that use custom lenses or adjust the position of the lens relative to the screen. However, astigmatism compensation remains a technical challenge [5]. On the other hand, modern headsets are striving to miniaturize down to the form factor of glasses [6], which precludes the integration of additional optical devices. Another example: optical correction of refractive errors can be difficult when using smartwatches, which can be useful during sports or at night when glasses or contact lenses are removed.
While optical correction methods deal with the observer’s eye, aiming at restoring its optical power to the “proper value”, there is another option to improve the perceived image. This approach, referred to as precompensation, implies embedding a specialized image transform into the device that displays the image to the observer. In this case, the displayed image is being transformed in such a way that, as a result of viewing by the human eye with refractive anomalies, an image (called a retinal image) close to the target one is formed on the eye retina (Figure 1). Of course, with this approach, only the perception of the displayed image is improved, and not of the entire environment as a whole.
Figure 2 illustrates the transformation of images during precompensation. Retinal images (c and d) simulate the visual perception of a myopic observer looking at images a and b, respectively. The precompensated image (Figure 2b) itself appears excessively contrasty and generally strange, but becomes much closer to the original image after being blurred by the observer’s eye (Figure 2d).
The optimal precompensation varies for different refractive errors, so taking into account the specific refractive distortion introduced by a particular eye is commonly referred to as personalization. To formally describe the refractive error of the eye, it is customary to consider the eye as a lens system that forms an image on the retina, which is generally considered flat (since the angular size of the image of an object on the retina is usually small). Then, refractive error is characterized by the point spread function (PSF), which is a two-dimensional retinal image of a point object [7]. An eyeglass prescription or an aberrometric examination report (see, e.g., [8]) provides sufficient information to calculate the PSF of the human eye.
Precompensation can be used not only to compensate for visual acuity impairments, but also to correct aberrations introduced by VR headset lenses (e.g., Google Cardboard [9]) and to correct defocusing in projectors and other optical systems [10].
The main problem with precompensation is that it cannot be accurately implemented in practice: for an ideal image to form on the retina, some pixels in the precompensated image must have a brightness significantly exceeding the maximum possible for the display, while others must have a negative brightness, which is physically impossible. This problem is more pronounced with increasing the refractive error.
It is important to note that practically possible (but imprecise) solutions to the precompensation problem vary significantly in terms of clarity, contrast, and artifacts in the resulting retinal image. This, in turn, places high demands on the metrics by which various precompensation methods are compared: since a perfect solution is impossible, the best one must be chosen in accordance with the features of human perception and verified through human studies.
Existing precompensation algorithms employ one of two basic approaches [11]. The first approach decomposes the precompensation problem into deconvolution without restrictions on the permissible luminance and subsequent tone mapping. This allows the deconvolution problem to be solved analytically using Wiener filtering. However, such decomposition lacks convincing mathematical rationale and seems to be a lucky guess without investigated limits of applicability. The second approach directly solves the deconvolution problem with built-in restrictions, using numerical optimization. The use of deep learning, which approximates the second approach, is recognized as promising [6], but to date, no personalized neural network methods have been proposed for solving the precompensation problem.
The architectures suggested for the related non-blind deblurring problem for the first glance could provide the personalized solution, because they have two inputs (image and PSF). However, they do not take into account the limitations on the permissible luminance range and therefore cannot be applied directly. So, the relevant challenge is constructing a dual-input neural network architecture that generates a precompensated image with the limited luminance range typical of conventional displays and comparing its quality and performance with previously known methods. However, a systematic comparison of previously known methods has not yet been performed, so implementing this is also a pressing task.
The novelty of this paper lies in investigating the effectiveness of using dual-input neural networks for personalized precompensation of refractive errors of the human eye. Given the progress in related fields, the highest quality of solution can be achieved by a neural network approach; however, all previously proposed architectures did not allow personalization at the inference stage. This is precisely what makes the dual-input architecture interesting for investigation. The detailed contributions we claim are listed at the end of the Related works section, in order to more clearly demonstrate the distinctions from prior work.

2. Related Works

In this section, we consider previously known precompensation algorithms. The full story of their development can be found in a recent detailed review [11]. In this paper, we provide just a brief overview of these algorithms and summarize their features in appropriate tables.
The first works by Peli et al. on image precompensation appeared back in the 1980s [12,13] and aimed to increase not the image sharpness, but rather its local contrast, taking into account the contrast sensitivity functions (CSF) of the human eye, understood as the average for the target group. Thus, these methods were fundamentally non-personalized. It is worth mentioning that local contrast enhancement methods continue to develop today [14], but with no connection to precompensation: for example, for underwater images [15,16].
The problem of sharpness compensation taking into account the CSF of a particular eye was first explored in the work of Alonso and Barreto [17]. The authors employed a convolutional model of retinal image formation [7] (that became commonly used in subsequent precompensation studies):
r ( x , y ) = t ( x , y ) h ( x , y ) ,
where r ( x , y ) is the retinal image, t ( x , y ) is the presented image, and h ( x , y ) is the PSF of the particular eye. Then, if the user is shown a specially precorrected image,
p ( x , y ) = t ( x , y ) h 1 ( x , y ) ,
then the user, with their imperfect eye, will see the original image. The authors consider this problem as, in some sense, equivalent to the inverse filtering/deconvolution problem.
In general, the inverse function h 1 ( x , y ) does not exist, and finding a solution requires a regularization. For instance, it can be the common L 2 regularization, which leads to the well-known Wiener filtering formula [18]:
P ( f x , f y ) = 1 H ( f x , f y ) | H ( f x , f y ) | 2 | H ( f x , f y ) | 2 + K T ( f x , f y ) ,
where P ( f x , f y ) , H ( f x , f y ) , and T ( f x , f y ) are the Fourier transforms of the functions p ( x , y ) , h ( x , y ) , and t ( x , y ) , respectively, and K is the regularization constant.
In their papers published in 2005, Alonso et al. [19,20] first articulated the problem of limited available display luminance. Since deconvolution can produce an image that exceeds the actual luminance range of the image carrier (a monitor screen or the like), the authors propose applying tone mapping to it, bringing it within the available luminance range. However, tone mapping, which linearly reduces the dynamic range to the target, leads to an unacceptable loss of contrast, while attempts to increase it through nonlinear transformations lead to pronounced artifacts (see Figure 3). For instance, the histogram clipping proposed in the work of Huang et al. [21] yields (according to contrast-sensitive metrics) quality at the level of the Peli-Peli algorithm [22].
It should be noted that the quality of retinal images resulting from the tradeoff between high-contrast and artifact-free images can be partially improved using specialized multilayer displays with spatially separated layers [23]. Such methods, which require specialized, expensive hardware, are not considered in this paper. We focus on purely software-based methods applicable to any device having a display with controlled pixel brightness.
Ji et al. [24], in their human studies, demonstrated that people prefer high-contrast images with some artifacts over clear, low-contrast images without artifacts. They investigated the impact of ringing artifacts arising in precompensated images and, for the first time, proposed a personalized precompensation algorithm that produces sufficiently contrast retinal images. To achieve this, the tone mapping selection problem was posed and solved as an optimization problem, which, for the first time, allowed obtaining high-quality precompensated images.
Montalto et al. [25] proposed setting the optimization problem not as a post-processing (after the deconvolution), but as a deconvolution problem with constraints. To reduce the severity of artifacts, the authors used the total variation of the precompensated image as a regularizer:
p m = arg   min | | p | | 1 | | h p t | | 2 + θ | | p | | 1 ,
where p m is the resulting precompensated image, h is the eye’s PSF, t is the original (reference) image, and θ is the regularization coefficient. The authors, as in [24], controlled the tradeoff between artifact suppression and contrast enhancement in the perceived precompensated images using the parameter θ . Later, Güzel et al. [6] managed to improve the Montalto algorithm in terms of retinal image quality by abandoning the use of regularization while keeping the constraints.
It should be noted that current optimization approaches do not provide the performance required for real-time applications: they require several seconds per image on GPUs. Xu and Li [26] proposed an analytically computable modification of the Montalto method with the aim of improving its performance. However, the proposed analytical solution did not take into account the limitations on the range of acceptable luminances. The illustrations provided in the paper only allow comparison of the algorithm’s quality with the work of [27], which solves the non-blind deblurring problem without constraints. Although it is stated that the precompensation quality was compared with the Montalto algorithm, no quantitative metrics are provided in the paper. The source code for reproducing their algorithm has also not been published.
Güzel et al. [6] proposed accelerating their algorithm by approximating it with a neural network of the UNet architecture. For a single fixed PSF, this resulted in a performance increase of several orders of magnitude, but the authors did not propose a universal, personalized neural network algorithm.
Tanaka and Kawano [28] proposed a precompensation method based on a convolutional neural network of the VDSR (Very Deep Super Resolution) architecture. However, this method is not personalized, but rather tailored to a specific PSF.
This exhausts the list of algorithms solving the precompensation problem in its standard formulation. Several studies have proposed incorporating additional factors into the model of the human visual system. For example, Huang et al. [29] proposed dynamically accounting for changes in pupil size during observation. Ye et al. [30] proposed additionally accounting for the visual significance (saliency) of various image regions, prioritizing contrast preservation in the most significant areas while accepting lower quality in less important areas. Güzel et al. [6] proposed refining the eye model in terms of chromatic aberrations. As a result, the solution to the problem begins to depend, among other things, on the color primaries of the monitor used. Finally, Jiang et al. [31] proposed taking into account the dependence of the PSF on the user’s gaze direction for near-eye displays. These scenarios will not be considered in this paper, as they all require a real observer and cannot be processed in a single automatic benchmarking pipeline.
An overview of the considered precompensation algorithms can be found in Table 1. From these, we selected for comparison those personalized algorithms showing an acceptable level of quality, provided they are described in sufficient detail to be reproducible: namely, the algorithms by Ji, Montalto and optimization method by Güzel (Güzel-Opt, later referred to as Güzel).
Table 2 presents how the existing precompensation methods were benchmarked in known studies. In most cases, the authors compared their algorithm with few cases: either only with the no-precompensation case or with one or two competitors. Moreover, the comparison was often performed on single images or mini-datasets (not exceeding 10 images) for one or more PSFs.
When comparing different algorithms, either numerical metrics or human subjects (the authors themselves or invited test subjects) served as judges of the precompensation quality. These subjects were typically individuals with normal vision, who were shown physically-modeled or computer-simulated retinal images. The only attempt to test the quality of precompensation on people with refractive errors was reported by Xu and Li [26]. However, this paper does not provide characteristics of the subjects’ refractive errors, which significantly complicates the interpretation of the results. Modern studies benchmark not only the precompensation quality but also the speed of the algorithms.
So, this overview allows us to conclude that the existing precompensation methods face critical limitations. Classical optimization approaches like Güzel et al. [6] achieve reasonable quality but require several seconds per image on GPUs, making them impractical for real-time applications. Modern neural network methods, such as VDSR [28] and UNet [6], are not personalized: they require retraining for each user, which limits their practical deployment. Moreover, there is no systematic comparison of a wide range of precompensation algorithms on a single diverse dataset of images and PSFs modeling refractive errors of varying severity, across a wide range of metrics and human studies, as well as in terms of performance. All these problems will be addressed in the current paper.
The contribution of this paper is as follows:
  • The use of dual-input neural networks for personalized precompensation of refractive errors of the human eye is proposed for the first time.
  • An approach for adapting neural network models of non-blind deblurring for the problem of personalized precompensation is proposed and tested.
  • A systematic comparison of state-of-the-art methods of personalized precompensation and new neural-network methods was conducted based on metrics and human studies.
  • Thus, a new neural-network method of precompensation was constructed, superior in quality to previously known methods.

3. Materials and Methods

3.1. Datasets

To solve the precompensation problem, besides the image to process, data on the PSF of the user’s eye are needed. Two datasets were used in our study: ImageNet-21k [32] and SCA-2023 [22]. The ImageNet-21k set was used exclusively for training neural networks (not used for testing). The SCA-2023 set contains examples of both presented images and PSFs (see Figure 4). Images from this set were used to test the models, while PSFs were used in both the training and testing phases.
To train the selected models, 1000 images were randomly picked from the ImageNet-21k dataset, which satisfied the following conditions: the aspect ratio ranged from 1:1 to 4:3, and the minimum size of the smaller side was at least 512 pixels. All the images were then reduced to a fixed size of 512 × 512 pixels. For this purpose, each image was first isotropically (with preservation of aspect ratio) scaled so that the smaller side reached 512 pixels, and then a fragment of the required size was cut out from the central portion of the scaled image. The scaling was based on bilinear interpolation. The final result of resizing is shown in Figure 5.
As a source of PSFs, we used data from the SCA-2023 dataset. From it, all 768 available PSFs were selected, from which 384 samples were randomly picked for training. The eye pupil diameter (on which the PSF size also depends) was set at a typical value of 3.5 mm; and the angular width of the target image was set at 12°. Each of the 1000 preprocessed images was combined with each of the 384 selected PSFs to produce 384,000 unique dual-input sets for our neural network models. These data were divided into training (192,000 pairs) and validation (192,000 pairs) samples.
The SCA-2023 dataset containing 512 × 512 images of six different categories (e.g., portraits or text snippets) was used as a test dataset. All the 735 images were selected from it. The 384 PSFs that were not used to train the model were taken for testing. Thus, the test set included 735 images and 384 PSFs. From these, “image/PSF” pairs were formed by combining each image with each PSF, yielding 282,240 combinations. The resulting test dataset was subsequently used for both quantitative evaluation and human studies comparing different precompensation methods.
No additional data augmentation techniques were applied during the training. The training data were used in their original form after resizing and cropping. Cross-validation was not used; instead, a fixed train/validation/test split was employed throughout the study.
A fixed random seed was used for dataset splitting (12345) and the generation and randomisation of experimental pairs in the human studies (123). Random number generation was performed using the torch library.

3.2. Implementation of Classical Methods

The method of Montalto et al. [25] implies TV (total variation)-regularized numerical optimization of the discrepancy between the original (reference) image and the retinal projection of the precompensated image, calculated on the basis of the L 2 metric, while ensuring that the pixel values of the precompensated image lie in the range [ 0 , 1 ] . The authors indicate that they used the FISTA (fast iterative shrinkage-thresholding algorithm) method [33] for the optimization, without going into implementation details. The original paper [25] neither references the source code nor specifies some of the parameters nor indicates whether FISTA/GP (gradient projection) or FISTA/FGP (fast gradient projection) was used.
In addition, Montalto et al. do not explicitly state whether an isotropic or anisotropic discretization of the total variation is used, while with the FISTA method [33] both discretizations can be used. Visual analysis of their illustrations suggests that Montalto et al. [25] used the simpler, anisotropic variation. This is confirmed by characteristic steplike artifacts, especially noticeable in homogeneous regions. Such artifacts are typical for anisotropic discretization, which independently considers horizontal and vertical derivatives, thus better preserving the orthotropic structure. To maximize the consistency with the original method, we implemented specifically the anisotropic version.
In our implementation, we used the FISTA/FGP version, as recommended by the authors of FISTA [33]. The main parameters of this method are the number of iterations, N, of the FGP algorithm; the regularization parameter, λ ; and an estimate of the Lipschitz constant, L, of the target functional (The regularization parameter λ in the notation of FISTA [33] is related to the parameter θ from the expression (4) as θ = 2 λ ). For the experiments, we empirically selected and used the following values of the above parameters: N = 10 , θ = 2 λ = 10 6 and L = 5 × 10 2 .
In the original paper by Ji et al. [24], the algorithm is not accompanied by the source code, and its parameters are also not given. We reproduced the algorithm from the methodological description provided by the authors. Since the implementation details were unavailable, the parameters were determined empirically by comparing the obtained results with the example images reported in the paper and selecting the values that provided the closest visual correspondence. The final parameter configuration used in our experiments was as follows:
  • Wiener filter: the regularization constant was set at K = 10 2 .
  • Tone mapping: the Bézier curve parameter step was set at Δ t = 0.01 .
  • Subtask optimization: all the subtasks were solved using the Adam method [34] with a break parameter, g a p = 10 5 . In subtasks τ and τ , the learning rate parameter was l r τ = 10 3 , while in subtask m: l r m = 0.5 .
  • External loop: the number of iterations was set at 100, while the stopping criterion was 10 3 .
The algorithm proposed by Güzel et al. [6] solves the precompensation problem by minimizing the L2 distance between the reference and the retinal image, while restricting the brightness of the precompensated image to the range [ 0 , 1 ] . The Adam method is used for optimization, and the constraint is implemented by the PGD (projected gradient descent) method [35]. The authors had provided the source code, which we used in our experiments.
All of the above implementations are available at the PyOLimp repository [36].

3.3. Dual-Input Neural Network Architectures

In the paper by Chaganova et al. [37] among all neural-network methods of non-blind deconvolution, three papers that define the current state of the art in this field were singled out:
  • Zhang et al. [38] proposed the USRNet with an iterative deployment architecture based on HQS optimization, which is consistent with the optimization nature of the precompensation problem.
  • Dong et al. [39] developed the DWDN, which uses the Wiener filter, a classic method used in earlier approaches to precompensation.
  • KerUNC (Nan and Ji [40]) employs an optimization unrolling architecture with separate stages for image reconstruction, artifact suppression, and PSF error correction, enabling the model to account for degradation inaccuracies and improve robustness to blur kernel errors.
According to the literature, all the three considered neural-network models (USRNet, DWDN and KerUnc) can be used to solve the precompensation problem, because they have a proper dual-input interface and solve a similar problem. However, they need to be somehow adapted since the two problems are still different.

3.4. Adaptation of Dual-Input Neural Networks for the Precompensation Problem

What distinguishes the precompensation problem from non-blind deconvolution is that the deconvolved image as a mathematical function may have a very large range of brightnesses, which cannot be displayed on a physical carrier, such as a self-luminous display, paper, etc. Moreover, the deconvolved image may contain points with a negative brightness, which makes no sense in the case of precompensation. Consequently, the image formed as a result of the problem solution should be constrained within the allowable range of brightnesses. This is illustrated in Figure 6. For simplicity, we chose a one-dimensional signal: an image line with a contrasting step in brightness. It is clear from Figure 6c that the deconvolved image cannot be shown on any display.
As a rule, in the deconvolution problem, no restrictions are imposed on the output image. First, it is assumed that the reconstructed image existed in reality, and a close reconstruction of it will also turn out to be mappable. Second, the physical representability is not a fundamental requirement in the task of image reconstruction, since the full processing pipeline can be completed by recognizing the image rather than presenting it to a human.
In the course of adaptation of the neural network architectures selected in Section 3.3, the following changes were made to each of them in order to account for the specificity of the precompensation problem:
  • A layer with the S i g m o i d limiting function was added at the end of the network to ensure that the output values remain in the specified range [0, 1]:
    S i g m o i d ( x ) = 1 1 + e x ,
    where x is the vector of values taken from the previous layer.
  • If the network had additional parameters besides the input image and PSF, they were fixed and were not changed during training or inference. For example, the DWDN and USRNet models have a scale parameter, and it was fixed at 1; the USRNet model also has a noise level parameter, and it was set to 0, because the original image is noise-free in the precompensation problem.
As illustrated in Figure 7, the proposed adaptation of the three neural network architectures is rather a unified approach than individual transformation of each architecture. The adapted architectures are denoted hereafter by the postfix “-PC” (PreCompensation): USRNet-PC, DWDN-PC, and KerUnc-PC, respectively.
In addition, appropriate changes were made in the data processing pipeline used in model training and testing (see Figure 8). Speaking briefly, the dual-input neural network and the distortion simulator were swapped in accordance with the task change: in precompensation, the network is used to transform the original image so that the image at the output of the distortion simulator is close to the original one. This swap has two consequences. First, the distortion cannot be applied to the data in advance, but must be implemented at each training epoch. Second, the distortion simulation unit must allow for back error propagation, otherwise training becomes impossible with this scheme. This is not a problem since in our case the distortion is modeled by convolution (see Equation (1)), and modern deep learning frameworks, such as PyTorch and TensorFlow, provide differentiable implementations for it.

3.5. Loss Function

To select the loss function for training the neural network models, we preliminarily assessed their suitability using the following method. For each loss function, we performed optimization in the image space to find an image whose retinal projection is as close as possible to the target image, based on a given metric. Commonly used metrics, MS-SSIM and NRMSE, were considered, as well as CORR, which showed good agreement with human perception, according to [41].
The results of this analysis are shown in Figure 9. As it can be seen, using CORR can lead to an unacceptable loss of contrast, MS-SSIM—to color distortion, and NRMSE—to artifacts. Considering this, we chose a weighted sum of MS-SSIM and NRMSE as a combined loss function:
COMB ( a , b ) = 0.5 · NRMSE ( a , b ) + 0.5 · ( 1 M S - S S I M ( a , b ) ) ,
where a and b denote the two images being compared by the loss function.
This loss function was used only for training our models. Its choice had no impact on the quality of the trained models or previously known algorithms. The success of this choice will become clear when discussing the results of human studies.

3.6. Training the Network Models

Training was performed using the PyOlimp framework [36] based on the PyTorch 2.7 library on two NVIDIA GeForce RTX 2080 Ti graphics cards according to scheme on Figure 8b. All the input images were normalized to bring the pixel values to the range [0, 1], for which each value was divided by 255. The PSFs were normalized by dividing their elements by the sum of all the values.
The loss function for the network n, the input image t, and the PSF h was defined as:
L o s s ( n , t , h ) = COMB ( n ( t , h ) h , t ) .
The Adam optimizer [34] was used to optimize the neural network parameters. A training step of 1 × 10 5 was used. The batch size was set to 2. All the models were initialized using publicly available pre-trained weights provided by the respective authors for non-blind deblurring and subsequently fine-tuned for image precompensation.
The stopping criterion was the absence of a decrease in the value of the loss function on the validation set during two consecutive epochs, which indicated the emergence of overtraining. When this condition was met, the training process was terminated, and the checkpoint with the lowest validation loss was selected for subsequent testing. The USRNet-PC, DWDN-PC, and KerUnc-PC models were trained for a maximum of 173, 200, and 70 epochs, respectively. The checkpoints used for evaluation corresponded to epochs 171, 198, and 68, where the lowest validation loss was achieved.

3.7. Quantitative Evaluation of Precompensation Methods

The same normalizing procedures as those at the training stage were used for testing: each test image was normalized to the range [ 0 , 1 ] by dividing the pixel values by 255, and each PSF was normalized by dividing all its elements by their sum. To model retinal images and assess their quality, the output of the network was convolved with the corresponding PSF, after which the structural similarity between the resulting image and the original image was evaluated. Since there is no generally accepted single metric for evaluating image precompensation quality, we used a set of quantitative metrics: MS-SSIM, SSIM, STRESS, NRMSE, CORR, FSIM [42], and LPIPS [43].
In addition to the quality, the running time was also measured for all the methods, using the PyOLIMP framework [36]. The experiments were conducted on three hardware platforms: an NVIDIA GeForce GTX 1660 Ti Mobile GPU, an AMD Ryzen 7 4800H CPU, and an ARM Rockchip RK3566 processor with Cortex-A55 cores. These platforms were intentionally selected as consumer-grade embedded hardware rather than high-end server accelerators, since practical image precompensation systems are expected to operate under limited computational resources.
For runtime evaluation, we selected 10 image/PSF pairs from different categories of the test dataset. The same set of image/PSF pairs was used for all the methods and all the hardware platforms. For each method, the runtime was measured on each pair, and the final running time was obtained by averaging over these measurements. For the GPU experiments, the runtime was measured using CUDA events via torch.cuda.Event, which provides accurate timing of asynchronous GPU execution. For the CPU x86 and ARM experiments, the runtime was measured using the Python 3.13 high-resolution timer time.perf_counter.

3.8. Human Studies

Human studies were conducted on simulated retinal images with no personalized precompensation for each observer. For each randomly selected pair of the original image and the PSF from the dataset, precompensated images were generated using two randomly selected methods from among those being compared, after which the corresponding retinal images were obtained by convolving their results with the same PSF.
The participants were shown pairs of retinal images, displayed on their monitor screen (see Figure 10). The position of each method (left or right) was selected randomly for each pair. The images were displayed on a 24-inch 16:9 monitor and occupied approximately 26% of the screen width, the viewing distance being 50 cm.
The participants were asked to choose the image seeming more preferable in terms of scene structure and visual integrity, according to the 2AFC (two-alternative forced choice) protocol [44,45]. When comparing the images, participants were advised to pay attention to the severity of visual artifacts, including noise, halos, false contours, and distortion of details.
The human study consisted of three stages. At the first stage, three previously known precompensation algorithms were compared: those by Montalto, Ji, and Güzel. At the second stage, three algorithms proposed by us were compared: USRNet-PC, DWDN-PC, and KerUnc-PC. At the third stage, the algorithm that demonstrated the best results among the previously known algorithms was compared with the best of the algorithms we proposed. The three-stage procedure allowed us to reduce the workload on the participants.
For statistical analysis, a mixed-effect logistic regression model was used, with participant identity included as a random effect to account for repeated responses from the same participant. The mean values, standard deviation, and confidence intervals for the regression parameters were calculated by the Bayesian model.

4. Results

4.1. Quantitative Evaluation

The quality of precompensation was evaluated using simulated retinal images, by comparing them with the original images from the test dataset. The test dataset consisted of 735 images and 384 PSFs, all from the SCA-2023 dataset, for a total of 282,240 image/PSF pairs.
We tested six different precompensation methods, including three SotA methods (by Montalto et al. [25], Ji et al. [24], and Güzel et al. [6]) and the three neural networks we adapted (USRNet-PC, DWDN-PC, and KerUnc-PC).
The quality metric values are shown in Table 3, and examples of the results are shown in Figure 11, Figure 12 and Figure 13. The table shows that the Ji method performs worse than the other methods across the evaluated quality metrics and also performs worse than no precompensation. The results of the other methods are similar to one another, with different methods performing best on different metrics; however, all other methods are noticeably better than no precompensation. Later in this paper, a user study will be conducted to determine which of the methods provides the best results in terms of human perception.
To assess the computational performance of the methods across different deployment scenarios, we selected three hardware platforms representing distinct classes of computing devices. The NVIDIA GeForce GTX 1660 Ti Mobile represents a consumer-grade GPU accelerator, the AMD Ryzen 7 4800H represents a conventional high-performance x86 CPU platform, and the ARM-based Rockchip RK3566 represents low-power mobile and embedded devices.
The runtime comparison is presented in Table 4. The computational efficiency of the evaluated methods depends strongly on both the algorithmic approach and the hardware platform. USRNet-PC achieved the shortest inference time on the GPU, whereas DWDN-PC demonstrated the best performance on both x86 and ARM CPUs.

4.2. Human Studies

The human studies consisted of three stages. At the first stage, three previously known pre-compensation algorithms were compared: by Montalto, Ji, and Güzel. At the second stage, the three algorithms we proposed were compared: USRNet-PC, DWDN-PC, and KerUnc-PC. At the third stage, the algorithm that showed the best results among the previously known ones was compared with the best of the algorithms we proposed.
The study was conducted entirely online and anonymously. Therefore, participants’ age, sex, visual status, and the use of optical correction (glasses or contact lenses) were not collected. No specific inclusion or exclusion criteria were applied, and the visual acuity and color vision were not assessed separately. However, the participants were instructed to take part only if they had normal vision or vision corrected to normal using glasses or contact lenses, and to use their usual optical correction during the experiment. Due to the anonymous nature of the study, participant identities were not tracked across the three stages; therefore, some participants might have taken part in more than one stage. Since the experiment was conducted remotely using the participants’ own devices, the displays were not calibrated, and the brightness, contrast, and ambient lighting conditions were not controlled. The only controlled display-related parameter was the screen size: the participants were required to use displays with a diagonal size between 23 and 27 inches.
For all the three stages, the image/PSF pairs presented to the participants were randomly sampled from the test dataset described in Section 3.1, which contained images from all the six categories and the PSFs reserved for testing.
At the first two stages of the experiment, 19 and 27 observers participated, comparing 460 and 673 pairs of images, respectively. Each participant was asked to compare 25 pairs of images, each having a resolution of 512 × 512 pixels (Figure 10). The outcome of the human studies was aggregation of the participants’ responses across all the presented image pairs. The summary distribution of participant choices is given in Table 5 and Table 6. Among the previously known algorithms, the Güzel method showed the best results, and among those we proposed, the USRNet-PC architecture performed best.
At the third stage of the studies, these two algorithms were compared to one another in order to figure out the final winner.
Table 7 and Table 8 provide detailed pairwise preference counts. Each off-diagonal cell indicates the number of times the method in the corresponding row was preferred over the method in the corresponding column. Thus, at the first stage, Güzel and Montalto were compared 171 times, Güzel and Ji 144 times, and Montalto and Ji 145 times. At the second stage, USRNet-PC and DWDN-PC were compared 228 times, USRNet-PC and KerUnc-PC 225 times, and DWDN-PC and KerUnc-PC 220 times.
At the third stage of the studies, 80 observers compared 1990 pairs of images (Table 9). The purpose of the statistical analysis was to determine whether the observed preference for USRNet-PC was a systematic rather than a random deviation from the equal probability of choosing the two methods. Since each observer performed several comparisons (21–25), their responses are not independent. Therefore, a mixed effects logistic regression (MELR) [46] was used, allowing for repeated responses using an individual random effect. We first consider a model with a fixed intercept β 0 and a random effect for each user i:
ln p i 1 p i = β 0 + u i ,
where p i is the probability that user i will pick the USRNet-PC method in comparison with Güzel. Random i.i.d. variables u i N ( 0 , σ 2 ) represent individual deviations from the common trend β 0 . The model parameters were estimated using variational Bayesian inference [47], which provides an approximation to the posterior distributions.
Based on the basic model (Table 10), we can conclude that USRNet-PC is significantly preferable to Güzel. Fixed intercept estimation β 0 = 0.26 corresponds to the probability of choosing a USRNet-PC: P = 1 / ( 1 + e β 0 ) 0.56 . After accounting for random effects, the effect remains stable. The variance for users is significantly greater than zero. This means that different people have different inclinations to choose USRNet (this is expected due to individual perception characteristics).
We also conducted a study on the effects of image content and PSF characteristics on user preferences. The images from the SCA-2023 dataset belong to six categories, which can be grouped into two visually distinct classes: images containing real objects (Faces, Nature, Animals, Urban), for which users are more sensitive to naturalness and detail preservation, and images containing GUI elements (Texts, Icons), for which readability and clean, sharp edges are particularly important. To investigate the preference for each group, we added a categorical variable t, which is equal to 0 if the image belongs to the first group, and 1 otherwise. Each PSF in this dataset is described by three parameters (sphere S, cylinder C, and angle A), which we transformed as follows: the sphere and cylinder were centered by subtracting their means over dataset, and the angle was converted to its sine. Thus, we used:
s = S S ¯ , c = C C ¯ , a = sin ( π A / 180 ) .
Putting everything together, we formulated a more complex model to test the effect of the source images/PSFs on user preference:
ln p i j 1 p i j = β 0 + β t · t j + β S · s j + β C · c j + β A · a j + u i ,
where p i j is the probability that user i will pick the USRNet-PC method over Güzel in the j-th data sample; the parameter β t represents the image type variable t j ; and β S , β C , β A represent the processed PSF variables s j , c j , a j , respectively. This parameters for fixed effects were estimated using the same Bayesian inference procedure as in the basic model. The structure of random effects remained the same.
The extended model for image categories and continuous PSF characteristics allowed us to clarify the conditions under which USRNet-PC is superior to Guzel (Table 11). The results show that:
  • The image category is critically important. When the PSF parameters are set to their mean values, USRNet-PC is preferred over Güzel for general images (probability 52.7%), but its advantage is considerably stronger for icons and texts (probability 60.8%).
  • The PSF parameters do not have a significant effect on USRNet-PC preference.
  • Individual differences remain substantial, as the variance of the random intercept is still significantly different from zero.
Taken together, our mixed effects logistic regression analysis demonstrates that USRNet-PC is, on average, preferred over Güzel, but this preference is highly dependent on the image type. The advantage is most pronounced for images containing text or icons, while for the other categories (animals, natural scenes, urban scenes, and faces) the preference is weaker: only slightly above chance. The PSF parameters (sphere, cylinder, and angle) do not appear to modulate this effect significantly in our data. The strong user-specific random intercept indicates that individual viewing conditions or perceptual strategies may play a role, but even after accounting for this heterogeneity, the image-category effect remains robust.
Sample images precompensated using different methods are shown in Figure 11, Figure 12 and Figure 13. In these images, all of the methods under consideration, with the exception of the Ji method, provide similar sharpness and contrast; however, only the images obtained using the USRNet method are almost free of artifacts (see the enlarged areas).
Figure 11. Example of how different precompensation algorithms process the same image picked from the Nature category. (Top) row: source image and PSF; simulated retinal images using different precompensation methods (the name of the method by the first author is indicated at the top). (Bottom) row: enlarged image fragment in red box.
Figure 11. Example of how different precompensation algorithms process the same image picked from the Nature category. (Top) row: source image and PSF; simulated retinal images using different precompensation methods (the name of the method by the first author is indicated at the top). (Bottom) row: enlarged image fragment in red box.
Jimaging 12 00456 g011
Figure 12. Example of how different precompensation algorithms process the same image picked from the Icons category. (Top) row: source image and PSF; simulated retinal images using different precompensation methods (the name of the method by the first author is indicated at the top). (Bottom) row: enlarged image fragment in red box.
Figure 12. Example of how different precompensation algorithms process the same image picked from the Icons category. (Top) row: source image and PSF; simulated retinal images using different precompensation methods (the name of the method by the first author is indicated at the top). (Bottom) row: enlarged image fragment in red box.
Jimaging 12 00456 g012
Figure 13. Example of how different precompensation algorithms process the same image from the City category. (Top) row: source image and PSF; simulated retinal images using different precompensation methods (the name of the method by the first author is indicated at the top). (Bottom) row: enlarged image fragment in red box.
Figure 13. Example of how different precompensation algorithms process the same image from the City category. (Top) row: source image and PSF; simulated retinal images using different precompensation methods (the name of the method by the first author is indicated at the top). (Bottom) row: enlarged image fragment in red box.
Jimaging 12 00456 g013

5. Discussion

Thus, we have shown that neural network architectures designed for deblurring, but adapted to precompensation, can produce results of superior quality to previously known precompensation algorithms. If we were to propose a new, previously unknown neural network architecture, it would require an ablation study. However, our approach is based on previously published architectures, so analyzing the influence of the individual components of which they are composed is not the goal of our research.
Nevertheless, we have checked the point that is specifically relevant to our case: that limiting the neural network output values to the interval [ 0 , 1 ] is required not only during neural-network model inference but also during its training. Figure 14 presents the results of precompensation using the classic USRNet model with two post-processing options (clipping and sigmoid) and the USRNet-PC model (which we obtained through adaptation). As can be seen, the post-processing falls short of achieving acceptable precompensation quality.
The differences between the results of quantitative benchmarking and human studies deserve a special discussion. According to the calculated metrics, most of the methods under consideration demonstrate similar results, with different metrics identifying different leaders. However, the user studies revealed a statistically significant preference for the USRNet-PC method.
This indicates that existing image quality metrics do not fully capture the peculiarities of human perception in the precompensation problem. It is important, as precompensation is not aimed at restoring the image as such, but at improving its human visual perception. Consequently, even small differences in artifact levels, local contrast, and the naturalness of object boundaries can have a significant impact on subjective quality assessments while remaining virtually imperceptible in terms of traditional metrics. This confirms the need for a human study as a mandatory complement to objective metrics when evaluating precompensation methods.
An important limitation of our human study is that the participants had normal vision and evaluated computer-simulated retinal images. Therefore, the study assesses perceptual preferences between simulated precompensation results rather than actual improvements in visual perception in users with myopia, hyperopia, or astigmatism. Evaluation with the intended user population remains an important direction for future work.
Although neural network models have shown higher quality and better performance, compared to previously known methods, an obvious risk of their use should also be noted. Training neural networks requires extensive datasets with a variety of PSFs. We have used the SCA-2023 [22] dataset, which covers a variety of PSFs and different image categories, but it is relatively small by the standards of classical machine learning tasks. Related questions about the generalization ability of the tested neural network methods also remain open. In particular, how effective they are when used with PSFs with characteristic widths different from those found in the training dataset.
In the review of neural-network methods of non-blind deconvolution [37] it is noted that the KerUnc and DWDN models show significant (including that with respect to the Wiener filter) robustness to errors in the PSF estimation. Such robustness is highly desirable for the precompensation problem, as it would allow one to level out variations in the distance between the eye and the screen, as well as variations in the eye pupil diameter. But, unfortunately, there is no sufficient justification to believe that the behavior of the models will be similar in the two problems under consideration.

6. Conclusions

In this paper, we propose the use of dual-input neural networks for personalized image precompensation. While the first input is the image to be precompensated, the second is for image blur parameters, specified as the point spread function of the observer’s eye. Using an original approach, we were the first to adapt three significantly different neural-network architectures designed for non-blind deblurring to the precompensation problem and conduct their systematic benchmarking against the existing solutions. The key feature of this benchmarking was the specially organized human study, in which, as is common in works of predecessors, the subjects were individuals with normal vision, who were shown computer-simulated retinal images, and therefore the study evaluates perceptual preferences under simulated conditions rather than clinical effectiveness in users with refractive errors. According to these human studies, one of the adapted architectures (USRNet-PC) demonstrates superior quality, outperforming state-of-the-art algorithms.
The main limitation of personalized precompensation methods is their low computational efficiency: both previously known algorithms and the proposed models are computationally complex and unsuitable for real-time operation. However, the fact that USRNet-PC was the fastest (among those compared) on a graphics accelerator (see Table 4 for more details), demonstrating a runtime more than 4.5 times shorter than the state-of-the-art approach by Güzel et al., while DWDN-PC was the fastest on a low-power central processor, demonstrating a runtime 7 times shorter than that of Güzel et al., suggests the potential for further development of the neural network-based approach.

Author Contributions

Conceptualization, D.N., S.G. and I.N.; methodology, D.N., I.N. and N.A.; software, N.A. and A.A.; validation, N.A., M.Y. and A.A.; formal analysis, I.N.; investigation, N.A., A.A., I.N. and D.N.; resources, D.N., S.G. and I.N.; data curation, N.A. and A.A.; writing—original draft preparation, N.A., M.Y. and A.A.; writing—review and editing, D.N., S.G. and I.N.; visualization, A.A.; supervision, S.G., D.N. and I.N.; project administration, S.G. and D.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Ethics Committee of Institute for Information Transmission Problems (IITP) Russian Academy of Sciences (protocol code No. EC-2026/5 dated 9 June 2026).

Informed Consent Statement

Informed consent was obtained from all involved subjects in the study.

Data Availability Statement

The training and test datasets are publicly available on Zenodo (https://zenodo.org/records/15926161, accessed on 16 September 2026). The source code is available at GitHub (https://github.com/pyolimp/pyolimp/tree/e3db3bf2897753aa8d27ec8b299621ee6a77dd35, accessed on 16 September 2026) (revision e3db3bf2897753aa 8d27ec8b299621ee6a77dd35), and the pretrained weights for all evaluated architectures are available at Hugging Face (https://huggingface.co/pyolimp/pyolimp/tree/main/RVI, accessed on 16 September 2026) (revision 3699d7c, DOI: https://doi.org/10.57967/hf/4235, accessed on 16 September 2026).

Acknowledgments

The authors would like to thank the development team of the open source pyolimp framework, developed with the support of the Foundation for Assistance to Small Innovative Enterprises in Science and Technology (FASIE; Funder ID 10.13039/501100012707) under Contract 55GUKodIIS13-D7/94528 dated 14 June 2024. This framework was specially developed for the problem of image precompensation and played a key role in this study. We are especially grateful to Arseniy Terekhin for his assistance in designing the training pipeline for neural networks. The research was carried out using the infrastructure of the Shared Research Facilities “High Performance Computing and Big Data” (CKP “Informatics”) of FRC CSC RAS (Moscow).

Conflicts of Interest

Author Dmitry Nikolaev was employed by the company Smart Engines Service LLC. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
2AFCTwo-Alternative Forced Choice
CORRCorrelation coefficient
DWDNDeep Wiener Deconvolution Network
FGPFast Gradient Projection
FISTAFast Iterative Shrinkage-Thresholding Algorithm
FSIMFeature Similarity Index Measure
GPGradient Projection
HQSHalf-Quadratic Splitting
HVSHuman Vision System
KerUncKernel Uncertainty
LPIPSLearned Perceptual Image Patch Similarity
MELRMixed Effects Logistic Regression
MS-SSIMMulti-Scale Structural Similarity Index Measure
NRMSENormalized Root Mean Square Error
PCPreCompensation
PSFPoint Spread Function
SCASphere, Cylinder, Axis
SDStandard Deviation
SSIMStructural Similarity Index Measure
STRESSSTandardised REsidual Sum of Squares
USRNetUnfolding Super-Resolution Network
VDSRVery Deep Super-Resolution
VRVirtual Reality

References

  1. Holden, B.A.; Fricke, T.R.; Wilson, D.A.; Jong, M.; Naidoo, K.S.; Sankaridurg, P.; Wong, T.Y.; Naduvilath, T.J.; Resnikoff, S. Global prevalence of myopia and high myopia and temporal trends from 2000 through 2050. Ophthalmology 2016, 123, 1036–1042. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Pucker, A.D.; Tichenor, A.A. A review of contact lens dropout. Clin. Optom. 2020, 12, 85–94. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Slavin, O.A.; Grin, E.S. Overview of virtual and augmented reality technology. Tr. Instituta Sist. Anal. Ross. Akad. Nauk (ISA RAN) 2019, 69, 42–54. (In Russian) [Google Scholar] [CrossRef] [Scilit]
  4. Kugler, L. The state of virtual reality hardware. Commun. ACM 2021, 64, 15–16. [Google Scholar] [CrossRef] [Scilit]
  5. Bhowmick, A.K.; Jamali, A.; Bryant, D.; Pintz, S.; Bos, P.J. Dynamic correction of astigmatism. Appl. Opt. 2023, 62, 1791–1799. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Güzel, A.H.; Beyazian, J.; Chakravarthula, P.; Akșit, K. ChromaCorrect: Prescription correction in virtual reality headsets through perceptual guidance. Biomed. Opt. Express 2023, 14, 2166–2180. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Thibos, L.N. Formation and sampling of the retinal image. In Seeing; Elsevier: Amsterdam, The Netherlands, 2000; pp. 1–54. [Google Scholar] [CrossRef] [Scilit]
  8. Yablokov, M.G.; Machekhin, V.A.; Doga, A.V.; Kolotov, M.G.; Vartapetov, S.K.; Larichev, A.V.; Iroshnikov, N.G. Results of studies of wave fronts using the first Russian-made aberrometer, Multispot-250. Oftal’mokhirurgiya 2005, 2, 4–8. (In Russian) [Google Scholar]
  9. Zhu, J.; Jeong, M.; Lee, S. Aberration pre-correction for a simple optical system of HMDs. Appl. Opt. 2024, 63, 1917–1928. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Brown, M.S.; Song, P.; Cham, T.J. Image pre-conditioning for out-of-focus projector blur. In Proceedings of the 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), Piscataway, NJ, USA, 17–22 June 2006; Volume 2, pp. 1956–1963. [Google Scholar] [CrossRef] [Scilit]
  11. Alkzir, N.; Yarykina, M.; Nikolaev, D.; Nikolaev, I. Development of Image Preprocessing Methods for Software Compensation of Refraction Anomalies of an Observer’s Eyes. Neurosci. Behav. Physiol. 2024, 54, 1466–1479. [Google Scholar] [CrossRef] [Scilit]
  12. Peli, T.; Lim, J.S. Adaptive filtering for image enhancement. Opt. Eng. 1982, 21, 108–112. [Google Scholar] [CrossRef] [Scilit]
  13. Peli, E.; Peli, T. Image enhancement for the visually impaired. Opt. Eng. 1984, 23, 47–51. [Google Scholar] [CrossRef] [Scilit]
  14. Gridin, V.N.; Domanov, K.I.; Solodovnikov, V.I. Image contrast improvement method using genetic algorithm. J. Inf. Technol. Comput. Syst. 2023, 2, 67–75. [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, W.; Zhuang, P.; Sun, H.H.; Li, G.; Kwong, S.; Li, C. Underwater image enhancement via minimal color loss and locally adaptive contrast enhancement. IEEE Trans. Image Process. 2022, 31, 3997–4010. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Zhang, W.; Zhou, L.; Zhuang, P.; Li, G.; Pan, X.; Zhao, W.; Li, C. Underwater image enhancement via weighted wavelet visual perception fusion. IEEE Trans. Circuits Syst. Video Technol. 2023, 34, 2469–2483. [Google Scholar] [CrossRef] [Scilit]
  17. Alonso, M., Jr.; Barreto, A.B. Pre-compensation for high-order aberrations of the human eye using on-screen image deconvolution. In Proceedings of the 25th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (IEEE Cat. No. 03CH37439), Cancun, Mexico, 17–21 September 2003; Volume 1, pp. 556–559. [Google Scholar] [CrossRef] [Scilit]
  18. Gonzalez, R.C.; Woods, R.E. Digital Image Processing; Prentice Hall: Hoboken, NJ, USA, 2008. [Google Scholar]
  19. Alonso, M., Jr.; Barreto, A.; Cremades, J.G.; Jacko, J.A.; Adjouadi, M. Image pre-compensation to facilitate computer access for users with refractive errors. Behav. Inf. Technol. 2005, 24, 161–173. [Google Scholar] [CrossRef] [Scilit]
  20. Alonso, M., Jr.; Barreto, A.; Jacko, J.A.; Adjouadi, M.; Choudhury, M. Improving computer interaction for users with visual acuity deficiencies through inverse point spread function processing. In Proceedings of the IEEE SoutheastCon, Ft. Lauderdale, FL, USA, 8–10 April 2005; pp. 421–427. [Google Scholar] [CrossRef] [Scilit]
  21. Huang, J.; Barreto, A.; Alonso, M., Jr.; Adjouadi, M. Contrast improvement in pre-compensation of ocular aberrations for computer users. Biomed. Sci. Instrum. 2012, 48, 179–186. [Google Scholar] [PubMed]
  22. Alkzir, N.B.; Nikolaev, I.P.; Nikolaev, D.P. SCA-2023: A Two-Part Dataset for Benchmarking the Methods of Image Precompensation for Users with Refractive Errors. In Proceedings of the ECMS, Florence, Italy, 20–23 June 2023; pp. 298–305. [Google Scholar] [CrossRef] [Scilit]
  23. Huang, F.C.; Lanman, D.; Barsky, B.A.; Raskar, R. Correcting for optical aberrations using multilayer displays. ACM Trans. Graph. (TOG) 2012, 31, 1–12. [Google Scholar] [CrossRef] [Scilit]
  24. Ji, Y.; Ye, J.; Bing Kang, S.; Yu, J. Image pre-compensation: Balancing contrast and ringing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 3350–3357. [Google Scholar] [CrossRef] [Scilit]
  25. Montalto, C.; Garcia-Dorado, I.; Aliaga, D.; Oliveira, M.M.; Meng, F. A total variation approach for customizing imagery to improve visual acuity. ACM Trans. Graph. (TOG) 2015, 34, 1–16. [Google Scholar] [CrossRef] [Scilit]
  26. Xu, F.; Li, D. Software based visual aberration correction for hmds. In Proceedings of the 2018 IEEE Conference on Virtual Reality and 3D User Interfaces (VR), Tuebingen/Reutlingen, Germany, 18–22 March 2018; pp. 246–250. [Google Scholar] [CrossRef] [Scilit]
  27. Krishnan, D.; Fergus, R. Fast image deconvolution using hyper-Laplacian priors. In Proceedings of the Advances in Neural Information Processing Systems, Vancouver, BC, Canada, 7–10 December 2009; Volume 22, pp. 1033–1041. [Google Scholar]
  28. Tanaka, H.; Kawano, H. Image correction for improving visual acuity using Zernike-based vision simulation. In Proceedings of the 2021 20th International Symposium on Communications and Information Technologies (ISCIT), Tottori, Japan, 19–22 October 2021; pp. 32–36. [Google Scholar] [CrossRef] [Scilit]
  29. Huang, J.; Barreto, A.; Alonso, M., Jr.; Adjouadi, M. Vision correction for computer users based on image pre-compensation with changing pupil size. In Proceedings of the 2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Boston, MA, USA, 30 August–3 September 2011; pp. 4868–4871. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Ye, J.; Ji, Y.; Zhou, M.; Kang, S.B.; Yu, J. Content aware image pre-compensation. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 41, 1545–1558. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Jiang, Y.; Bi, Y.; Li, Y.; Li, P.; Qin, S.; Shu, Z.; Le, C. Gaze-adaptive neural pre-correction for mitigating spatially varying optical aberrations in near-eye displays. Array 2026, 29, 100654. [Google Scholar] [CrossRef] [Scilit]
  32. Ridnik, T.; Ben-Baruch, E.; Noy, A.; Zelnik-Manor, L. Imagenet-21k pretraining for the masses. arXiv 2021, arXiv:2104.10972. [Google Scholar] [CrossRef] [Scilit]
  33. Beck, A.; Teboulle, M. Fast Gradient-Based Algorithms for Constrained Total Variation Image Denoising and Deblurring Problems. IEEE Trans. Image Process. 2009, 18, 2419–2434. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2017, arXiv:1412.6980. [Google Scholar] [CrossRef] [Scilit]
  35. Calamai, P.H.; Moré, J.J. Projected gradient methods for linearly constrained problems. Math. Program. 1987, 39, 93–116. [Google Scholar] [CrossRef] [Scilit]
  36. Alkzir, N.B.; Terekhin, A.P.; Nikolaev, D.P.; Gladilin, S.A.; Konovalenko, I.A. PyOLimp: A Framework for Image Precompensation and Optimization. 2025. Available online: https://github.com/pyolimp/pyolimp (accessed on 6 May 2025).
  37. Chaganova, O.B.; Grigoryev, A.S.; Nikolaev, D.P.; Nikolaev, I.P. Applied aspects of modern non-blind image deconvolution methods. Comput. Opt. 2024, 48, 562–572. [Google Scholar] [CrossRef] [Scilit]
  38. Zhang, K.; Gool, L.V.; Timofte, R. Deep unfolding network for image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Virtual, 14–19 June 2020; pp. 3217–3226. [Google Scholar] [CrossRef] [Scilit]
  39. Dong, J.; Roth, S.; Schiele, B. Deep Wiener deconvolution: Wiener meets deep learning for image deblurring. In Proceedings of the Advances in Neural Information Processing Systems, Virtual, 6–12 December 2020; Volume 33, pp. 1048–1059. [Google Scholar]
  40. Nan, Y.; Ji, H. Deep learning for handling kernel/model uncertainty in image deconvolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Virtual, 14–19 June 2020; pp. 2388–2397. [Google Scholar] [CrossRef] [Scilit]
  41. Alkzir, N.B.; Nikolaev, I.P.; Nikolaev, D.P. Search for image quality metrics suitable for assessing images specially precompensated for users with refractive errors. In Proceedings of the Sixteenth International Conference on Machine Vision (ICMV 2023), Yerevan, Armenia, 15–18 November 2023; Volume 13072, pp. 230–238. [Google Scholar] [CrossRef] [Scilit]
  42. Zhang, L.; Zhang, L.; Mou, X.; Zhang, D. FSIM: A feature similarity index for image quality assessment. IEEE Trans. Image Process. 2011, 20, 2378–2386. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Zhang, R.; Isola, P.; Efros, A.A.; Shechtman, E.; Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 586–595. [Google Scholar]
  44. Shelton, B.; Scarrow, I. Two-alternative versus three-alternative procedures for threshold estimation. Percept. Psychophys. 1984, 35, 385–392. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  45. Mantiuk, R.K.; Tomaszewska, A.; Mantiuk, R. Comparison of four subjective methods for image quality assessment. Comput. Graph. Forum 2012, 31, 2478–2491. [Google Scholar] [CrossRef] [Scilit]
  46. McCullagh, P.; Nelder, J.A.; McCullagh, P. Generalized Linear Models; Chapman and Hall: London, UK, 1989; Volume 2. [Google Scholar]
  47. Pinheiro, J.C.; Chao, E.C. Efficient Laplacian and adaptive Gaussian quadrature algorithms for multilevel generalized linear mixed models. J. Comput. Graph. Stat. 2006, 15, 58–81. [Google Scholar] [CrossRef] [Scilit]
Figure 1. The concept of image precompensation for people with refractive errors of vision: (a) direct image formation without precompensation; (b) image formation with precompensation. Here, HVS refers to human vision system.
Figure 1. The concept of image precompensation for people with refractive errors of vision: (a) direct image formation without precompensation; (b) image formation with precompensation. Here, HVS refers to human vision system.
Jimaging 12 00456 g001
Figure 2. An example of image precompensation: (a) original image; (b) precompensated image; (c) original image on the retina of a myopic eye (simulation); (d) pre-compensated image on the retina of a myopic eye (simulation).
Figure 2. An example of image precompensation: (a) original image; (b) precompensated image; (c) original image on the retina of a myopic eye (simulation); (d) pre-compensated image on the retina of a myopic eye (simulation).
Jimaging 12 00456 g002
Figure 3. Contrast loss and precompensation artifacts caused by tone mapping: (a) original image; (b) corresponding retinal image (simulation); (c) precompensated image with linear tone mapping; (d) corresponding retinal image (simulation); (e) precompensated image with tone mapping that increases contrast in the middle of the dynamic range; (f) corresponding retinal image (simulation). The images used are taken from Alonso et al. [20].
Figure 3. Contrast loss and precompensation artifacts caused by tone mapping: (a) original image; (b) corresponding retinal image (simulation); (c) precompensated image with linear tone mapping; (d) corresponding retinal image (simulation); (e) precompensated image with tone mapping that increases contrast in the middle of the dynamic range; (f) corresponding retinal image (simulation). The images used are taken from Alonso et al. [20].
Jimaging 12 00456 g003
Figure 4. Sample data from the SCA-2023 dataset: (top) row—images by category; (bottom) row—examples of PSFs.
Figure 4. Sample data from the SCA-2023 dataset: (top) row—images by category; (bottom) row—examples of PSFs.
Jimaging 12 00456 g004
Figure 5. Randomly selected samples from the ImageNet-21K dataset (after resizing).
Figure 5. Randomly selected samples from the ImageNet-21K dataset (after resizing).
Jimaging 12 00456 g005
Figure 6. Out-of-range issue during precompensation: (a) the original signal t; (b) the perceived signal (the convolution t h of the original signal and the eye PSF); (c) the deconvolution t h 1 of the original signal. The red dashed lines denote the brightness range that can be displayed on the carrier and, consequently, used for precompensation.
Figure 6. Out-of-range issue during precompensation: (a) the original signal t; (b) the perceived signal (the convolution t h of the original signal and the eye PSF); (c) the deconvolution t h 1 of the original signal. The red dashed lines denote the brightness range that can be displayed on the carrier and, consequently, used for precompensation.
Jimaging 12 00456 g006
Figure 7. Interface diagrams of the neural networks modified for the precompensation problem: (a) USRNet-PC (here HQS stands for half-quadratic splitting), (b) DWDN-PC, and (c) KerUnc-PC.
Figure 7. Interface diagrams of the neural networks modified for the precompensation problem: (a) USRNet-PC (here HQS stands for half-quadratic splitting), (b) DWDN-PC, and (c) KerUnc-PC.
Jimaging 12 00456 g007
Figure 8. Data processing pipelines using dual-input neural networks: (a) for non-blind deconvolution; (b) for precompensation. Dark yellow blocks denote input data, light yellow—computable data. Green is for software modules, blue indicates the part of the neural network common to both schemes (a,b).
Figure 8. Data processing pipelines using dual-input neural networks: (a) for non-blind deconvolution; (b) for precompensation. Dark yellow blocks denote input data, light yellow—computable data. Green is for software modules, blue indicates the part of the neural network common to both schemes (a,b).
Jimaging 12 00456 g008
Figure 9. Comparison of retinal images obtained with different target functions for image precompensation. The second and the third rows show two magnified areas of the whole image given in the first row. The CORR function results in significant contrast loss, NRMSE introduces ringing artifacts, and MS-SSIM suppresses ringing at the expense of color reproduction. The combined target function COMB achieves a balance between artifact suppression, color preservation, and structural quality.
Figure 9. Comparison of retinal images obtained with different target functions for image precompensation. The second and the third rows show two magnified areas of the whole image given in the first row. The CORR function results in significant contrast loss, NRMSE introduces ringing artifacts, and MS-SSIM suppresses ringing at the expense of color reproduction. The combined target function COMB achieves a balance between artifact suppression, color preservation, and structural quality.
Jimaging 12 00456 g009
Figure 10. Sample page for the human studies.
Figure 10. Sample page for the human studies.
Jimaging 12 00456 g010
Figure 14. Comparison of the adapted neural network model, USRNet-PC, with non-adapted USRNet, equipped with different post-processing modules. (Left) column: source image and PSF. (Top) row: precompensated images obtained with each of the three models. (Bottom) row: corresponding retinal images.
Figure 14. Comparison of the adapted neural network model, USRNet-PC, with non-adapted USRNet, equipped with different post-processing modules. (Left) column: source image and PSF. (Top) row: precompensated images obtained with each of the three models. (Bottom) row: corresponding retinal images.
Jimaging 12 00456 g014
Table 1. Comparison of precompensation methods.
Table 1. Comparison of precompensation methods.
MethodYearTypePersonalizedColorQualityFully Described
Peli-Peli [13]1984AnalyticNoNoLow clarityYes
Alonso [19,20]2005AnalyticYesNoLow contrastYes
Huang [21]2012AnalyticYesNoLow contrastYes
Ji [24]2014OptimizationYesYesAcceptableYes
Montalto [25]2015OptimizationYesYesAcceptableYes
Xu-Li [26]2018AnalyticYesYesAcceptableNo
Tanaka [28]2021Neural NetworkNoYesAcceptableYes
Güzel-Opt [6]2023OptimizationYesYesAcceptableYes
Güzel-Unet [6]2023Neural NetworkNoYesAcceptableYes
Our proposal2026Neural NetworkYesYesAcceptableYes
Table 2. Features of precompensation methods benchmarking.
Table 2. Features of precompensation methods benchmarking.
StudyYearNumber of Cases ComparedBlur MethodJudgesImagesPSFsSpeed Comparison
Alonso [19]20052physical modelingsubjectssinglesingleno
Huang [21]20123physical modelingauthorssinglesingleno
Montalto [25]20154physical modelingsubjectsmini-datasetmini-datasetyes
Xu-Li (images) [26]20182real human eyesubjectsmini-datasetmini-datasetyes
Xu-Li (video) [26]20182computer simulationauthorssingle videonot specifiedyes
Tanaka [28]20212computer simulationmetricsdatasetmini-datasetno
Güzel [6]20233computer simulationauthorssinglesingleyes
Alkzir [22]20234computer simulationmetricsdatasetdatasetno
Our proposal20267computer simulationmetrics, subjectsdatasetdatasetyes
Table 3. Quality assessment of different image precompensation methods, using image similarity metrics. The “No PC” method means no precompensation at all. The names of the non-neural-network methods are given by the first author.
Table 3. Quality assessment of different image precompensation methods, using image similarity metrics. The “No PC” method means no precompensation at all. The names of the non-neural-network methods are given by the first author.
MetricNo PCMontaltoJiGüzelUSRNet-PCDWDN-PCKerUnc-PC
MS-SSIM0.60650.72620.42930.73020.74780.73870.7378
SSIM0.53450.63710.46140.64220.65860.65230.6507
1-STRESS0.82820.85180.69740.85370.84970.84810.8437
1-NRMSE0.82440.84850.47600.85050.84520.84510.8252
CORR0.80950.85220.84680.85150.84990.84650.8439
FSIM0.65490.73680.60620.73690.73570.74140.7354
1-LPIPS0.42250.49350.29890.50440.50580.50340.4720
Table 4. Comparison of the inference times of different precompensation methods. The names of the non-neural-network methods are given by the first author.
Table 4. Comparison of the inference times of different precompensation methods. The names of the non-neural-network methods are given by the first author.
MethodGPU 1, sCPU 2, sCPU (arm) 3, s
USRNet-PC0.97520.243531.005
DWDN-PC1.5915.644118.331
KerUnc-PC2.48850.326641.337
Güzel4.38821.778843.736
Ji2.5377.197464.432
Montalto1.7619.903188.137
1 GPU NVIDIA GeForce GTX 1660 Ti Mobile; 2 CPU x86 AMD Ryzen 7 4800H; 3 ARM Rockchip RK3566 (Cortex-A55).
Table 5. Results of user comparison of the previously known methods.
Table 5. Results of user comparison of the previously known methods.
MethodNumber of PreferencesPreference Share (%)
Güzel19241.7%
Montalto18139.3%
Ji8718.9%
Total460100%
Table 6. Results of user comparison of the methods proposed by us.
Table 6. Results of user comparison of the methods proposed by us.
MethodNumber of PreferencesPreference Share (%)
USRNet-PC30345.0%
DWDN-PC25537.9%
KerUnc-PC11517.1%
Total673100%
Table 7. Detailed information about user preferences in previously known methods.
Table 7. Detailed information about user preferences in previously known methods.
Alternative
Güzel Montalto Ji
PickedGüzel87105
Montalto8497
Ji3948
Table 8. Detailed information about user preferences in methods proposed by us.
Table 8. Detailed information about user preferences in methods proposed by us.
Alternative
USRNet-PC DWDN-PC KerUnc-PC
PickedUSRNet-PC130173
DWDN-PC98157
KerUnc-PC5263
Table 9. Results of user comparison of the winners of Table 5 and Table 6.
Table 9. Results of user comparison of the winners of Table 5 and Table 6.
MethodNumber of PreferencesPreference Share (%)
USRNet-PC112056.3%
Güzel87043.7%
Total1990100%
Table 10. Basic MELR results. Parameter types are mean structure (M) and variance structure (V). The significance of the coefficient is determined by whether its 95% creditable interval contains zero.
Table 10. Basic MELR results. Parameter types are mean structure (M) and variance structure (V). The significance of the coefficient is determined by whether its 95% creditable interval contains zero.
ParameterTypePosterior MeanPosterior SDSignificance
β M0.260.05Yes
σ V0.230.02Yes
Table 11. Complex MELR results. Parameter types are mean structure (M) and variance structure (V). The significance of the coefficient is determined by whether its 95% creditable interval contains zero.
Table 11. Complex MELR results. Parameter types are mean structure (M) and variance structure (V). The significance of the coefficient is determined by whether its 95% creditable interval contains zero.
ParameterTypePosterior MeanPosterior SDSignificance
β 0 M0.100.05Yes
β t M0.340.07Yes
β S M−0.030.02No
β C M−0.040.03No
β A M−0.040.06No
σ V0.230.02Yes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alkzir, N.; Yarykina, M.; Abgaryan, A.; Gladilin, S.; Nikolaev, D.; Nikolaev, I. Dual-Input Neural Networks for Personalized Image Precompensation. J. Imaging 2026, 12, 456. https://doi.org/10.3390/jimaging12090456

AMA Style

Alkzir N, Yarykina M, Abgaryan A, Gladilin S, Nikolaev D, Nikolaev I. Dual-Input Neural Networks for Personalized Image Precompensation. Journal of Imaging. 2026; 12(9):456. https://doi.org/10.3390/jimaging12090456

Chicago/Turabian Style

Alkzir, Nafe, Maria Yarykina, Alexander Abgaryan, Sergey Gladilin, Dmitry Nikolaev, and Ilya Nikolaev. 2026. "Dual-Input Neural Networks for Personalized Image Precompensation" Journal of Imaging 12, no. 9: 456. https://doi.org/10.3390/jimaging12090456

APA Style

Alkzir, N., Yarykina, M., Abgaryan, A., Gladilin, S., Nikolaev, D., & Nikolaev, I. (2026). Dual-Input Neural Networks for Personalized Image Precompensation. Journal of Imaging, 12(9), 456. https://doi.org/10.3390/jimaging12090456

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop