Skip to content

An adapted noisy bit method for creating continuous luminance resolution for digital displays through altering image opacity

Notifications You must be signed in to change notification settings

RebeccaHirst/NoisyBit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NoisyBit

Create a continuous scale of luminance for images through randomly assigning an opacity setting to each pixel in an image. Python code runs in Psychopy version 1.85.2

Based on method outlined by Allard, R., & Faubert, J. (2008). The noisy-bit method for digital displays: Converting a 256 luminance resolution into a continuous resolution. Behavior Research Methods, 40(3), 735-743.

Developed by Rebecca J Hirst and Harriet A Allen (University of Nottingham)

File - A path to image file with four channels (RGB Alpha). (eg. “BlackSquare.png”).

value - float between 0 and 255. - (In this example is set to 100.5)

Code initially expressed via the Psychopy discourse page: https://discourse.psychopy.org/t/dithering-to-measure-contrast-sensitivity/2337/2

About

An adapted noisy bit method for creating continuous luminance resolution for digital displays through altering image opacity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages