MeganckSajdakWu
Ryan Meganck, Adam Sajdak, Stephen Wu. Predicting Human Performance Using ISETBIO.
Introduction
Motivating Examples
Modern displays have benefited heavily from the technological advances surrounding the manufacture and design of transistors. Display designers have been able to package an increasing number of transistors in a given display to yield stunningly detailed images while also improving the energy efficiency of the displays. In a vacuum, the goal of these display designers would be to strive for an infinite number of pixels in a display, but in all pipelines, there is a bottleneck for performance. In this case, the pipeline consists not only of display, but the observer watching the display. The observer is limited by non-idealities in the eye as well as the image processing portion of the brain.
At very low display resolutions, it is expected that a human observer would be able to notice an increase resolution or pixel count. In this case, the display resolution is the limiting factor in the pipeline. Conversely at high resolutions, there is a point where the resolution of the display is no longer the limiting factor and the human observer can no longer resolve higher resolutions. A more realistic goal for display designers is therefore to build a display that shifts the bottleneck to the observer.
The purpose of this project is to determine the critical point for display performance in the visual pipeline. In other words, to find the critical resolution at various viewing distances where the observer is no longer able to discern two different images.
For practicality, three different use-cases were simulated throughout the course of the project. Given the different viewing distances, it follows that each application would have a different critical PPI.
- Tablet - 0.5m viewing distance
- Monitor - 1.0m viewing distance
- Television - 2.0m viewing distance
A preliminary market study Template:Ref was done to find typical PPI values for different applications. Histograms of the results are shown below. These graphs will be referenced later when analyzing the results of the experiments. It is important to note that tablet PPI's are centered around 200, desktop monitors around 100, and televisions around 50. This goes to show that viewing distance plays a large role in the practical PPI of a commercial display.
Vernier Acuity
The metric used in this project for predicting an observer's ability to resolve an image is Vernier Acuity. This metric describes an observer's ability to discern the alignment of two line segments. The two images below are examples of the two scenes used throughout the project. As labeled, the first scene is an aligned line segment and the second is misaligned. As the display resolution is increased, it becomes more difficult to discern if the segment is aligned when the misalignment stays at one pixel. In our tests, the observer was shown 1,000 images per simulation (500 aligned, 500 misaligned) and the computer algorithm would attempted to classify them as aligned or misaligned. A 75% classification accuracy indicated that the human visual system was not the limiting factor in the visual pipeline for the given set of parameters.


Image Pipeline Noise Sources
In order to simulate the effect of the human visual system on the visual pipeline, several physical non-idealities and noise sources are added. These noise sources make it much more difficult for the computer algorithm (and the human brain) to accurately classify the images.
One source of noise is the point-spread function (PSF) and blurring associated with the lens of the human eye. The lens is not ideal and has a point-spread function that dictates how light will be diffused as it passes through the lens. Furthermore, chromatic aberrations cause the diffusion to depend on the color or wavelength of the light. The image below shows a scene (from above) that has passed through the human lens. As shown, the line on the retinal image is much thicker than the original scene due to the blurring and it is much more difficult to tell that the image is misaligned.

