Article | Open | Published:

Validation of motion perception of briefly displayed images using a tablet

Scientific Reportsvolume 8, Article number: 16056 (2018) | Download Citation


Motion perception of briefly displayed images has been reported to be abnormal in clinical populations afflicted with schizophrenia, major depression, autism, Alzheimer’s disease and epilepsy. These abnormalities have been measured using CRT monitors connected to a computer. Given that the use of this experimental set-up in clinical environments can be difficult, we tested whether motion perception of briefly displayed images could also be measured using a tablet. For 13 participants, we found similar estimates of motion discrimination on a tablet and a CRT. This validates a tablet to measure motion perception of briefly displayed images.


Abnormal motion perception of briefly displayed images has been reported in clinical populations afflicted with schizophrenia1, major depression2,3, autism4,5, Alzheimer’s disease6 and epilepsy7. For example, in schizophrenia the typical impairment in motion discriminability that occurs when a brief image increases size (perceptual surround suppression) is attenuated1.

Motion perception of brief images in clinical populations has been measured using CRT monitors1,2,3,4,6,7 or DLP projectors5 connected to a computer. These experimental setups display images accurately and precisely8,9,10, and at a high temporal rate of 100 Hz6 or 120 Hz1,2,3,4,5,7. But, installing, keeping and using them in clinical environments—such as examination or hospital rooms—can be difficult.

Mobile devices like tablets are more convenient instruments to measure motion perception in clinical environments. These devices, however, incorporate LCD screens, which in comparison to CRT monitors display images with worse spatiotemporal properties and at a lower temporal rate, typically of 60 Hz8,9,10. Nevertheless, the characteristics of the screen of a mobile device could be good enough to measure motion perception of brief images reliably. We test this idea here comparing motion perception of brief images using a conventional CRT running at 120 Hz and a tablet running at a fixed frame rate of 60 Hz.


On each trial (Fig. 1), a briefly-presented grating (small or large) drifted to the left or to the right (the direction was chosen at random) and the participant reported the perceived direction. Participants performed half of the trials on a CRT and half on a tablet.

Figure 1
Figure 1

Illustration of two trials of the perceptual test to measure motion discrimination of briefly displayed images. Two sizes were used (see Methods): small (1 degree of visual angle) and large (4 degrees).

Figure 2A shows, for each participant, the proportion of correct direction discriminations as a function of the duration of the grating, its size and whether the participant performed the task on a CRT or a tablet. For each participant and platform (CRT or tablet), we conjointly fitted two logistic psychometric functions—one for each size— to the proportion of correct discriminations as a function of the logarithm of grating duration. These two psychometric functions shared the slope parameter, as including independent slopes did not improve significantly the fit (likelihood ratio test, P > 0.01) for any participant except for participant 11 conducting the test on the CRT (likelihood ratio test, D = 14, P = 2 × 10−4).

Figure 2
Figure 2

(A) Motion discrimination performance in 13 participants. The small horizontal segments represent the 99% bootstrap confidence intervals for the threshold. The threshold is represented by the intersection of the confidence interval with the psychometric function. An asterisk on the top-left of each panel indicates that the threshold is significantly different for the two sizes of the grating. (B) The data on (A) replotted to better visualize the differences between platforms. An asterisk on the top-left of each panel indicates that the threshold is significantly different for the two platforms.

To assess the goodness of fit, we calculated the deviance11,12. From the 26 fits (13 participants × 2 platforms), the deviance was not significant (P > 0.01, the P was calculated using bootstrap12) in 19. From the 7 fits with significant deviances, several include proportions for short durations below chance level 0.5 (for example, participants 1, 6 and 9 for the CRT). This systematic error to report the opposite motion direction that occurs in some participants for the shortest durations might be related to the reversals that have been described for very briefly displayed gratings13. We hypothesize that these reversals could be caused by participants reporting the motion direction of the afterimage14 instead of the motion direction of the stimulus. Indeed, it has been shown that for very briefly displayed gratings the motion direction of the afterimage is easier to discriminate than the stimulus that produces it14. It is unclear, however, why these reversals seem to occur only for the CRT. We think that more research is needed to understand this phenomenon.

