Grayscale Threshold Viewer

Upload an image, convert it to 8-bit grayscale, and compare two threshold-clamped variants side-by-side.

128
X: - Y: -
Move over any image to inspect the corresponding pixel in all three panels.

1. 8-bit grayscale

Original image converted to grayscale values from 0 to 255.

Value: -

2. Upper clamp

Pixels below the threshold stay unchanged. Pixels above the threshold are set to the threshold.

Value: -

3. Lower clamp

Pixels below the threshold are set to the threshold. Pixels above the threshold stay unchanged.

Value: -

Notes: the three canvases always use the same source dimensions, and the slider updates both thresholded views immediately.