Skip to main content
. 2024 Feb 7;10:e1759. doi: 10.7717/peerj-cs.1759
23: scaledValue <- map pixelValue from range 0-255 to 0-1023
24: draw a pixel at position (j, i) on the screen with scaledValue
25: end for
26: end for
27: end else if