SUB2r's toolbox: gamma correction visualizer (naїve vs vibrancy-preserving)
Pick color (inline)
Brightness (V)
Selected
#000000
Hex
RGB (0..255)
HSV
Gamma
γ
1.00
Both use:
out = in^(1/γ)
.
Naїve: per-channel in sRGB.
Vibrancy-preserving heuristic:
sRGB→linear
adjust linear luminance Y
scale RGB uniformly and clamp values
back to sRGB
Original
synthetic test image
Picked color (solid).
H=0.0°
Gamma (naїve per-channel)
sRGB: R,G,B → pow(R,G,B)
Picked color after naїve gamma.
H=0.0°
Gamma (vibrancy-preserving)
linear Y adjust + RGB rescale
Picked color after luma-based gamma.
H=0.0°
Synthetic mask
none
sin
checkers
solid fill
zebra
ladder
diagonal
Pattern size (px)
=
32
Size controls: sin period; checker cell size; zebra/ladder stripe width; diagonal stripe width. Mask is applied
before
gamma to all three images.