Reducing Lateral Visual Biases in Displays
Inbar Huberman, Raanan Fattal

TL;DR
This paper introduces a method to reduce lateral visual biases like Mach bands and halos by computing an image with counter biases, aiming to improve visual perception accuracy on displays.
Contribution
The paper presents a novel computational approach to mitigate lateral inhibition biases in human vision, enhancing image perception fidelity.
Findings
Effective reduction of Mach bands and halos.
Improved perception of uniform regions.
Method applicable to various display content.
Abstract
The human visual system is composed of multiple physiological components that apply multiple mechanisms in order to cope with the rich visual content it encounters. The complexity of this system leads to non-trivial relations between what we see and what we perceive, and in particular, between the raw intensities of an image that we display and the ones we perceive where various visual biases and illusions are introduced. In this paper we describe a method for reducing a large class of biases related to the lateral inhibition mechanism in the human retina where neurons suppress the activity of neighboring receptors. Among these biases are the well-known Mach bands and halos that appear around smooth and sharp image gradients as well as the appearance of false contrasts between identical regions. The new method removes these visual biases by computing an image that contains counter…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVisual perception and processing mechanisms · Neural dynamics and brain function · CCD and CMOS Imaging Sensors
\JournalSubmission\electronicVersion\PrintedOrElectronic
Reducing Lateral Visual Biases in Displays
Inbar Huberman and Raanan Fattal
Hebrew University of Jerusalem
Israel
Abstract
The human visual system is composed of multiple physiological components that apply multiple mechanisms in order to cope with the rich visual content it encounters. The complexity of this system leads to non-trivial relations between what we see and what we perceive, and in particular, between the raw intensities of an image that we display and the ones we perceive where various visual biases and illusions are introduced. In this paper we describe a method for reducing a large class of biases related to the lateral inhibition mechanism in the human retina where neurons suppress the activity of neighboring receptors. Among these biases are the well-known Mach bands and halos that appear around smooth and sharp image gradients as well as the appearance of false contrasts between identical regions. The new method removes these visual biases by computing an image that contains counter biases such that when this laterally-compensated image is viewed on a display, the inserted biases cancel the ones created in the retina.
User study results confirm the usefulness of the new approach for displaying various classes of images, visualizing physical data more faithfully, and improving the ability to perceive constancy in brightness.
Computer GraphicsI.2.10Vision and Scene UnderstandingPerceptual reasoning
:
\CCScat
1 Introduction
The human visual system is composed of multiple physiological components that apply different mechanisms in order to cope with the rich visual data that we encounter in our daily life. Consequently, there is a highly non-trivial relation between the way an image is perceived and its raw pixel intensities. This complexity leads to different types of visual biases and optical illusions.
One of the most common biases is the sharpening of the spatial profile of the response to localized stimuli. This effect is attributed to the lateral inhibition mechanism in which stimulated neurons suppress the activity of nearby cells [Bek67]. While the differential nature of this process increases the perceived contrast and sharpness, it also leads to various visual artifacts documented in the psychophysical literature. These biases include the well-known Mach bands [Rat65] in which false bright and dark peaks appear around intensity gradients, the introduction of halos around strong image edges [GSB06], as well as the formation of false contrasts, a phenomenon known as simultaneous contrast [Ade00]. Figures 1 and 2 show example images in which some of these effects occur.
While we are accustomed to perceive these inconsistencies on a regular basis, there are various situations in which their elimination is beneficial. In general, the process of imaging consists of converting some physical measurement or computed quantity into pixel intensity with the intent of conveying the actual values. For example, in radiology, tissues are visualized by mapping the amount of absorbed X-ray into gray-level values. This conversion is typically computed pointwise, without taking into account lateral perceptual considerations. While the effects due to lateral inhibition are typically subtle, this straightforward visualization pipeline may lead to misinterpretations of the displayed data and compromise the diagnosis, see [Daf77, Nie01]. A similar problem is known to occur in observational astronomy where false halos appear in stellar images [Ick74]. Technical drawings, maps, architectural plans, cartoons, line art, game-graphics, and logos are additional media affected by the lateral biases and may benefit from their elimination.
In this paper we describe a new method for generating laterally-compensated images containing counter biases, specifically designed to cancel the lateral inhibition effects created when viewed on a display. The method uses an image perception model that accounts for the compresive conversion of the light absorbed by the cone cells to neural excitation and the inhibitory coupling between nearby neurons. We use the well-known Hartline and Ratliff \shortcitehartline57 neural network to model the latter. By including and excluding this component we predict the lateral effects that we wish to cancel and compute a target perceived image that does not contain these effects. Thus, we solve an inverse problem where we search for an image that, when viewed on a display and lateral inhibition takes place, appears as some given target image that we wish to display without these effects.
The Hartline and Ratliff model is defined over to an achromatic stimulus. Applying it to the different chromatic channels independently produces spurious chromatic halos when processing color images. We extend the method to color images by deriving a lateral inhibition model, based on the Hartline and Ratliff formula, that accounts for the different types of cone cells in the human retina. By assuming chromatically-blind inhibition interactions we avoid the chromatic halos and obtain an effective lateral compensation.
The resulting procedure consists of very simple operations that make it computationally light and allow its integration into the display drivers. Thus, similarly to display color calibration, our technique provides a displaying mode which is free from lateral inhibition effects.
In order to obtain an effective procedure we conducted a user-study in which we estimated the optimal values of various model parameters. We also set up experiments that measure the method’s dependency on the viewing distance and moderate changes in the display brightness. In Section 4 we report the results of these tests as well as ones that demonstrate the effectiveness of our approach in reducing various biases. We also report tests that confirm the method’s ability to improve the comprehension of imaged values and perception of brightness constancy.
2 Related Work
Research in Perception. Studies of the human visual system suggest that it processes information at different levels of sophistication [Ade00]. The lowest level takes place in the eye which adapts to the level of incoming light and where retinal lateral inhibition takes place by the center-surround receptive fields of bipolar and ganglion cells. Hartline and Ratliff \shortcitehartline57 model the lateral inhibition using a neural network containing inhibitory coupling between nearby neurons. Barlow and Lange \shortciteBarlow74 suggest a non-linear variant of this model in which the inhibition depends on the level of excitation. Lateral inhibition is associated with various optical illusions including the Mach bands [Rat65, GSB06] and the simultaneous contrast [Ade00] shown in Figure 2. Kingdom and Moulden \shortcitekingdom88 propose a contrast sensitivity function specialized for predicting the apparent contrast in Cornsweet-type illusions. Unlike lightness-integration models this edge-detector is valid for arbitrary contrast level. Lateral inhibition effects are typically studied and demonstrated in achromatic stimuli. Tsofe et al. \shortciteSpitzer09 discuss related effects occurring in chromatic bands.
The representation and processing of surfaces, contours and object grouping are often attributed to higher-level mechanisms in the visual system. For example, Pessoa et al. \shortcitePessoa88 explain the Cornsweet illusion using the filling-in theory where various visual cues propagate across the image until edges are reached. The Retinex theory, by Land and McCann \shortciteland71, explains the ability to determine the color of a surface (reflectance) and its illumination based on the magnitude of the spatial variation of the two functions. Cognitive processes that incorporate prior knowledge over objects shape and material are attributed to a higher level of the visual system [Gil80, HB54]. Figure 2 shows example illusions attributed to the different levels of the visual system. In this work, we only account for the low-level lateral inhibition mechanism and hence the method we develop is limited to dealing with visual effects that are associated with this mechanism.
Applications in Computer Graphics. Many tone-mapping operators were developed by taking into account various aspects of the human visual system. Ledda et al. \shortciteledda04 use the physiological adaptation model of Naka and Rushton \shortcitenaka66 for estimating the perceived lightness to derive a tone-mapping. Akyuz and Reinhard \shortciteAkyuz08 evaluate tone-mapping techniques based on contrast preservation of the Cornsweet illusion image.
A different line of works uses contrast enhancement to modify various perceptual aspects of an image. Luft et al. \shortciteLuft06 improve the perception of complex scenes by introducing additional depth cues through the enhancement of contrast, color, and other image parameters. Ritschel et al. \shortciteRitschel08 extend this work to 3D scenes. Caselles et al. \shortcitecaselles11 introduce contrast enhancement into tone-mapping operator as an extra stage of visual adaptation. Finally, Trentacoste et al. \shortciteTrentacoste12 investigate the perception of contrast enhancement operations and characterize the circumstances in which these operations result in apparent halo artifact. In respect to this close-related work we note that our work focuses on naturally-occurring halo effects in the retina and their cancellation.
In a work, inspiring our own, Kim et al. \shortcitekim11 model the influence that edge smoothness has over the perceived lightness and colorfulness. Given an image with a known amount of blur, Kim et al. use their model to restore the color appearance prior to blurring.
Mittelstädt et al. \shortciteMSK14 describe a closely related method that compensates for psychological color effects based on the CIECAM02 appearance model. This work focuses on defining the optimization goal and the corresponding perceptual metrics and is demonstrated for data visualization. In our work we derive the perceived image model based on a specific visual mechanism, namely the lateral-inhibition. We demonstrate the reduction of various visual illusions, which were related to this mechanism in the psycho-physical literature. Moreover, we extend the model to color images which enables us to avoid chromatic halos created when processing each color band independently. Beyond its ability to predict the visual biases we wish to eliminate, unlike the non-linear optimization involved in \shortciteMSK14, the linear perceived image model we derive is designed such that it can be efficiently inverted. Mittelstädt and Keim \shortciteMSK15 reduce the complexity and running time of \shortciteMSK14 by using an efficient optimization and surrogate models.
3 New Method
The perceived-image model that we use consists of two well-known components describing the conversion of light to neural excitation and the lateral neural interactions that take place in the retina. We describe these components in Section 3.1 in order to establish the quantities that we use later, in Section 3.2, to derive our procedure for computing laterally-compensated images. In Section 3.3 we extend this perceived-image model to account for the different types of cone cells in the human retina. Finally, in Section 3.4 we describe a simple modification to our computational pipeline which preserves the fine image details in the compensation process.
3.1 Perceived-Image Model
When absorbing light of intensity , the cone photoreceptors produce a graded excitation which is typically modeled by a compressive function ,
[TABLE]
The psychophysiological literature offers different functions that model this relation, namely using a logarithmic function (Fechner-Weber) [Fuo59, Fec66, Pal99], a power-law relation [Ste67] and an S-curve [NR66]. See [XS89] for a more elaborate discussion regarding these possibilities and their relation. In our implementation we use the Fechner-Weber compression, . Since we focus on the foveal vision in bright visual conditions, we neglect the rod cells excitation.
The photoreceptor excitation is then transmitted to the bipolar cells either by direct connections or via the horizontal cells which are connected to a set of photoreceptors that surround the central group of directly-connected receptors. These two pathways form two opposite components in the receptive field of the bipolar cells: (i) a central receptive field where the cell reacts excitatorially to the stimulus arriving directly from the photoreceptors, and (ii) a surrounding field to which the cell reacts inhibitorially to stimulus arriving via the horizontal cells. See Palmer \shortcitepalmer99 for more details.
The Hartline-Ratliff model [HR57] describes this mechanism using a two-layered neural network containing inhibitory interactions between nearby neurons. According to this model, given the excitation at the -th receptor (or group of receptors), the response at the corresponding neuron (or group of neurons) in the next layer, , is given by
[TABLE]
where are the interaction coefficients of the inhibitory kernel. The interaction strengths are typically assumed to be a function of the distance between neuron, i.e., in case of a regular cells arrangement. This model holds for steady viewing conditions in which the system reached a steady-state. Physiological studies suggest that the fixation time period required is a fraction of a second [BTT71]. Figure 3 summarizes the two stages of the visual system we discussed and Figure 4 demonstrates its ability to predict Mach bands and halos.
When viewing an image on a display, the image pixels are projected onto the retina and the receptors, depending on their receptive fields, are stimulated by the image pixels and the retinal inhibition process takes place. This process can be expressed in image coordinates by back-projecting the inhibitory kernels onto the grid of the displayed pixels. By transforming Eq. (12) to image coordinates we get the following perceived-image formation model
[TABLE]
where denotes the excitation by the displayed pixel . The inhibitory kernel represents the cones receptive field back-projected onto the display grid. Ghosh et al. \shortciteghosh06 use difference of Gaussians to explain various low-level illusions and Vu et al. \shortciteVu09 use them to achieve invariance to illumination for face recognition. While we explored other types of functions (with convex, concave and linear decaying profiles), we could not establish any conclusive preference by the viewers in a user-study. Thus, we follow existing approaches and use Gaussian functions for defining by
[TABLE]
While the receptive field is assumed fixed in the retina the kernel scale, , depends on the display’s pixel size and, under a perspective viewing model, it must also grow with the vieweing distance. Therefore, we determine by
[TABLE]
where is the viewing distance in inches and is the display pixel density per inch (assuming the coordinates are integer pixel coordinates). The parameter determines the inhibitory coupling strength or, in our case, the compensation level that we produce. We used (along with defined above) to produce all the results shown in this paper unless noted otherwise. In Section 4.1 we explain how we obtained these value and confirmed their optimality by a user-study. In the study we also validated the linear relation between and the viewing distance .
The second Gaussian in , i.e., the in Eq. (4), describes the sampling unit of the retina. The resolution of current displays is well resolved by the human visual acuity and hence no additional blurring is required. Thus, this Gaussian must be very narrow, effectively a Dirac delta function , in case of a display with less than 300 pixels per inch. Finally, we note that our choice of , defined in Eq. (4), corresponds to a commonly-used filter for image sharpening known as unsharp-mask [Ney93]. Unlike the latter, our compensation scheme consists of inverting an operator containing this term.
3.2 Producing Laterally-Compensated Images
In order to compute a laterally-compensated stimulus image that when viewed on a display no lateral inhibition effects are perceived, we first compute a target image describing how an input image is perceived by a visual system that does not contain the lateral inhibition mechanism. Given the latter, we recover the laterally-compensated image from Eq. (3). The target perceived image is obtained by simply omitting the lateral inhibition mechanism from the model. Therefore, by applying only Eq. (1), we get that , where is the intensity of the input image that we wish to display with no lateral inhibition effects.
To summarize, given an input image , we map it though the response curve to obtain the target perceived image . We then compute the corresponding stimulus image according to Eq. (3) by
[TABLE]
Finally, we map back to image intensity by inverting Eq. (1), i.e., , and display the laterally-compensated output image .
In principle, this lateral-compensation scheme can be carried out using any perceived-image model that accounts for lateral inhibition. Kingdom and Moulden \shortcitekingdom88 use a first-order derivative of a Gaussian filter for predicting the appearance of borders (edges). The use of a differentiated Gaussian corresponds to a band-pass filter in which low- and high-frequency components are lost. While this model can be used for predicting perceived quantities, it is impossible to use it in our scheme where the perceived model must be inverted. Moreover, this scheme is limited to one-dimensional signals. As we mentioned above, Vu et al. \shortciteVu09 use difference of Gaussians for achieving illumination-invariant image representation. However, similarly to Kingdom and Moulden, not all the frequencies exist in this representation and hence this model cannot be inverted.
3.3 Color Images
The procedure described above is applicable to achromatic images. In this section we extend it to conventional RGB images, . The mapping between the light absorbed by the cone cells and the neural stimulus they output, in Eq. (1), is defined over physical light intensity units. Therefore, we need to obtain a description of the light emitted when displaying each RGB pixel value. We achieve this by extracting the display ICC profile and use its associated mapping that approximates the display’s light spectrum in the standardized CIEXYZ colorspace. In this colorspace the visible light range is spanned by a linear combination of three non-negative standardized color matching functions and that specify the emission in each wavelength . Let us denote the spectral sensitivity of the long-, middle- and short-wavelength cone photoreceptors by and respectively. Given these two triplets of emission and response functions, we compute the total light absorbed by each type of the cone cells being exposed to the light emitted by each of the CIEXYZ color channels by
[TABLE]
where indexes the cone spectral sensitivity functions, i.e., , and indexes the CIEXYZ color matching functions, . These integrals are evaluated over the visible light wavelength interval and result in the following 3-by-3 absorption matrix
[TABLE]
The product of with a three-dimensional vector of XYZ color coordinates gives the light absorbed by the long-, middle- and short-wavelength cones, which is a coordinate in the LMS colorspace. Note that unlike the color transformation matrix between the XYZ and LMS colorspaces, the absorption matrix is not designed to match similar colors between the colorspaces.
Given the CIEXYZ value of each pixel, we use to obtain the absorbed and values across the entire image. We estimate the graded excitation produced by each cone cell according to the compressive relation in Eq. (1) and use it, as we did above, to define the target perceived image
[TABLE]
In order to model the lateral inhibition occurring between these three color channels we extend the Hartline-Ratliff relation to account for the three types of cone cells in the human retina. The extension, which we derive at the Appendix Section, found in the supplemental material, is based on the physiological observation that the connections between the horizontal cells and the cone cells are chromatically blind, i.e., they do not exhibit a chromatic preference [BG87, DLS*∗*96]. Thus, in our derivation we assume that the long- , medium-, and short-wavelength cones equally inhibit one another and obtain an inhibition model, analog to Eq. (6), given by
[TABLE]
where subscripts denote three separate equations in the LMS space. The common term describes the total excitation in the retina resulting from all three cell types. As we explain in the Appendix, since there are typically 50% more long-wavelength cones than medium-wavelength cells [CNN02] and the short-wavelength cones constitute about ten percent of the total cones population in the fovea, the total excitation is computed by
[TABLE]
A similar quantity is often used to estimate the achromatic component of images [MRK98, PTYG00]. Note that if we replace the total excitation in Eq. (10) with the excitation in each color channel, i.e., use to describe the lateral inhibition, chromatic effects attempting to correct chromatic inhibition biases will appear. Whether chromatic lateral inhibition effects occur in the human retina is a matter of debate. Reports that describe chromatic biases note that their behavior differs from the achromatic lateral inhibition effects [TS09] and the former is typically associated with successive-contrasts (afterimages) in case of prolonged viewing followed by eye movement [WC87]. Figure 6 shows an example containing a strong edge between two opponent colors. In this example we compare the results obtained by our chromatically-blind scheme and the channel-independent alternative, i.e., the use of in Eq. (10), which assumes inhibition occurs only between cells of the same type. While our result does not introduce new colors to the compensated image, a thin green halo appears in the channel-independent compensation.
Finally, we obtain the laterally-compensated image by reversing the model transformations in the pipeline we described, i.e., we recover the corrected LMS values by computing , we map these values to the corresponding CIEXYZ stimulus values using and finally transform back to the device RGB values based on the display’s ICC profile. Figure 5 summarizes the steps in this computational pipeline.
3.4 Detail Preservation Step
Since the lateral inhibition mechanism acts as a sharpening operator, its inversion acts as a blurring mechanism. Thus, our compensation procedure acts as a blurring operator which may undermine the contrast of fine image details. While there are many types of images that benefit from our correction, as shown in Section 4, there are classes of images that contain important fine details, such as the case of natural images. We circumvent this visual degradation by excluding the details from the compensation procedure. This is carried out by separating the perceived image into a base and detail components using the bilateral filter [TM98] (we used and ). The strong edges which typically produce the lateral-inhibition halo effects are left in the filtered base image, , and hence we apply our correction only to this component of the image. Finally, we add the original detail component of the image, , to the resulting compensated image .
4 Evaluation and Results
In order to implement and evaluate our method we used screen calibration equipment (X-Rite Eye-One Display) to extract the ICC profile of the display we use. This provides us the mapping between raw RGB image values and the radiometrically-linear CIEXYZ coordinates parametrizing the spectrum of the light emitted from the display. In order to avoid banding effects in the corrected images we produce, we conducted our evaluation on a 30-bit display (Dell U2410). Such displays are becoming affordable and popular. Our method mostly consists of pointwise operations (colorspace transformations) and a single convolution with a fairly small kernel. Our Matlab implementation takes 0.75 seconds to process a one-megapixel image on a 2.6Ghz Intel Core i7 machine.
While the reader cannot recreate the exact viewing conditions for which we computed the compensated images, we would like to encourage him or her to view our images in the supplemental material, where they are more genuinely reproduced than in the paper. In order to find an effective viewing position we advise testing different viewing distances, around 30 inches between the forehead and the display in case of a 24 inch display. This distance grows linearly with the display size.
4.1 User Study
We conducted a user study consisting of 22 volunteers with several goals in mind; calibrating our model by estimating its parameters, comparing its accuracy to alternative inhibition models, evaluating its effectiveness in reducing biases due to lateral inhibition and studying the method’s dependence on viewing conditions. The room in which we conducted the tests was slightly dimmed. When seating the participants we made sure their forehead is approximately 30 inches away from the display. We started each experiment by ensuring the participant understands the phenomenon we are referring to and intend to cancel. For example, we verified that the viewers observe the lack of uniformity in certain regions and halos around particular edges. The participants were selected from different disciplinary backgrounds and were naive as to the purpose of the study. They had normal or corrected-to-normal vision. Six of the viewers participated in the model calibration described below and the rest (sixteen) for evaluating our method in a sequence of tests described in this section.
Model Fitting. The first test is designed to estimate the parameters of the perceived image model, in Eq. (3) and Eq. (4), namely the compensation level and the inhibitory kernel base scale in Eq. (5), that achieve the most effective results. In this test we allowed the participants to adjust a slider that changes in a discrete range and displayed the resulting laterally-compensated image interactively. The participants were asked to search for the configuration in which the effects due to lateral inhibition are minimized. In this task we used the Stripes Pattern (shown in Figure 1) and asked the viewers to achieve the most uniform gray stripe possible. The same step was conducted in order to determine an optimal value for which determines the base scale according to Eq. (5). We repeated this process by alternating between the two parameters until the changes were insignificant. The lateral-inhibition effects and their reduction are most-noticeable on the Stripes Pattern and hence we conducted the fitting using this image.
Figure 7 shows the histogram of the values selected by the viewers at the last iteration when we set and (at particular viewing conditions specified below). In the case of the compensation level , more than 65% of the participants choose the value and no other value received more than 17% of the votes. The estimated mean in this case is with STD of . In case of almost 70% of the participants voted for and the computed mean is with STD 5.86. In this test the viewing distance is inches and display pixel density of pixels per inch. Thus, according to Eq. (5), the value of translates into the base kernel value of . We used the average values of and base scale obtained in the last iteration to produce all the results in the paper unless stated otherwise.
Model Accuracy. As noted in Section 3, Barlow and Lange \shortciteBarlow74 suggest a model in which the amount of inhibition depends on the excitation level. In this model the inhibition term in Eq. (3) is multiplied by where . We conducted a user-study to evaluate the accuracy of the perceived image model derived in Section 3 versus the option of adding this dependency on the excitation level. In this test we displayed the images corrected using each of the models side-by-side (at a random order) and asked the viewers to pick the image containing the least amount of inhibition effects. Figure 8 shows the viewers choices which is centered around 55% (in favor of the original Hartline-Ratliff based compensation) with STD of 7.5%. This trend is consistent in both display brightness settings which indicates that the dependence between the levels of the inhibition and excitation is negligible at the brightness regimes of standard displays.
Since the model of Barlow and Lange \shortciteBarlow74 does not show improvement despite its higher computational cost, we focused on the perception model defined in Eq. (3) and conducted all the rest of the tests reported in this paper using it. In this test we determined the optimal value of (and its matching and values) using the same procedure described above for the Hartline-Ratliff model.
Method Effectiveness. To measure the effectiveness of our approach we presented to the participants the input image next to our output image (again, at a random order) and asked them to specify where the biases due to lateral inhibition appear weaker. Figure 9 shows that 84% of the viewers picked our result in case of the synthetic patterns and 83% in case of the natural images. Below we report various other, more specific, tests whose success reflects positively on the effectiveness of our approach.
As another test for estimating the overall performance of the method, we evaluated it using the visual metric of Mantiuk et al. [MKRH11]. This metric is expected to predict the likelihood at which an average viewer will notice the difference between the input and the resulting corrected images as well as the quality degradation associated in the process. The table shown in Figure 10 provides the two scores predicted for three different classes of images. According to this metric, the chances at which the differences will be visible are 82.7% in case of natural images, 55% in case of medical, and 73.8% in case of maps, cartoons and technical drawings. While only every other viewer is predicted to notice our lateral-compensation in case of medical images, we believe that this figure will increase in case of trained radiologists. We should also note that some of the other tests reported here indicate higher success rates. As for the quality degradation, in all three image categories, our method obtained a mean-opinion-score of 97% or higher.
Display Brightness. We also wanted to check at what extent the compensation we compute depends on the display brightness setting. To do so, we conducted all the tests described in this section under two display settings; a bright mode in which the maximal intensity is 240 and a dim mode with 50% this intensity. The results shown in figures 7, 8, 9, 11, 12 and 14 by the green- and red-color bars do not indicate that there is a major dependence on the display brightness. For example, in Figure 7 there is a difference of less than 6% in the estimated and no difference in , and in Figure 9 there is less than 3% difference in the viewers choice in case of synthetic patterns and 13% in case of the natural images. Moreover, these differences do not correspond to a consistent trend in which the method operates better or worse and hence we conclude that it is invariant to moderate changes in the display brightness level.
Viewing Distance. In another test we displayed, side-by-side (at a random order), two laterally-compensated images produced using the optimal kernel scale found and using twice that value. The participants were seated at two different distances from the display; at the distance we conducted the previous test (30 inches between the forehead and display), and optimized the kernel scale for, and twice that distance (60 inches). In both cases the participants were requested to pick the image in which the horizontal gray stripe appears more uniform in the Stripes Pattern image. Figure 11 shows that 75% of the viewers chose the smaller kernel when sitting close to the display and almost all the viewers chose the larger kernel when seated farther. These results support the correction of the kernel scale based on the viewing distance according to Eq. (5) which assumes perspective viewing model. We believe that this relation should be sufficiently accurate for the range of distances displays are typically viewed.
Brightness Constancy. In order to evaluate whether our approach improves the detection of constancy in brightness we processed the Simultaneous Contrast image, found at the supplemental material, and used it to conduct two tests. In the first test we presented the viewers with the input and the compensated images one after the other at a random order. In each case we asked them whether the circles appear to have an identical brightness or not. In the second test we displayed both images one next to the other, again at a random order, and asked the participants to choose the pair in which the circles appear to have closer brightness. Figure 12 shows that more than 90% of the viewers indicated identical brightness when viewing our compensated image where as only 25% of the viewers indicated this is the case when viewing the original image. Similarly, when being presented with both images 87% of the viewers picked our compensated image as the one in which the circles’ brightness appear closer.
We proceed by demonstrating the effectiveness of our lateral compensation for various applications and image types.
4.2 Applications
Medical Data Visualization. In the next test we wanted to check whether our method improves the accuracy at which visualized data is perceived and used X-ray images for this purpose. To carry this out we computed the perceived values of the input and compensated output along a short horizontal segment, containing an interface between a soft tissue and a bone, to obtain two 1D functions. Figure 13 shows the input and output images as well as their corresponding 1D perceived functions. The perceived input values, along the segment, were computed by solving Eq. (3) given . The perceived output values, along the segment, are by construction given by . Given this data (two input images and their two corresponding 1D functions) we conducted the following three tests.
In the first test we displayed the input image with the short horizontal segment highlighted. We plotted the two perceived 1D functions next to the input image and asked the viewers to pick the function which they think best represents the intensity of the highlighted image segment. In the second test we replaced the input image with our compensated output image, kept the same two plots, and asked the same question as in the first test. In the third test we displayed both images and both plots (at a random arrangement) and asked the viewers to match each plot with a different image. These three tests were presented in a random order to the participants.
Figure 14 shows that in 80% of the cases, the viewers’ choice is in agreement with our model’s prediction. This implies that our compensated image conveys the corrected plot that does not contain the lateral inhibition effect, the spurious undershoot in the soft tissue near the bone (highlighted by the orange circle in Figure 13), and it is therefore more faithful to the original data which does not contain this feature. The second X-ray referred to in the figure is shown in the supplemental material of the paper.
While these results demonstrate improvement in perceiving the visualized data, radiologists are aware of these biases and perform their diagnosis by taking them into account (despite the concerns raised in [Daf77, Nie01]). Nevertheless, we approached two senior radiologists and asked them to evaluate the results of our method on six X-ray images, X-Ray 1 up to 6 in the supplemental material taken from [Nie01]. We further asked for their opinion on the plausibility of using such a correction in the diagnosis process. In particular, we first made sure that they understand what our correction does over synthetic patterns (and indeed they were both familiar with the issue under the general term mach-effects). Then we showed them pairs of images consisting of input and our output and pointed them to the particular clinical uncertainly discussed by [Nie01] in each image. We asked them whether they believe the illusions are reduced and asked for their overall opinion of our output. The head of the radiology dept. recognized the biases in X-Ray 1 up to X-Ray 5 and confirmed that indeed they were weaker in our images but could not identify the artifact in X-Ray 6 and hence its reduction. While he was very positive about integrating such a solution, he raised concerns about the overall loss of contrast in the image. As a compromise he suggested that our lateral correction will be used selectively across the image, where the radiologists will be able to mark a window in which it will apply as well as be able to switch the correction on and off, similarly to other mappings radiologists use when inspecting X-ray images. We received a similar feedback from the oral X-ray specialist we interviewed. She appeared to be very aware of these issues and showed us additional cases where these biases appear. While she was able to see the reduction of the effects in X-Ray 1 to X-Ray 6, she appeared to be more concerned as to the loss of fine details. She, too, suggested that our solution will be used with the ability to toggle between the input and output images.
We believe this feedback confirms that our correction has the potential of aiding medical imaging however it cannot be put to immediate use. A more thorough clinical experimentation is required in order to understand how the corrected images should be incorporated in the diagnosis process.
Lateral Inhibition Study. There are several established test patterns that are used for studying lateral inhibition phenomena. We ran our method on several commonly-used patterns and observe a noticeable reduction in the associated effect. As shown in Figure 9, 84% of the viewers saw reduction in our corrected images. More specifically, in the Chevreul illusion, found in the supplemental material, false gradients are perceived at the interface between pairs of constant-gray columns. In our output image the columns appear more uniform and less affected by their neighboring columns. A similar reduction of false variations in brightness is observed at the gray horizontal stripe in the Stripes Pattern shown in Figure 1. A canonical test pattern showing the formation of Mach bands around a smooth gradient and the reduction of these bands in the corrected image can be found at the supplemental material.
Our method’s ability to reduce these effects in the test patterns supports the theoretical association between these illusions and the lateral inhibition mechanism. Moreover, our bias-compensation methodology can be used as a framework for studying this mechanism and evaluating different models that describe it.
Logos, Maps, Cartoons and Technical Media. Beside visualizing data accurately demonstrated in the previous section, our method is useful for different types of images used in the media and for design. Generally speaking, images that contain large regions of a constant color separated by sharp transitions are prone to halo effects due to lateral inhibition. These emphasized transitions may appear too harsh and the loss of uniformity near these edges may be misleading as to the content of the image.
Figures 1 and 15 show cartoon drawings where halos are observed around the characters’ outline. Our method reduces the halos and makes the background appear more uniform. This result may be closer to the artist’s intent and/or aesthetically preferable. In the supplemental material we also include cartoon videos processed by our method. Similarly to the case of still images, the compensated videos show reduced halos and higher constancy in flat regions. No temporal artifacts are observed when processing the frames independently.
Logos and graphs are additional scenarios that can benefit from our compensation. As demonstrated in Figure 17, the halos around the red Coke text or the Google Scholar bars are reduced in the laterally-compensated images which offer a softer appearance and less distracting features. Technical drawing, maps and computer games with small color-palette also exhibit Mach bands and false halos. We demonstrate the utility of our approach to such images in the supplemental material.
Web Pages. A vast number of web pages, written in HTML or other script language, are composed of blocks of different functionality, such as advertisement banners and video players. This involves many high-contrast and sharp edges that produce halos and Mach bands effects. YouTube’s screen-shot, found at the supplemental material, shows a bright halo appears around the video player’s frame. In our compensated image this effect is reduced and the page appears calmer to the eye. Note that it is possible to apply our correction only to specific blocks, e.g., the player’s frame but not process the video content.
Natural Images. As we acknowledged in Section 1, it is widely-accepted that the human visual system is adjusted to natural scenery. Nevertheless, we experimented in applying our method over this type of images. The images shown in Figure 18 contain high-contrast edges around the persons’ outlines and around which halos are perceived. In these images the outline edges consist chiefly of a monotonic pixel variation (step-edges). Similarly to the other types of images we discussed above, the compensation reduces the halos and flattens the background. The softer appearance resulting from the idealized step edges may be preferable to some or serve as an artistic filter. In order to assess the visual impact of our method, we presented the viewers a natural images next to its compensation and asked them to specify “which image looks better?". The left bar in Figure 16 shows that the majority chose the compensated image.
The need for the detail preservation step, described in Section 3.4, is typically unnecessary in images that do not contain a considerable amount of fine details, e.g., cartoons, logos, maps, technical drawings etc. Natural images may contain such detail and hence we applied it only when processing natural images. Figure 18 demonstrates this step’s ability to preserve fine-details such as the facial features. In order to quantify its utility we repeated the test above and compared the input to its compensation without this step as well as compared two compensated images, with and without the detail preservation step. The results, shown by the middle and right bars in Figure 16, indicate that this step is needed for obtaining better visual quality.
5 Conclusions
We described a new algorithm that compensates for visual biases produced by the lateral inhibition mechanism in the retina. The method operates based on a perception-based model consisting of two well-studied physiological mechanisms: the compressed perception of light intensity and the neural inhibition process in the retina. In order to apply the method on color images, we derived an extension of the Hartline-Ratliff formula that accounts for the three types of cone cells in the human retina based on a chromatically-blind coupling.
We conducted a user study to evaluate the method’s effectiveness as well as estimate its parameters. The tests confirm the method’s ability to reduce the lateral biases in various types of images and its applicability to various tasks, namely, improving the comprehension of imaged values, e.g., medical data, aiding the perception of brightness constancy and reducing Mach bands and halos in different types of images such as logos, maps, cartoons, computer games, technical plans and natural photographs. The latter reinforces the theoretical attributions of these illusions to the lateral inhibition mechanism.
Our approach suffers from several drawbacks. As noted in Section 3 it depends on the viewing distance and may not be applicable in situations where the viewing distance is unknown or varies considerably. A sonar or a different type of depth sensor can offer a solution in this respect. Similarly, the conversion from RGB to XYZ depends on the display and needs calibration. We should note that low-cost calibration devices are readily available nowadays. While the method reduces lateral biases in natural images, it is also introduces some blur that weaken the fine details. The detail-preserving step we described offers some remedy for this shortcoming. As we noted earlier, the lateral inhibition mechanism is a time-dependent process and our method assumes a steady viewing configuration. Hence, when moving the eye across the image our compensation is usually lost. Despite these limitations, we believe that our work makes practical contributions in many scenarios as well as hope that it will increase the awareness in the computer graphics and computational photography communities to the biases associated with the lateral inhibition mechanism.
As future work we intend to explore the modeling and compensation of other visual mechanisms in order to address additional types of visual illusions, such as ones associated with peripheral vision. While we demonstrated feasibility, as future work we intend to study more thoroughly the application of our approach in medical data.
Acknowledgements
We thank Prof. Jacob Sosna and Dr. Chen Nadler for their useful feedback on our work. This work was funded by the Israeli Science Foundation (ISF) as well as the European Research Council, ERC Starting Grant "Fast-Filtering".
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[Ade 00] Adelson E. H. : Lightness perception and lightness illusion. The Cognitive Neurosciences (2000), 339 – 351.
- 2[AR 08] Akyuz A. O., Reinhard E. : Perceptual evaluation of tone-reproduction operators using the cornsweet–craik–o’brien illusion. TAP 4 , 4 (2008).
- 3[Bek 67] Bekesy G. V. : Mach band type lateral inhibition in different sense organs. J Gen Physiol 50 , 3 (1967), 519–32.
- 4[BG 87] Boycott B. B. H. J. M., G. S. H. : Cone connections of the horizontal cells of the rhesus monkey’s retina. Proc. R. Soc. London Series B , 229 (1987), 345?–379.
- 5[BL 74] Barlow R. B., Lange G. D. : A nonlinearity in the inhibitory interactions in the lateral eye of limulus. J Gen Physiol 63 , 5 (1974), 579–89.
- 6[BTT 71] Biederman-Thorson M., Thorson J. : Dynamics of excitation and inhibition in the light-adapted limulus eye in situ. J Gen Physiol 58 , 1 (1971), 1–19.
- 7[CBPF 11] Caselles V., Bertalmio M., Provenzi E., Ferradans S. : An analysis of visual adaptation and contrast perception for tone mapping. IEEE Transactions on Pattern Analysis and Machine Intelligence 33 , 10 (2011), 2002–2012.
- 8[CNN 02] Carroll J., Neitz J., Neitz M. : Estimates of l:m cone ratio from erg flicker photometry and genetics. Journal of Vision 2 , 8 (2002).