To summarise motion discrimination, for each psychometric function, we calculated the duration threshold as the duration for which the participant responded correctly 75% of the times. We found that except for participant 11 and 13, for whom the stimulus size did not affect discrimination, the threshold duration needed to discriminate direction was longer for the large grating than for the small grating (bootstrap, see Methods, Fig. 2A), which indicates that motion discrimination was more difficult for large stimuli and replicates the phenomenon of perceptual surround suppression15. We also found that the thresholds estimated from trials of the first block were very similar to the thresholds estimated from the trials of the second block (see Methods), which indicates that both platforms were reliable (Supplementary Figure S1).

To check whether the estimated thresholds were sensible for the 7 fits that showed significant deviances (see above), we also estimated the thresholds for this data using a more flexible nonparametric model that better captured the nonlinearities at short durations using the modelfree package16. We found very similar thresholds to the ones found using the logistic model (Supplementary Figure S2).

Figure 2B replots the data of Fig. 2A, but directly comparing motion discrimination for the two platforms in individual panels. Except for three participants (3, 5 and 9) for the large grating and two participants (10 and 11) for the small grating, there were no differences between thresholds measured using the CRT and the tablet (bootstrap, see Methods). The correlation between the thresholds (in log units) measured on the CRT and the tablet was large and significant for the small grating (Fig. 3A; Pearson correlation, r11 = 0.69, P = 0.009) and for the large grating (Pearson correlation, r11 = 0.89, P = 4 × 10−5). Across participants, a two-way repeated measures ANOVA indicated a significant effect of size (F1,12 = 39; P = 4 × 10−5), no effect of platform (F1,12 = 2.5; P = 0.1) and no interaction of size by platform (F1,12 = 2.9; P = 0.1).

Figure 3
Figure 3

(A) The thresholds measured on the tablet against the thresholds measured on the CRT. (B) The suppression index measured on the tablet against the suppression index measured on the CRT. In (A) and (B) the symbols with black contours represent the geometric means and the error bars the 99% t-based confidence intervals.

Figure 3B shows the suppression index—log10 (threshold for the large grating) −log10 (threshold for the small grating)—measured on the CRT against the suppression index measured on the tablet paired by participant. The correlation was large and significant (Pearson correlation, r11 = 0.84, P = 3 × 10−4). Across participants, the surround suppression index measured on the tablet (0.37) was not significantly different from that measured on the CRT (0.45; t12 = 1.7, P = 0.1).


We found similar duration thresholds and surround suppression indices for motion direction discrimination of brief gratings on a tablet and a CRT. This result validates the tablet to measure motion discrimination for this type of moving stimuli, as a CRT is the conventional experimental set-up to measure it1,2,3,4,6,7,15. We think that the validity of the tablet is important because motion discrimination of brief gratings have been shown to be altered in several neuropsychiatric conditions1,2,3,4,5,6,7. A tablet, by facilitating the measurement of this type of moving stimulus in clinical environments, will make it easier to collect large data samples, which could be important to establish the reproducibility of the findings and to test the influence of parametric changes of the stimuli.

We used an iPad instead of other tablet devices because this platform is readily available and it has a relatively small number of available models. This facilitates that the tablet application displays about the same stimuli in different models. Our application, for example, detects the iPad model and adapts the input size, input luminance and number of displayed frames in the code in a way that the size, luminance and duration of the grating displayed on the screen is about the same independently of the iPad model (in this study, we used just one model—the iPad 2017, but we also tested the flexibility of the application on the iPad Pro 1st generation running at 60 and 120 Hz). There are not many studies validating or using applications in tablet devices to perform perceptual tests, but the few reported in the literature also chose the iPad as platform17,18,19,20,21. One of these applications implements a test to measure the contrast sensitivity function17 and has been successfully used in patients who experienced extended early-onset blindness18. Another application implements a more general framework to display visual stimulation19 and has been successfully used to measure center-surround contrast suppression in patients with migraine20. These applications implement perceptual tests that display static stimuli. To our knowledge, our application is the first one to implement a valid perceptual test for dynamic stimuli.

