← 🫁 Medicine

🫁 X-Ray CNN Reader

P(pneumonia):
Decision:
Sensitivity @ threshold:
Specificity @ threshold:
FPS:
Drag — rotate · Scroll — zoom

🫁 How Deep Learning Reads a Chest X-Ray for Signs of Pneumonia

Watch a synthetic chest X-ray funnel through the convolutional layers of a CNN toward a pneumonia probability, then check the model's Grad-CAM heatmap to see whether it's really looking at the infiltrate.

🔬 What It Demonstrates

Stacked feature-map layers shrink spatially while growing in channel depth as they move from raw pixels to abstract patterns; the final probability is compared against a decision threshold that trades sensitivity against specificity.

🎮 How to Use

Adjust infiltrate severity and which lung is affected, move the decision threshold, and toggle the Grad-CAM overlay. Run a forward pass to see activation pulse from the X-ray through the network to the output gauge.

💡 Did You Know?

Clinical screening CNNs are usually tuned to favour sensitivity over raw accuracy, because a missed pneumonia case is far costlier than a false alarm that a radiologist double-checks.