Another source of noise in the image pipeline is fixation eye movement. Fixational eye movement the involuntary movement of the eyes when trying to focus on a single point. While these movements are typically very short, they affect the integration of photons on photoreceptors in the eye. In the context of classification, the eye movements add noise to the photon data and make it more difficult to accurately classify a scene.
The last source of noise is photon noise. This noise arises from the discrete nature of photons. Even in a fully lit scene, a given photoreceptor will receive a slightly different number of photons than a neighboring pixel during a given integration time. The end result is a noise source superimposed with the ideal photon count to produce the measured photon data.
Methods
The general procedure used for both methods in this experiment is:
- Generate two scenes (one aligned, one misaligned).
- Obtain cone absorption data for these scenes.
- Perform additional processing on the data if necessary.
- Train the system using the cone absorption data.
- Obtain a new set of cone absorptions for the scenes.
- Use the system to predict the classification of the test cone absorptions.
- Compute prediction accuracy and other metrics.
Data
Training and test scenes were generated in MATLAB with the aid of a tutorial script provided by course staff. A human eye and display are modeled, and the retinal image is computed by applying functions which integrate the incident photons and approximate the noise generated by aberrations in the path from image to retina. This also includes noise induced by fixational eye movement.
The feature vector for the experiment is the vector of cone absorptions. The length of this vector varies with FOV, viewing distance, and screen resolution (TODO), since not all cones in the eye are affected by the scene.
1-Nearest Neighbor
The k-nearest neighbors algorithm classifies a test point by observing the k training examples closest to the point and chooses the output label of the plurality. In this case, k = 1. The distance between two images was measured using the euclidean distance (2-norm) on vectorized retinal images. The images were vectorized so that each pixel yielded a unique dimension.
Support Vector Machine
One approach uses a support vector machine to classify test images. Given a training dataset, this is achieved by calculating the separating hyperplane which yields the largest functional margin between the two classes. Test inputs are then classified based on which side of the hyperplane they fall on.
The particular flavor of SVM chosen for this investigation is C-support vector classification (C-SVC) and the kernel trick was employed using a radial basis function (RBF) kernel to allow for interpretation of higher-dimensional features aside from the individual cone absorptions. This method required the tuning of two parameters:
- C-SVC cost parameter
- Controls the number of misclassified examples allowed when processing the training data to maximize the margin. This allows the system to ignore outliers if they exist.
- RBF parameter
- Controls the scale of the kernel function.
Since these parameters are relatively independent, an exhaustive search across parameter pairs was deemed unnecessary. Instead each parameter was varied along a single dimension on a logarithmic scale and the values generating the highest prediction accuracy were chosen.
Experiments
Experiment 1: Determine the Critical PPI
Scope
The purpose of the first experiment was to determine the PPI where a human observer can start to discern misalignment in two line segments. A classification accuracy of 75% was used to signify an ability to accurately evaluate an image. The classification accuracy was plotted with respect to PPI for three different viewing distances: 0.5m, 1.0m, and 2.0m. In order to account for the discrete nature of a simulation, a simulation with 500 samples was run 20 times at a given PPI and the classification accuracy was averaged over these 20 runs.
1-Nearest Neighbor Results

| Viewing Distance | Threshold Resolution |
|---|---|
| 0.5 m | 150 ppi |
| 1.0 m | 300 ppi |
| 2.0 m | 650 ppi |
Support Vector Machine Results

| Viewing Distance | Threshold Resolution |
|---|---|
| 0.5 m | 150 ppi |
| 1.0 m | 300 ppi |
| 2.0 m | 650 ppi |
General Conclusions

Experiment 2: Effect of Contrast on Classification Accuracy
Scope
The color of the background is varied from black to white, and the PPI and viewing distance are held constant at values that approximate the human threshold for Vernier acuity. The results from Experiment 1 showed that the k-nearest neighbor and SVM algorithms yielded similar results for the critical PPI. Moving forward, only SVM was simulated but it was assumed that both algorithms would provide comparable results.
Support Vector Machine Results
Experiment 3: Effect of Pupil Diameter on Classification Accuracy

Scope
Support Vector Machine Results
Published Results
Published data suggests that humans can detect Vernier misalignments as small as 2-5 arcseconds apart.
The current experiments found that the threshold was roughly 15 arcseconds. This difference can be attributed to the fact that the referenced studies used a much greater line width (on the order of dozens of arc seconds, if not minutes). Thus in the published cases the width of the line is much greater than the displacement of the lines, while in this case the width of the line is exactly equal to the displacement. The following table shows the angle-to-PPI conversion for various viewing distances.
| Viewing Distance | Arc Seconds | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.5 m | PPI | 10478 | 5239 | 3493 | 2620 | 2096 | 1746 | 1497 | 1310 | 1164 | 1048 | 953 | 873 | 806 | 748 | 699 | 655 |
| 1.0 m | 5239 | 2620 | 1746 | 1310 | 1048 | 873 | 748 | 655 | 582 | 524 | 476 | 437 | 403 | 374 | 349 | 327 | |
| 2.0 m | 2620 | 1310 | 873 | 655 | 524 | 437 | 374 | 327 | 291 | 262 | 238 | 218 | 202 | 187 | 175 | 164 |
Conclusions
Further Investigation
- Application of principal component analysis to feature vectors
- Neural network
- Modeling myopia and hyperopia
- Comparing displays
- Contrast
- Line Width
- anything else?
References
Paper paper paper
http://en.wikipedia.org/wiki/Comparison_of_tablet_computers
Appendix I
Source code Result images
Appendix II: Work Breakdown
Ryan Meganck
- 1-NN implementation
- PCA implementation
Adam Sajdak
- Testing framework
Stephen Wu
- SVM implementation and parameter tuning
Shared Responsibilities
- Wiki page
- Data analysis