To be able to assess perceptual surround suppression, we measured motion discrimination for small and large gratings. We matched the stimulus parameters to those in a previous study measuring perceptual surround suppression in patients with schizophrenia1. Across participants, we found an index of suppression of about 0.4, which is about the same that this previous study found in the group of healthy participants.

Interestingly, a previous study using stimuli like the ones we used showed that perceptual surround suppression for motion strongly correlates with intelligence22. A recent study also found this correlation, but of weaker magnitude23. Another recent study using a large sample24, however, could not replicate this finding. It has been suggested that a possible explanation of these conflicting findings is that in the large sample study, perceptual surround suppression was measured using an LCD monitor instead of a CRT or a DLP projector23,24. As tablets incorporate LCD screens, our results suggest that the conflicting findings might have another cause.

For all the participants of our sample, we were able to estimate motion discrimination thresholds using a tablet running at 60 Hz. This frame rate, however, could be too slow to measure motion discrimination for participants with very good motion sensitivity. This problem might be solved using the tablets like the iPad Pro running at 120 Hz.

Tablets and smartphones are mobile devices with a powerful hardware that can be used to implement a variety of behavioral tests and can revolutionize data acquisition in behavioral sciences25. An increasing number of studies are validating its use to administer cognitive26,27,28,29,30 and perceptual tests17,18,19,20. Here, we present a valid perceptual test to measure motion discrimination in a tablet device.



The study was approved by the ethical committee of the Hospital Clinic of Barcelona and followed the requirements of the Helsinki convention. Thirteen healthy participants (8 females) with a mean age of 28 years (standard deviation: 6 years) participated. They reported normal or corrected-to-normal visual acuity and did not know the hypothesis of the experiments. Informed consent was obtained for all participants.


The stimuli displayed on the CRT (Philips 109 P; 19 inches, 800 × 600) were generated using PsychoPy31. The stimuli displayed on the iPad (iPad 2017; 9.7 inches, 2048 × 1536 pixels, GPU PowerVR GT7600) were generated using a custom application developed natively for iOS in XCode, an integrated development environment (IDE) for developing software using the programming language Swift. To optimize the performance, the functions that draw the stimuli on the screen were written in Metal, a low-level hardware-accelerated 3D graphic and computer shader application programming interface (API) that uses the graphics processing unit (GPU) of the device to perform the calculations in parallel.

To compute RGB values in real time in a screen with a refresh rate of 60 Hz, the computation should last less than 16.66 ms—the duration of a frame. Using Metal, the computation time was systematically below 4 ms (this calculation was performed using a debug session of Xcode, the GPU Frame Capture validation tool and the Metal API validation tool), which is significantly shorter than the duration of one frame. Displaying visual stimulation on real time is useful in vision science because it is not necessary to create look-up tables in advance.

Before testing, using an oscilloscope (Tektronix TDS 1012) and a photodiode, we verified that both platforms displayed square wave luminance profiles of 1, 2, 3 and 4 frames for the exact number of frames without dropping any. We also checked that the luminance profiles were stable across presentations. As has been described elsewhere9, we found that the luminance profile was more transient for CRT than for the tablet. To match the luminance of the two platforms, we used a photometer (Datacolor Spyder 5 Express).

The main stimuli were sinusoidal gratings (0.42 Michelson contrast) of 1 cycle per degree (of visual angle) drifting at 4 degrees/s with a Gaussian envelope of standard deviation of 0.5 degrees for the small grating and 2 degrees for the large grating. They were displayed in the center of the screen. On each trial, the initial phase of the grating was chosen randomly from a range of 5 values (0, 72, 144, 216 and 288°). The luminance of the background was 32 cd/m2. The screens were gamma-corrected using a photometer.


