PsyCalibrator: An Open-Source Package for Display Gamma Calibration and Luminance and Color Measurement
간접 관련 필름·전자재료 · (13) 프리즘 필름 (11) 배리어 필름(15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1177/25152459221151151
- 저널
- Advances in Methods and Practices in Psychological Science
- 발행년도
- 2023
- 발행기관
- SAGE Publishing
- 피인용수
- 10
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1177/25152459221151151
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4366516899
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- (11) 배리어 필름, (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
- R&D 측면
- 물성·성능 평가
- 확신도
- 0.80
- 근거 용어
- luminance, color measurement, gamma calibration, LCD monitor, display linearization
- 판단 근거
- 본 논문은 디스플레이의 휘도(luminance), 색도(color), 감마(gamma)를 측정하고 교정하는 소프트웨어 패키지에 관한 연구입니다. 이는 코오롱인더스트리의 광학 필름(13), 배리어 필름(11), 디스플레이 소재(15) 등의 제품 성능을 평가하거나 디스플레이 품질을 제어하는 R&D 공정 및 분석 기법에 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- 디스플레이용 기능성 필름(광학, 배리어, CPI 등)의 휘도 균일성, 색 재현성 및 감마 특성을 정밀하게 측정하고 분석하는 평가 프로토콜 수립에 활용 가능합니다.
- 평가 입력
- 섹션 본문 33,076자 중 30,032자 발췌
초록
본문 34,277자
본문 펼치기
섹션 본문 46문단 · 32,725자
(제목 없음)
1Studies in vision, psychology, and neuroscience often present visual stimuli on digital screens. Crucially, the appearance of visual stimuli depends on properties such as luminance and color, making it critical to measure them. Yet conventional luminance-measuring equipment is not only expensive but also onerous to operate (particularly for novices). Building on previous work, here we present an open-source integrated software package-PsyCalibrator (https://github.com/ yangzhangpsy/PsyCalibrator)-that takes advantage of consumer hardware (SpyderX, Spyder5) and makes luminance/ color measurement and gamma calibration accessible and flexible. Gamma calibration based on visual methods (without photometers) is also implemented. PsyCalibrator requires MATLAB (or its free alternative, GNU Octave) and works in Windows, macOS, and Linux. We first validated measurements from SpyderX and Spyder5 by comparing them with professional, high-cost photometers (ColorCAL MKII Colorimeter and Photo Research PR-670 SpectraScan). Validation results show (a) excellent accuracy in linear correction and luminance/color measurement and (b) for practical purposes, low measurement variances. We offer a detailed tutorial on using PsyCalibrator to measure luminance/color and calibrate displays. Finally, we recommend reporting templates to describe simple (e.g., computer-generated shapes) and complex (e.g., naturalistic images and videos) visual stimuli.
Tutorial
2Research in vision, psychology, and neuroscience routinely uses visual stimuli, including shapes, letters, faces, objects, scenes, and videos. The appearance of a stimulus can vary dramatically depending on stimulus properties, the digital display, and the visual environment. For example, the same picture looks rather different when just one parameter of the display changes (gamma value; Fig. 1). Observations such as this have long motivated vision scientists to carefully calibrate displays and characterize stimulus properties (e.g., Brainard, 1989;Brigell et al., 2003;Pelli & Zhang, 1991). Yet across vision science, psychology (e.g., cognitive, clinical, social, and developmental psychology), and neuroscience, there is a systematical failure in current experimental studies to report visual characteristics (e.g., luminance, color, contrast, and size) despite using visual stimuli (Lin et al., 2021). These practices undermine efforts to build a reproducible, cumulative science, as direct replications become cumbersome, the internal validity of the studied constructs may be threatened, and generalizability across stimulus properties is prematurely assumed, with its evaluation precluded in the first place. Building on previous efforts, here we present a software package-PsyCalibrator-that takes advantage of consumer hardware (SpyderX, Spyder5) and makes luminance/color measurement and gamma calibration accessible and flexible. PsyCalibrator promises to improve current practices in using and reporting the luminance/color and contrast of visual stimuli.
3We focus on luminance/color and contrast not least because at the phenomenological level, these properties determine the appearance of a stimulus (Fig. 1). Specifically, luminance-the luminous power of light detected by the human eye from a particular direction of viewis closely related to brightness perception. Likewise, color confers people with a rich, vibrant perceptual experience. And contrast-the difference between a stimulus and its background in luminance or colordictates the visibility of the stimulus.
4But beyond the phenomenological demonstration of the importance of luminance/color and contrast in determining appearance (Fig. 1), why should psychologists (and neuroscientists) concern themselves with measuring luminance/color and contrast? Clinical and developmental psychologists study how disorders and aging might manifest themselves in various processes using visual (and other) stimuli and materials. Visual properties have been shown to critically modulate various phenomena. For example, the perception of high-contrast motion direction is impaired when the size of the stimulus increases (Tadin et al., 2003)-and this size-dependent impairment is reduced in schizophrenia (Tadin et al., 2006), major depression (Golomb et al., 2009), and aging (Betts et al., 2005). Without measuring contrast, however, researchers might not be able to replicate each other; indeed, they might observe the opposite pattern because for low-contrast motion, the perception of motion direction improves-not deteriorates-when the size of the stimulus increases (Tadin et al., 2003).
5The importance of luminance and contrast is not limited to perceptual processes but transpires in a suite of cognitive, affective, and social processes commonly studied in psychology and neuroscience. For instance, stimulus luminance and contrast modulate performance in visual search (Nasanen et al., 2001), Stroop-task interference (Dyer, 1973), and attention cuing (Hawkins et al., 1988;Zhao & Heinke, 2014). In affective processes, luminance has been shown to affect the judgment of emotion from facial expressions (Fotios et al., 2015), and contrast x) jointly determines the output luminance level (y) with a parameter called gamma (γ), y = x γ . The value of gamma can have a dramatic impact on visual appearance. Reducing the gamma value increases image luminance, particularly at the lower end, and gives rise to a more washed-out appearance: Contrast at the lower end is enhanced, but contrast at the higher end is reduced (i.e., bright highlights are masked; left picture, γ = 1/2.2). Increasing the gamma value, on the other hand, reduces image luminance, particularly at the lower end, and gives rise to a darker appearance: Contrast at the lower end is reduced (i.e., details in shadows are masked), but contrast at the high end is enhanced (right picture, γ = 2.2). The original image was taken by author Z. Lin in Shenzhen, China.
6moderates emotion-identification deficits in schizophrenia (Butler et al., 2009). For example, schizophrenia and control participants show comparable accuracy in detecting emotion in low-contrast face images, but their performance diverges when the contrast of the face images increases (Butler et al., 2009). Thus, without measuring contrast, one might find similar emotion-detection accuracy between schizophrenia and control participants (if the face images happen to be of low contrast) or a deficit in schizophrenia (if the face images happen to be of high contrast). Likewise, investigations of social processes at times rely on visual stimuli, making it important to measure luminance/contrast-a critical methodological requirement that may go underappreciated. For example, a recent study concluded that self-related informationself-face images-captures attention without one's conscious awareness of that very information (Wojcik et al., 2019). But because of the failure to report the luminance and contrast of the face images in the original study, it is difficult to replicate this study: If the contrast of the target face image used in a replication study is too high, then the face may not be subliminal; yet if the contrast is too low, then the face image runs the risk of being too weak to evoke any relevant processes (i.e., a floor effect). In other words, because of the neglect to measure and report luminance and contrast, it is not at all clear what parameter values one should use to adequately replicate the original study. Still another (separate but equally important) issue is whether attention to the self-face images (vs. other-face images) reflects genuine self-specific information or potential low-level confounds, such as differences in luminance and contrast between the images being compared. Controlling for these low-level confounds requires measuring luminance and linearizing the display.
7Therefore, without clear justification for otherwise (e.g., based on prior observations or theoretical rationales), it behooves researchers to measure and report visual properties. To measure luminance and color-on which contrast and gamma calibration (Fig. 2) are based-it requires access to specialized tools called photo meters. Research-purpose photometers, however, are not only expensive (starting from thousands of U.S. dollars) but also complicated to operate. In the consumer market, low-cost photometers are available (e.g., SpyderX Pro is priced under $200; Datacolor, Inc., New Jersey, USA). Unfortunately, the official software (e.g., SpyderX or Spyder5 software)-or generic graphical tools such as DisplayCAL (https://displaycal.net/)-is not developed for scientific purposes, presenting at least three main limitations in a research context. First, options are limited to display adjustments. Second, the procedure is rigid, with predefined steps that cannot be skipped. Third, it is incompatible with a general programming language, thus making customization difficult. Likewise, current leading software packages that support gamma calibration-such as Psychtoolbox (Brainard, 1997;Kleiner et al., 2007;Lin et al., 2022;Pelli, 1997) and PsychoPy (Peirce et al., 2019)-were developed for research-purpose photometers and do not support consumer photometers such as the Spyder series.
8A pressing need, then, is to harness the potential of consumer hardware to meet the demand of research in psychology and neuroscience, by making screen calibration and luminance/color measurement flexible and user-friendly through software development. A distinct advantage of software development is that it has no
9Screen linearization. For a typical monitor, the relation between RGB (x) and luminance (y), y = x γ , is generally not linear but with a γ value of 2.2 (left). To linearize the relation, a gamma-correction function needs to be applied to the RGB values using a multiplication coefficient that is the reciprocal of the device gamma value (i.e., 1/2.2; middle). This process is known as "gamma calibration" or "display linearization." A linear relation between RGB value and luminance is handy at times (e.g., to experimentally manipulate contrast; to measure the contrast of complex images) and even necessary in some situations (e.g., to match the luminance and contrast profiles between complex images). material or manufacturing cost and can be delivered remotely over the Internet. Here we take advantage of available consumer hardware and existing software to provide an integrated software solution for research purposes: PsyCalibrator. Below, we first briefly summarize the validation results of using SpyderX and Spyder5 with PsyCalibrator to measure luminance/color and calibrate displays. We then offer a detailed, step-by-step tutorial on how to use PsyCalibrator to measure luminance/color and calibrate displays. Finally, we provide reporting templates and discuss limitations and future directions.
Disclosures
10PsyCalibrator is open-source and freely available for download at https://github.com/yangzhangpsy/PsyCali brator. It builds on ArgyllCMS (Color Management System; https://www.argyllcms.com/) and uses functions from Psychtoolbox (http://psychtoolbox.org) and the Mcalibrator2 tool kit (Ban & Yamamoto, 2013) to show stimuli on the screen and fit the data (cubic spline), respectively. All analyses reported in the validation and the tutorial were conducted in MATLAB 2016b.
11Supplementary materials are available at https://osf .io/shg3t/. They include (a) raw data and codes for all the figures and tables in the main text and supplemental materials ("dataCode" folder), (b) supplemental validation methods and results ("Validation.pdf"), (c) a quick-start guide to getting started with PsyCalibrator ("Quickstart guide.pptx"), (d) a detailed step-by-step photometer tutorial with screenshots and descriptions of driver installation for PsyCalibrator and other details ("Photometer tutorial.pdf"), (e) a video that illustrates the tutorial ("Photometer tutorial.mp4"), (f) supplemental materials regarding visual gamma correction ("Visual methods.pdf"), and (g) a supplemental step-by-step tutorial using visual methods instead of photometers ("Visual tutorial.pdf").
Development of PsyCalibrator
12PsyCalibrator was based on ArgyllCMS (https://www .argyllcms.com/) by using its hardware driver and the color/luminance reading file (spotread.exe). A limitation of spotread.exe for SpyderX is a 30-min measurement time-out. We identified and removed this limitation in the source file and recompiled it into an executable file so that measurement can now continue beyond 30 min. We further built m files to enable customized functions for psychological research, including luminance/color measurement and screen calibration, in the MATLAB/ Octave environment (Octave is a free alternative to MAT-LAB; below, MATLAB/Octave will be referred to simply as MATLAB).
Validation: Summary of Results
13The performance of Spyder5/SpyderX using PsyCalibrator was compared with professional photometers-ColorCAL MKII Colorimeter and Photo Research PR-670 SpectraScan. Validation was conducted on four key aspects: accuracy of linear correction, accuracy of luminance measurement, measurement variance (stability), and accuracy of color measurement (xy in CIE 1931 xyY coordinates). Results show excellent accuracy in linear correction using Spyder5/SpyderX. In luminance measurement, SpyderX performed similarly to MKII, and both were very close to PR-670 (Spyder5 underestimated luminance somewhat). Third, measurement variance was a little bit higher in Spyder than in MKII and in PR-670 but was very low for practical purposes. Finally, colormeasurement accuracy (in CIE xy chromaticity) was high in the three color channels across different color intensities in SpyderX, as validated by PR-670. Considering the similar costs of SpyderX and Spyder5, we recommend SpyderX for research and educational purposes (for the detailed method and results, see the 15-page supplemental file "Validation.pdf" at https://osf.io/shg3t/).
14To facilitate the use of the package in research and teaching, below we provide a tutorial on how to use this software package for luminance/color measurement and display calibration.
Tutorial: Using PsyCalibrator to Measure Luminance/Color and Calibrate Displays
15The tutorial is divided into seven steps. For luminance/ color measurement, follow Steps 1 to 4; for display correction (linearization), follow all the steps except Step 4. For quick reference, see the common commands summarized in Table 1. Supplementary materials are available at https://osf.io/shg3t/. These include a quick-start guide to getting started with PsyCalibrator ("Quickstart guide.pptx"), a full step-by-step tutorial ("Photometer tutorial.pdf"), and a video ("Photometer tutorial.mp4"). For estimating the gamma value and correcting the display-rather than measuring luminance and colorpsychophysical methods that do not require photometers are also available, as implemented in PsyCalibrator (see supplemental files "Visual methods.pdf" and "Visual tutorial.pdf").
16Note that display correction (linearization) is optional except when a linear relation between RGB value and luminance is convenient or necessary for one reason or another. Two common situations are illustrated. The first situation is when a linear relation between RGB value and luminance makes experimental manipulation or measurement convenient. For example, if your study concerns detailed manipulation of luminance/contrast, then a linear relation allows you to figure out the exact relation between RGB and luminance-by measuring the luminance of just two points (e.g., [25,25,25] and [125,125,125])-such that luminance/contrast can be manipulated by simply changing RGB values. As another example, suppose your study concerns complex images such as faces and scenes and you would like to report image contrast. Contrast for complex images is typically defined as the standard deviation of luminance distribution. Linearization-or at least knowing the display gamma value-becomes very handy because it allows you to convert the image RGB distribution (which is readily available from common software) to the luminance distribution. Thus, you can obtain the image contrast without having to measure the entire luminance distribution, which is cumbersome.
17The second situation is when a linear relation between RGB value and luminance is required, such as in software that processes images to control for luminance and contrast (Willenbockel et al., 2010). Suppose you would like to compare two types of images to address common questions such as whether self-face images attract attention compared with other-face images or whether seeing happy faces changes a person's attitude (or behavior or some neural index) compared with neutral faces. To address this sort of question, researchers need to make sure that low-level confounds-such as luminance and contrast-cannot explain potential differences between the two types of images. A common approach is to use some software package to equate their mean luminance and contrast. But what is actually being manipulated in such software packages is not luminance values per se but RGB values. Equaling the mean RGB values and their standard deviation results in equal luminance and contrast only when there is a linear relation between RGB value and luminance. Below, we describe the steps involved in using PsyCalibrator to measure luminance/ color and calibrate displays.
18Step 1: preparations. There are Pro and Elite versions of SpyderX, but they use the same hardware and differ only by the factory software package. Because our calibration method does not use the factory software (only the hardware), any version of SpyderX (or Spyder5) will work.
19In addition, we also need a computer with the following software: (a) MATLAB (commonly subscribed to by many educational and research institutions) or its free alternative GNU Octave (https://www.gnu.org/ software/octave/download), (b) Psychtoolbox (freely available at http://psychtoolbox.org), and (c) PsyCalibrator (freely available at https://github.com/yang zhangpsy/PsyCalibrator).
20Step 2: install Spyder driver. If your computer uses Linux or Mac, there is no need to install the driver for the photometer. But if it uses Windows, you may need to install the driver for the photometer. Refer to Step 2 in the supplemental file "Photometer tutorial.pdf" (watch also the video "Photometer tutorial.mp4").
21Step 3: make "PsyCalibrator" accessible to MAT-LAB. You need to add the "PsyCalibrator" folder to MATLAB so that the included functions can be accessed within MATLAB. To do so, open the MATLAB software. Then, in the command window, add the "PsyCalibrator" folder to MATLAB by using the following command: "addpath(genpath(Path)); savepath;", where "Path" should be replaced with the actual file path for PsyCalibrator in your computer, such as 'D:/PsyCalibrator' (as highlighted by Section 1 in Fig. 3). Note that in this tutorial, the command text is colored blue; variables that need to be changed are colored red; anything else, such as quotes that are not colored blue or red, should not be included in the command.
22You need to do this only once-if you have already added the "PsyCalibrator" folder to MATLAB paths, you do not need to do it again.
23Step 4: luminance and color measurement. After the custom driver is installed, Spyder is ready to take measurements of luminance and color. To ensure accuracy, you first need to calibrate it, with two steps: (1) Close the cover (if the cover is not on) and
24(2) run "spyderCalibration_APL;" in MATLAB. Then hit any key to proceed. If successful, you will see the output "Calibration done!" within a second or two.
25To measure the luminance/color of a stimulus on the monitor, simply open the cover and point the Spyder sensor closely to the target stimulus on the screen. For maximum accuracy and transparency, (a) make sure the sensor area is smaller than the stimulus, or else the measurement reflects not just the target stimulus but also the surrounding stimuli (if the target is too small, consider enlarging it), and (b) make sure the sensor touches the stimulus on the screen (note that distance negatively affects luminance values).
26Then run "xyY = spyderRead_APL(refreshRate)", in which refreshRate is your display's refresh-rate number, such as 60 (Hz). The refresh rate describes how frequently your display refreshes the onscreen image (e.g., a 60-Hz screen refreshes images 60 times per second, i.e., every 16.67 ms). To find out the refresh rate, for Windows PCs, right-click on the desktop screen, click the "Display settings" icon, then click the "Advanced display settings" icon. For macOS, click on the Mac icon on the top left, click "About This Mac"; on the pop-out menu, open the "Displays" tap.
27The returned xyY values are the CIE 1931 xyY color coordinates of the stimulus: xy for the coordinates in the color space that specify the color and Y (the third value) for the luminance value. The returned xyY matrix has five rows (for five measurements) and three columns (for xyY). To obtain the averaged measurement of xyY, run "xyY_mean = mean(xyY,1)".
28Step 5: calibration measurement. The above steps are for luminance and color measurement. As noted previously, when a linear relation between RGB and luminance is convenient or necessary for your study, it is time for display correction or calibration. To calibrate the display so that the RGB intensity and luminance relation is linear-either with respect to each individual color channel (i.e., R, G, or B) or with respect to their average (i.e., gray, with the same value in R, G, and B)-follow Steps 5 to 7, which illustrates the procedure for luminance calibration. The procedure can be adapted for individual RGB channel calibration-the only difference is the RGB channels (three channels vs. one channel).
29Before calibration, make sure that no direct light shines on the monitor screen (e.g., with the lights off) and that the monitor is turned on for at least 60 min to allow time for warm-up. When ready, follow the steps below to begin the calibration process. 5.1. Run the following command in MATLAB: "gam-maMeasure_APL(deviceType)", where deviceType refers to the type of the Spyder device: 1 for Spyder5, 5.2. In the command window, based on the prompts, you can optionally enter the relevant information of the display, including brand, model, serial number, brightness, contrast, color temperature, computer brand, operating system, and graphics card (as highlighted by Section 2 in Fig. 3). Providing this information is optional; you can press the "Enter" key to ignore these queries.
5.3.
30After the above step, press the "Enter" key. Now the program will start the calibration process by opening a new window (Fig. 4). As indicated by the instruction on this window, before measuring the display, you need to calibrate the device itself first by closing the lens cover (as in luminance measurement in Step 4). This calibration process lasts only a few seconds. Then press any key to start the measurement.
5.4.
31After the equipment itself has been calibrated, the program is now ready to take measurements of a series of images automatically (Fig. 5). At this time, turn off the lights in the room and point the sensor of the photometer directly to the screen at the intersection of the two diagonal lines in Figure 5. The lens cover of the Spyder device can hang on the back of the display as a counterweight to keep balance. After completing this setup, press any key to continue.
5.5.
32Because ambient light can affect the measurement, it is recommended that the room be dark. So if you need to temporally turn on the light to leave the room, do so within 10 s (Fig. 6), after which the photometer will take measurements by itself (the 10-s delay is determined by the input parameter LeaveTime in gammaMeasure_APL and can be changed).
5.6.
33During the measurement, a series of uniform square images will appear on the screen automatically while the photometer reads its luminance/color level (Fig. 7).
5.7.
34After the calibration is completed, a file containing the measurement results will be generated in MATLAB within the current working path, named "Gamma.mat" (as highlighted in Fig. 8).
35Step 6: data fitting. To linearize the display, PsyCalibrator incorporates the Mcalibrator2 tool kit (Ban & Yamamoto, 2013) to fit the data. Specifically, Mcalibra-tor2 implements several data-fitting methods that do not assume the specific relation between video input and luminance output of the display (e.g., the gainoffset-gamma model or the gain-offset-gamma-offset model often assumed in CRT displays). These datadriven, model-free fitting methods can provide a better fit for various types of displays, from CRT to LCD and projectors, resulting in a better linear correction. In our case, we mainly use the cubic-spline-interpolation method because it generally provides a superior fit.
366.1. To fit the measurement data, enter and execute the following command in MATLAB: "Gamma = makeCorrectedGammaTab_APL('Gamma.mat');" (see Section 1 in Fig. 9). The fitting result is saved to a new file within the same directory, named "Gamma_ fitted.mat," along with a figure visualizing the result (Fig. 10). The generated file contains a structure variable named "Gamma," in which Gamma.gammaTable (see Section 2 in Fig. 9) is the color-lookup table (CLUT, which translates the colors in an image to the colors in the hardware). As detailed in Step 7, CLUT is then used for linearization, specifying the midpoint RGB intensity level that corresponds to the midpoint luminance level, and so on.
6.2.
37To verify the linearity of the display with the fitted CLUT, you need to measure the relation between RGB intensity and luminance with a photometer. As highlighted in Figure 11, to do so, execute the func-tion gammaMeasure_APL as used previously for luminance measurement: "gammaMeasure_APL (deviceType,[],[],[],Gamma.gammaTable)", where deviceType refers to the type of test device: 1 for Spyder5, 2 for SpyderX. The procedure is the same as in Steps 5.2 to 5.7 above. When done, the results are saved to the file "Gamma_verification.mat" (Fig. 12). Linearity is visualized with a figure showing the relation between RGB and luminance (from the variable xyY in Gamma_verification.mat; Fig. 13 Step 7: apply or remove gamma correction. With the CLUT from the last step, you can use it for gamma correction (i.e., to linearize the display). Afterward, you can also restore the display to its uncorrected state. This is implemented using a function called "applyGammaCorrection_APL." This function has three input parameters. The first parameter (0 or 1) concerns the action of the function: 0 means no gamma correction (i.e., the default); 1 means applying the gamma correction. The second parameter is the CLUT to be applied (i.e., Gamma.gammaTable from
38Step 6.1 for correction). The third parameter is the specific monitor that you would like to apply the correction to (see http://psychtoolbox.org/docs/ Screen-Screens). Therefore, for example, to perform gamma correction for the monitor numbered 0 based on Gamma. gammaTable, execute the following command in MATLAB: "applyGammaCorrection_APL(1, Gamma.gammaTable,0);". To remove the correction (i.e., to restore the display to its default state), execute "applyGammaCorrection_APL(0, [], 0);".
Reporting
39What are the best practices in reporting the luminance and contrast of stimuli and display linearization? To help users report these properties in a more transparent manner, we provide reporting templates below. Depending on the nature of the study, the reporting may involve specifying stimulus luminance, contrast, and display linearity, as illustrated in two scenarios.
40In Scenario 1, a researcher presents simple shapes on an LCD screen. In this case, display linearity may not be crucial, and thus gamma correction is optional. But luminance values can be readily measured and should be specified. Accordingly, consider using the following reporting template: a. Reporting template for simple stimuli: A red square (CIE xyY space: 0.6, 0.36, 7.62 cd/m 2 ) was presented on a gray background (60.2 cd/m 2 ) on a gamma-corrected 21-in. LCD monitor. Gamma correction and luminance were measured with PsyCalibrator using a SpyderX photometer that touched the monitor screen.
41In Scenario 2, a researcher presents complex images (or videos) on an LCD screen. In this case, because of the large number of image pixels that vary in luminance, it may not be practical to specify the luminance values of all the pixels for each stimulus. For images such as faces and scenes, mean image luminance and contrast can be equalized across images and be reported accordingly. For videos, such specifications become impractical. To allow other researchers to reproduce the appearance of the stimuli, you should make the actual stimuli (e.g., images or videos) available and furthermore specify relevant display characteristics, including display gamma and minimum and maximum luminance values of the display. Accordingly, consider using the following reporting template. b. Reporting template for complex stimuli:
42Gray-scale face images of the same mean luminance (30.2 cd/m 2 ) and contrast (luminance standard deviation: 4.2 cd/m 2 ) were presented on a black background (0.12 cd/m 2 ) on a 21-in. LCD monitor. The monitor was gamma-corrected, with a maximum luminance of 200 cd/m 2 and a minimum luminance of 0.12 cd/m 2 . Gamma correction and luminance were measured with PsyCalibrator using a SpyderX photometer that touched the monitor screen.
43Note that other important properties, such as stimulus size, are not the focus of the current work and thus are not mentioned in the reporting templates above. To the extent that they are crucial to your research, they should be reported as well-reporting templates on these properties are available elsewhere (Lin et al., 2021).
Summary
44Visual materials are widely used in research in vision, psychology, and neuroscience. Although basic stimulus properties such as luminance and contrast strongly affect visual appearance, these properties are often not reported in current practices. These practices present a roadblock to reproducible science, potentially threaten the internal validity of the studied constructs, and prematurely assume generalizability across stimulus properties. To improve research practices, efforts need to focus not only on raising awareness of this important issue but also on providing access to affordable, flexible, user-friendly tools that can help rectify problematic practices.
45We present PsyCalibrator, an integrated software package that makes use of Spyder5 and SpyderX to measure luminance and color (in CIE 1931 xyY color space) and to conduct screen gamma correction. We provide (a) validation in luminance/color measurement and gamma calibration (see also the supplemental files "Validation.pdf"), (b) a tutorial on how to use the software (see also the supplemental files "Quickstart guide.pptx," "Photometer tutorial.pdf," and "Photometer tutorial.mp4"), and (c) reporting templates. The validation focuses on linear correction, luminancemeasurement accuracy, measurement variation (stability), and color measurement. Color calibration-such as to reproduce a given color (xyY) on a target displayrequires characterizing interactions among RGB color channels and is beyond the scope of the current study. For teaching and research demonstrations, in supplemental files ("Visual methods.pdf" and "Visual tutorial. pdf"), we have also described visual methods based on dithering and bisection (Lu & Dosher, 2013), with validation and a tutorial on a bisection method in PsyCalibrator.
46PsyCalibrator takes advantage of Psychtoolbox, a widely used and free software package for stimulus presentation and response collection (Kleiner et al., 2007), with a graphical experiment builder that makes it intuitive to build experiments without coding (Lin et al., 2022). Note that PsyCalibrator works under both MATLAB and Octave, a free alternative to MATLAB. We are committed to maintaining and updating the software and supplementary materials on the basis of user feedback. For example, in collaboration with the support team of Psychtoolbox, we are actively developing innate support for Spyder photometers within Psychtoolbox. To pool community talent, we have also made our software opensource. This will facilitate the community to build on it and make adaptations for richer functionality and applicability, such as support for other platforms (e.g., Python). To report issues, get support, or contribute to it, users can contact us by using the "new issue" function in GitHub (https://github.com/yangzhangpsy/PsyCalibra tor) or through the website for PsyBuilder (https://www .psybuilder.com/).
참고문헌 22건
- Guidelines for calibration of stimulus and recording parameters used in clinical electrophysiology of vision Documenta Ophthalmologica · Springer Science+Business Media · 2003 10.1023/a:1026244901657
- Effects of target luminance and cue validity on the latency of visual detection Perception & Psychophysics · Springer Science+Business Media · 1988 10.3758/bf03210434
- Perceptual consequences of centre–surround antagonism in visual motion processing Nature · Nature Portfolio · 2003 10.1038/nature01800
- Controlling low-level image properties: The SHINE toolbox Behavior Research Methods · Springer Science+Business Media · 2010 10.3758/brm.42.3.671
- The VideoToolbox software for visual psychophysics: transforming numbers into movies Spatial Vision · Brill · 1997 10.1163/156856897x00366
- Accurate control of contrast on microcomputer displays Vision Research · Elsevier BV · 1991 10.1016/0042-6989(91)90055-a
- The Stroop phenomenon and its use in the stlldy of perceptual, cognitive, and response processes Memory & Cognition · Springer Science+Business Media · 1973 10.3758/bf03198078
- What causes IOR? Attention or perception? – Manipulating cue and target luminance in either blocked or mixed condition Vision Research · Elsevier BV · 2014 10.1016/j.visres.2014.08.020
- Weakened Center-Surround Interactions in Visual Motion Processing in Schizophrenia Journal of Neuroscience · Society for Neuroscience · 2006 10.1523/jneurosci.2592-06.2006
- Enhanced Visual Motion Perception in Major Depressive Disorder Journal of Neuroscience · Society for Neuroscience · 2009 10.1523/jneurosci.1003-09.2009
- Calibration of a computer controlled color monitor Color Research & Application · Wiley · 1989 10.1002/col.5080140107
- Effect of stimulus contrast on performance and eye movements in visual search Vision Research · Elsevier BV · 2001 10.1016/s0042-6989(01)00056-6
- A non-device-specific approach to display characterization based on linear, nonlinear, and hybrid search algorithms Journal of Vision · Association for Research in Vision and Ophthalmology · 2013 10.1167/13.6.20
- Sensory Contributions to Impaired Emotion Processing in Schizophrenia Schizophrenia Bulletin · Oxford University Press · 2009 10.1093/schbul/sbp109
- Aging Reduces Center-Surround Antagonism in Visual Motion Processing Neuron · Cell Press · 2005 10.1016/j.neuron.2004.12.041
- Effects of outdoor lighting on judgements of emotion and gaze direction Lighting Research & Technology · SAGE Publishing · 2013 10.1177/1477153513510311
- PsychoPy2: Experiments in behavior made easy Behavior Research Methods · Springer Science+Business Media · 2019 10.3758/s13428-018-01193-y
- Unconscious Detection of One’s Own Image Psychological Science · SAGE Publishing · 2019 10.1177/0956797618822971
- Pervasive failure to report properties of visual stimuli in experimental research in psychology and neuroscience: two metascientific studies 2021 10.31234/osf.io/hy58r
- PsyBuilder: An Open-Source, Cross-Platform Graphical Experiment Builder for Psychtoolbox With Built-In Performance Optimization Advances in Methods and Practices in Psychological Science · SAGE Publishing · 2022 10.1177/25152459211070573
- Visual Psychophysics 2013 10.7551/mitpress/9780262019453.001.0001
- The Psychophysics Toolbox Spatial Vision · Brill · 1997 10.1163/156856897x00357