LungMend: A Healthy-Only Latent Diffusion Shape Prior for Lung Mask Correction in Severe Tuberculosis CT
Organizations: SAMOVAR, Télécom SudParis, Institut Polytechnique de Paris, Palaiseau, France · Avicenne Hospital, AP-HP, Bobigny, France
Abstract
Lung segmentation models such as R231 are widely used, but they fail on severe tuberculosis (TB) CT: cavities and consolidations look like non-lung tissue and are left out of the mask. We present LungMend, a post-processing model that corrects such masks using only healthy anatomy. A latent diffusion model, trained on healthy lungs with synthetically corrupted masks, learns to recover the complete lung from the faulty mask and the bone anatomy, without any pathological data or CT intensities. LungMend recovers cavities and consolidations that R231 misses and improves accuracy on expert-annotated slices. Code: https://github.com/noureddinekhiati/LungMend
Figures & tables
| Expert slices | Lesion recall | ||||
|---|---|---|---|---|---|
| Method | Dice | ASD | HD95 | Cav. | Cons. |
| R231 [ 1 ] | 0.909 | 4.38 | 27.4 | 0.869 | 0.732 |
| R231 + closing | 0.929 | 3.79 | 22.9 | 0.934 | 0.868 |
| Post-DAE [ 7 ] | 0.768 | 11.87 | 36.5 | 0.968 | 0.942 |
| Det. 3D U-Net | 0.896 | 5.04 | 26.1 | 0.557 | 0.731 |
| TotalSegmentator | 0.919 | 4.29 | 24.7 | 0.951 | 0.723 |
| Dice | ASD | |
| A. Training components | ||
| Full recipe (reference) | 0.964 | 2.34 |
| Latent voxel-space diffusion | 0.917 | 4.54 |
| SDT binary mask | 0.795 | 15.02 |
| No Dice term in VAE | 0.935 | 3.68 |
| No bone mask | 0.929 | 3.47 |
Medical Imaging
Medical imaging uses computational methods to analyze, reconstruct, and interpret images for diagnosis, treatment planning, and monitoring.
See all 267 papers