In some blocks, participants performed the perceptual test facing a CRT monitor. In other blocks, they performed the test holding the tablet on their lap. We controlled the viewing distance to be about 57 cm. To set up the viewing distance, at the beginning of each block the experimenter used a ruler to measure the distance from the eyes to the screen and asked the participant to change position (move the chair closer or away from the CRT or move the arms holding the tablet) until the distance was about 57 cm. Once the participant told us that she was in a comfortable position, we asked her to hold that position for the whole block. The experimenter was in the same experimental room controlling that the participant did not change position. Each participant performed 2 blocks on the CRT and 2 blocks on the tablet alternating between platforms (half of the participants started the test on the CRT and the other half on the tablet). We asked participants to look at the center of the screens during the tests. The testing was performed in a room with normal fluorescent lighting.

Each trial (Fig. 1) started with the presentation of a cross for 0.3 s. Then, a grating moving to the left or to the right (chosen at random on each trial) was presented. The duration of the grating was controlled using a temporal Gaussian envelope for the contrast of the grating and was chosen at random on each trial from a range of 7 logarithmically spaced durations starting at 0.01 s and finishing at 0.2 s; these durations were defined as 2 times the standard deviation of the Gaussian envelope. The peak of the Gaussian envelope occurred 0.3 s after the offset of the cross.

From the 7 durations tested, we decided not to include in the analysis the responses to the shortest stimuli displayed on the tablet for the following reason. The described temporal Gaussian envelope effectively displays the stimulus of the shortest duration (2 × standard deviation = 0.01 s) for 3 frames on the CRT (running at 120 Hz), but would display the stimulus for only 1 frame on the tablet given the smaller frame rate (60 Hz). Because motion cannot be defined with a single frame, we decided, for the shortest stimulus on the tablet, to displace the peak of the Gaussian envelope by half a frame. This effectively displayed the shortest stimulus on the tablet for 2 frames with a contrast smaller than the peak contrast of the shortest stimulus on the CRT, but higher than the contrast displayed in the first and third frame on the CRT. Although not very apparent on individual results, pulling the data across participants we realized that for the tablet performance was significantly higher for the shortest duration than for the second shortest duration. This abnormal result suggests that the workaround that we tried of displacing the peak of the Gaussian envelope in the tablet is not appropriate. For this reason, we decided to exclude from the analysis the responses to the shortest stimuli displayed on the tablet. This exclusion has a negligible impact on the threshold calculation because for this very short duration the proportion of correct responses was very close to chance.

Participants reported the perceived direction of motion using the arrow keys of a keyboard for the blocks performed on the CRT and tapping the left and the right part of the touchscreen for the blocks performed on the tablet. Feedback was not provided. The next trial started 0.3 s after the response.

Each block consisted of two parts of 140 trials (7 durations × 2 sizes × 2 directions × 5 initial phases, all randomly interleaved) with a short pause between parts of about one minute or less.


The data and the code to do the statistical analysis and create the figures is available at Psychometric functions were logistic functions with 0 lapse rate and 0.5 guess rate estimated by reweighted least squares using the function glm from the R software and the logit link function provided by the R package psyphy32. After submitting the study, we cross-validated the results using an updated version of the R package quickpsy33 that fits psychometric functions that share parameters using direct maximization of the likelihood (the code can be found in the repository above). The 99% confidence intervals for the thresholds were calculated using parametric bootstrap for 2000 bootstrap samples. To assess for each participant whether the thresholds for two different conditions were significantly different, we subtracted the bootstrapped thresholds for each condition (2000 pairs) and assessed whether the 0.5% and 99.5% percentiles of the distribution of differences contained 0.

