Adaptive Dynamic Range Stretcher

PBR Grayscale Height & Bump Map Histogram Equalizer

Rescue narrow, flat height maps with adaptive CDF histogram equalization—blend 0% to 100% equalization strength, anchor the mean elevation cleanly at 0.50 (byte 128), and maximize 8-bit tonal steps before normal or displacement export.

100% Local Browser Engine · 0 Bytes Uploaded
Instant Deterministic Output

CDF Equalization (70%) · Byte Range 229 → 247 · Mean 128/255

Input Preview
Processed Output
Open Full 4-Map PBR Studio

Equalization blend guidelines for PBR height maps

Equalization StrengthDynamic Range EffectRecommended Source
25% – 45%Gentle contrast lift, preserves subtle curvesClean sculpted height bakes
50% – 75%Balanced full-range detail expansionPhoto-derived concrete, brick, bark
80% – 100%Maximum tonal spread across 0–255Washed-out foggy or low-contrast scans

Why CDF histogram equalization outperforms simple linear contrast

Linear contrast scaling still leaves most pixels bunched inside a narrow gray band if a single bright speck or dark pinhole exists in the image. Cumulative Distribution Function (CDF) equalization distributes elevation steps proportionally where pixel density actually lives.

Keeping displacement centered around 0.50 to protect mesh volume

Enabling Center Mean Height at 0.50 shifts the equalized output back around byte 128 so walls, floors, and terrain meshes do not bloat outward or shrink inward when displaced in Blender or Unreal Engine 5.

Frequently asked questions

Will 100% histogram equalization amplify noise on smooth surfaces?

Yes—on very smooth gradients, dial Equalization Strength down to 35%–60% to widen dynamic range without exaggerating grain.

Can I convert my equalized height map directly into a normal map?

Yes. Download the PNG here and drop it into our Heightmap to Normal Map workbench.

Why does Before Range vs After Range matter for 8-bit PNGs?

Stretching a 70-byte spread to 240+ bytes triples usable elevation precision and drastically cuts displacement stair-stepping.

Does this upload my height map?

Never. Everything runs locally inside your browser tab.

More free local PBR & normal map tools