Image Histogram & Levels
Image Tools
What is Image Histogram & Levels?
How it works
Features & Benefits
- Per-channel histogram computed on the GPU using atomic counters in a compute shader
- Levels adjustment (black point, white point, gamma) in a single fragment pass
- Choose to apply the levels curve to RGB jointly or to a single channel
- Visual sanity-check for scientific images, micrographs, or scans before downstream processing
Frequently Asked Questions
Why a compute shader instead of CPU code?
A 12-megapixel image is 12M pixels. Counting bins on the CPU takes hundreds of milliseconds; the compute shader does it in a frame.
Is luminance Rec. 709?
Yes. The luminance histogram uses the standard Rec. 709 weights (0.2126, 0.7152, 0.0722).
Can I undo the levels adjustment?
Reset returns the sliders to defaults (0, 1, 1). The original image is kept in memory so re-rendering is instant.
Is the image uploaded?
No. All GPU work happens on your device; nothing is sent off-device.
Related Tools
Real-time exposure, contrast, saturation, warmth, blur, sharpen, vignette, and grain. GPU-accelerated via WebGPU; nothing uploads.
Sobel edge detection in your browser, GPU-accelerated via WebGPU. Real-time preview, threshold and thickness controls, PNG export.
Invert, shift hue, adjust warmth, brightness, contrast, and saturation. Full-fidelity Canvas API processing — your images never leave your browser.
Popular Utilities
Format, validate, and minify JSON instantly in your browser. Your data never leaves your device.
Decode JWT tokens and inspect header and payload instantly in your browser. Your tokens never leave your device.
Count words, characters, sentences, and estimate reading time instantly in your browser. No sign-up required.