| 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 |
| 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 |