Base color
Edema mode & settings
Image simulation
Upload JPG/PNG (max 1200×1200). Simulated canvas
next to original.
Research notes
Corneal edema occurs when endothelial pump failure allows aqueous humor
to imbibe into the stroma, disrupting the regular collagen fibril spacing required for
transparency. Stromal mode simulates diffuse Gaussian scatter from fibril disorganisation;
Epithelial mode adds microcystic texture; Combined/severe mode overlays both with maximum
contrast reduction. Severity maps to central corneal thickness (CCT).
Swatches — Reference vs Corneal Edema
Reference
HEX: — • RGB: — • xy: —
Simulated
HEX: — • RGB: — • xy: —
ΔE (CIE76)
—
ΔE (CIEDE2000)
—
Deep preview
Reference
Simulated
Chromaticity (CIE xy)
Edema scatter axis (toward D65 white)
Image simulation
Original
Corneal edema simulated
Multi-condition comparison
5
Clinical notes: Stromal edema predominantly creates achromatic scatter;
enabling wavelength-dependent scatter adds a Rayleigh (λ⁻⁴) component biasing scatter
toward shorter wavelengths. Scatter weights adjust per-channel (R/G/B) scatter contribution.
Not a clinical diagnostic — see model assumptions for limitations.
Model assumptions & limits
- Stromal edema modelled as additive broadband white scatter (Gaussian diffusion) in linear sRGB.
- Epithelial microcystic texture added via spatial frequency modulation, not actual OCT profile.
- ΔE and chromaticity metrics depend on display colour profile.
- Severity curves are clinical heuristics mapped to CCT grades.