Advanced Corneal Thickness Variation Simulation after Refractive Surgery
Professional Tool for PRK, LASIK, KLEX/SMILE Planning
by Pr. Damien Gatinel
Standard Mode: Uses average corneal parameters (K = 43.0 D, Q = -0.2) for quick calculations. Ideal for routine screening and patient education.
📊 About the Standard Mode
This mode calculates the residual corneal thickness after refractive surgery using population-average corneal parameters. It supports PRK, LASIK, and KLEX/SMILE.
Custom Mode: Allows specification of patient-specific corneal parameters including preoperative keratometry and asphericity. Ideal for complex cases and research applications.
🔬 About the Custom Mode
This advanced mode enables precise calculations using patient-specific parameters. You can input the actual preoperative keratometry and asphericity values, and specify the target postoperative asphericity for customized ablation profiles.
Additional Custom Parameters
Preoperative keratometry (K): Mean corneal power in diopters
Preoperative Q1/Q2: Asphericity on K1/K2 (−1 to +1)
Target postoperative Q: Desired asphericity after surgery
Radius from K:
R (mm) = (n − 1) × 1000 / K, with n = 1.3375 (keratometric index)
Note: Optical calculations use n = 1.376 (stromal index)
🎯 Custom Corneal Parameters
🔧 Posterior Corneal Parameters (Advanced)
⚡ Vertex Distance Settings
🛡️ Safety Limit Settings
📈 Calculation Results
3D Surface Analysis: Pre/Post Corneal Surfaces & Ablation Volume
PRK / Surface Ablation Cross-Sections
LASIK/KLEX Stromal Ablation Cross-Sections
⚠️ Clinical Disclaimer:
This simulator is an educational and research tool. All surgical decisions must be based on comprehensive clinical examination, actual patient measurements, and professional judgment. Individual variations in corneal biomechanics, healing response, and other factors significantly influence surgical outcomes.
📚 References
Gatinel D, Weyhausen A, Bischoff M. The Percent Volume Altered in Correction of Myopia and Myopic Astigmatism With PRK, LASIK, and SMILE. J Refract Surg. 2020 Dec 1;36(12):844-850.
Gatinel D, Saad A, Binder PS. Comparison of the effect of LASIK parameters on the percent tissue altered (1-dimensional metric) versus percent volume altered (3-dimensional metric). J Cataract Refract Surg. 2018 Jul;44(7):897-904.
Gatinel D, Hoang-Xuan T, Azar DT. Three-dimensional representation and qualitative comparisons of the amount of tissue ablation to treat mixed and compound astigmatism. J Cataract Refract Surg. 2002 Nov;28(11):2026-34.
Gatinel D, Hoang-Xuan T, Azar DT. Volume estimation of excimer laser tissue ablation for correction of spherical myopia and hyperopia. Invest Ophthalmol Vis Sci. 2002 May;43(5):1445-9.
Santhiago MR, et al. Role of percent tissue altered on ectasia after LASIK in eyes with suspicious topography. J Refract Surg. 2015 Apr;31(4):258-65.
This appendix mirrors the exact computations used by the simulator above, including constants, units, and numerical integration over the treatment zone. It is designed so that a non-specialist can follow along while preserving scientific accuracy. Aligned with code
Mental map. Think of the cornea like a shallow bowl. We describe its shape with a
height function (the "sag") over the pupil plane, then:
Area ≈ the size of the patch we treat (mm²).
Thickness (µm/mm) = how much tissue we remove at each point.
Volume (mm³) = area × thickness, summed over the whole patch.
1) Symbols & Units (⇄ code variable names)
Symbol
Code name
Unit
Meaning
S, C, AX
Ssp, Csp, AX
D, D, °
Spectacle prescription (sphere, cylinder, axis).
v
vertex
mm
Vertex distance (glasses → cornea), typ. 12 mm.
ZO
ZO
mm
Optical zone diameter (defines the treatment patch Ω).
CT (CCT)
CT_um
µm
Central corneal thickness at apex (total, includes epithelium).
CST
—
µm
Central stromal thickness at apex (CST = CCT − 50 µm; epithelium assumed 50 µm uniform for references).
FLAP/CAP
CAP_um
µm
Flap/cap thickness (LASIK/KLEX).
nK, nstroma
N_KERATO, N_STROMA
—
Keratometric and stromal indices: 1.3375 and 1.376.
In words: the cornea can differ along K1 (flatter) and K2 (steeper) not only in radius but also in asphericity; we therefore use Q1 along K1 and Q2 along K2 in the separable biconic sag.
5) Post-op spherical target and boundary continuity
In words: the treated patch is an ellipse aligned with K1/K2 (or a circle if spherical correction ≈ 0). Its size sets the area over which we integrate volumes.
Note: The display includes a gentle transition along K1 in the "pure cylinder" case, but this transition is not counted in volumes.
In words: at each point we compare the pre‑op anterior stromal shape and the post‑op anterior stromal shape; positive differences are tissue removed. Epithelium (PRK) and flap/cap (LASIK/KLEX) are handled separately (50 µm epithelial shift and an added lamellar term for LASIK). Central ablation is the value at (0,0).
8) Posterior surface and stromal thickness under Ω (customizable)
In words: the posterior surface is modeled as a separable biconic aligned with K1/K2 (flat/steep meridians).
If no custom values are provided, we use the population defaults (R = 6.7 mm, Q = −0.4 on both meridians). The constant
back_offset is chosen so that the central stromal thickness equals CT − 50 µm (epithelium removed).
In words: stromal thickness is the gap between the posterior surface and the pre-op anterior stromal surface at each location.
This definition excludes the epithelium by construction (50 µm are removed in PRK, or are lamellar in LASIK/KLEX).
9) Areas & Volumes — how the integrals are computed
Plain English: We cover Ω with tiny squares of side dx = dy (in mm).
For each square inside Ω, we multiply its area (mm²) by the local thickness (mm) and add them up.
This "sum of little blocks" is what mathematicians call a numerical integral (Riemann sum).
In words:
• 1D uses a "slab" reference: A_Ω × CCT_apex, where CCT_apex is the single central (apical) thickness value entered in the UI (not a map and not necessarily the thinnest point).
• 3D uses the actual stromal volume under Ω, i.e., the integral of local stromal thickness T(x,y) between posterior surface and pre‑op anterior stroma.
3D is geometrically faithful; 1D is a quick approximation that assumes uniform thickness across Ω.
If desired, the 'slab' thickness could be switched to the thinnest pachymetry (TCT), but this is not what the current UI does.
11) PTA (for LASIK) — what it is and why it differs
$
\text{PTA}(\%) \;=\; 100\ \frac{CAP + \text{ablation at the center}}{CCT_{\mu m}}
$
In words: PTA is 1-dimensional and central (it uses the central ablation depth).
PVA-1D uses the mean ablation over Ω, so for myopic corrections we usually have PVA1D < PTA.
12) Quick checklist (what each calculation is doing)
Convert prescription to the corneal plane → get S_cor, C_cor.
Split mean K into K1/K2 → get R1_i, R2_i (flat/steep radii).
Compute target spherical radius \(R'\) from R1_i and S_cor.
Define Ω (ellipse or circle) from ZO, R1_i, R2_i, R'.
Enforce border continuity → compute offset.
Map ablation \(\text{abl}(x,y)\) and integrate to get volumes.
Build posterior surface and integrate stromal thickness under Ω.
Compute PVA (1D & 3D) and compare to PTA.
All constants, equations and numerical choices above (indices, posterior conic, epithelium = 50 µm, ellipse geometry, integrals)
match the simulator's code exactly. This appendix is intentionally educational while remaining faithful to the implementation.
Source-aligned