Additional information

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.


  1. 1.

    Tadin, D. et al. Weakened center-surround interactions in visual motion processing in schizophrenia. J. Neurosci. 26, 11403–11412 (2006).

  2. 2.

    Golomb, J. D. et al. Enhanced visual motion perception in major depressive disorder. J. Neurosci. 29, 9072–9077 (2009).

  3. 3.

    Norton, D. J., McBain, R. K., Pizzagalli, D. A., Cronin-Golomb, A. & Chen, Y. Dysregulation of visual motion inhibition in major depression. Psychiatry Res. 240, 214–221 (2016).

  4. 4.

    Foss-Feig, J. H., Tadin, D., Schauder, K. B. & Cascio, C. J. A substantial and unexpected enhancement of motion perception in autism. J. Neurosci. 33, 8243–8249 (2013).

  5. 5.

    Schauder, K. B., Park, W. J., Tadin, D. & Bennetto, L. Larger Receptive Field Size as a Mechanism Underlying Atypical Motion Perception in Autism Spectrum Disorder. Clin. Psychol. Sci. 2167702617707733 (2017).

  6. 6.

    Zhuang, X. et al. Impaired Center-Surround Suppression in Patients with Alzheimer’s Disease. J. Alzheimers. Dis. 55, 1101–1108 (2017).

  7. 7.

    Yazdani, P., Read, J. C. A., Whittaker, R. G. & Trevelyan, A. J. Assessment of epilepsy using noninvasive visual psychophysics tests of surround suppression. Physiol Rep 5 (2017).

  8. 8.

    Ghodrati, M., Morris, A. P. & Price, N. S. C. The (un)suitability of modern liquid crystal displays (LCDs) for vision research. Front. Psychol. 6, 303 (2015).

  9. 9.

    Elze, T. & Tanner, T. G. Temporal properties of liquid crystal displays: implications for vision science experiments. PLoS One 7, e44048 (2012).

  10. 10.

    Packer, O. et al. Characterization and use of a digital light projector for vision research. Vision Res. 41, 427–439 (2001).

  11. 11.

    Wichmann, F. A. & Hill, N. J. The psychometric function: I. Fitting, sampling, and goodness of fit. Percept. Psychophys. 63, 1293–1313 (2001).

  12. 12.

    Kingdom, F. A. A. & Prins, N. Psychophysics: A Practical Introduction. (Elsevier Science, 2016).

  13. 13.

    Glasser, D. M. & Tadin, D. Reliable non-veridical perception of brief moving stimuli. J. Vis. 13, 764–764 (2013).

  14. 14.

    Glasser, D. M., Tsui, J. M. G., Pack, C. C. & Tadin, D. Perceptual and neural consequences of rapid motion adaptation. Proc. Natl. Acad. Sci. USA 108, E1080–8 (2011).

  15. 15.

    Tadin, D., Lappin, J. S., Gilroy, L. A. & Blake, R. Perceptual consequences of centre–surround antagonism in visual motion processing. Nature 424, 312–315 (2003).

  16. 16.

    Zychaluk, K. & Foster, D. H. Model-free estimation of the psychometric function. Atten. Percept. Psychophys. 71, 1414–1425 (2009).

  17. 17.

    Dorr, M., Lesmes, L. A., Lu, Z.-L. & Bex, P. J. Rapid and reliable assessment of the contrast sensitivity function on an iPad. Invest. Ophthalmol. Vis. Sci. 54, 7266–7273 (2013).

  18. 18.

    Kalia, A. et al. Development of pattern vision following early and extended blindness. Proc. Natl. Acad. Sci. USA 111, 2035–2039 (2014).

  19. 19.

    Turpin, A., Lawson, D. J. & McKendrick, A. M. PsyPad: a platform for visual psychophysics on the iPad. J. Vis. 14, 16 (2014).

  20. 20.

    McKendrick, A. M., Chan, Y. M., Vingrys, A. J., Turpin, A. & Badcock, D. R. Daily vision testing can expose the prodromal phase of migraine. Cephalalgia 333102417741130 (2017).

  21. 21.

    Rodríguez-Vallejo, M., Remón, L., Monsoriu, J. A. & Furlan, W. D. Designing a new test for contrast sensitivity function measurement with iPad. J. Optom. 8, 101–108 (2015).

  22. 22.

    Melnick, M. D., Harrison, B. R., Park, S., Bennetto, L. & Tadin, D. A strong interactive link between sensory discriminations and intelligence. Curr. Biol. 23, 1013–1017 (2013).

  23. 23.

    Arranz-Paraíso, S. & Serrano-Pedraza, I. Testing the link between visual suppression and intelligence. PLoS One 13, e0200151 (2018).

  24. 24.

    Troche, S. J., Thomas, P., Tadin, D. & Rammsayer, T. H. On the relationship between spatial suppression, speed of information processing, and psychometric intelligence. Intelligence 67, 11–18 (2018).

  25. 25.

    Miller, G. The Smartphone Psychology Manifesto. Perspect. Psychol. Sci. 7, 221–237 (2012).

  26. 26.

    Dufau, S. et al. Smart phone, smart science: how the use of smartphones can revolutionize research in cognitive science. PLoS One 6, e24974 (2011).

  27. 27.

    Lee, H. et al. Examining cognitive function across the lifespan using a mobile application. Comput. Human Behav. 28, 1934–1946 (2012).

  28. 28.

    Brown, H. R. et al. Crowdsourcing for cognitive science–the utility of smartphones. PLoS One 9, e100662 (2014).

  29. 29.

    Brouillette, R. M. et al. Feasibility, reliability, and validity of a smartphone based application for the assessment of cognitive function in the elderly. PLoS One 8, e65925 (2013).

  30. 30.

    Bless, J. J. et al. ‘Right on all Occasions?’ - On the Feasibility of Laterality Research Using a Smartphone Dichotic Listening Application. Front. Psychol. 4, 42 (2013).

  31. 31.

    Peirce, J. W. PsychoPy—Psychophysics software in Python. J. Neurosci. Methods 162, 8–13 (2007).

  32. 32.

    Knoblauch, K. & Maloney, L. T. Modeling Psychophysical Data in R. (Springer Science & Business Media, 2012).

  33. 33.

    Linares, D. & López i Moliner, J. quickpsy: An R package to fit psychometric functions for multiple groups. The R Journal, 2016. 8, num. 1, p. 122-131 (2016).

Download references


We acknowledge the generous support of the Fundación Alicia Koplowitz. This work was further supported by the Departament de Salut of the Generalitat de Catalunya (PERIS-ICT Ref: SLT002/16/00338), the CERCA Programme/Generalitat de Catalunya and it was developed at the building Centro Esther Koplowitz, Barcelona.

Author information


  1. Institut d’Investigacions Biomèdiques August Pi i Sunyer (IDIBAPS), Barcelona, Spain

    • Daniel Linares
    • , Rafael Marin-Campos
    • , Josep Dalmau
    •  & Albert Compte
  2. Hospital Clínic, University of Barcelona, Barcelona, Spain

    • Josep Dalmau
  3. Centro de Investigación Biomédica en Red de Enfermedades Raras (CIBERER), Barcelona, Spain

    • Josep Dalmau
  4. Catalan Institution for Research and Advanced Studies (ICREA), Barcelona, Spain

    • Josep Dalmau
  5. Department of Neurology, University of Pennsylvania, Philadelphia, PA, USA

    • Josep Dalmau


  1. Search for Daniel Linares in:

  2. Search for Rafael Marin-Campos in:

  3. Search for Josep Dalmau in:

  4. Search for Albert Compte in:


D.L., R.M., J.D. and A.C. designed the study. R.M. developed the application. D.L., R.M., and A.C. analyzed the data. D.L., R.M., J.D. and A.C. wrote the manuscript.

Competing Interests

The authors declare no competing interests.

Corresponding author

Correspondence to Daniel Linares.

Electronic supplementary material

About this article

Publication history






By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.