HomeEndoscopic Screening & PolypectomyNarrow-Band Imaging Polyp Classification Simulator

🔬 Narrow-Band Imaging Polyp Classification Simulator

This simulation helps in the classification of polyps using Narrow-Band Imaging techniques, which is crucial for accurate diagnosis and treatment planning.

Endoscopic Screening & Polypectomy2DModerate60 FPS
nbi-polyp-classification ↗ Open standalone

White-Light Colonoscopy & Polyp Detection

Colorectal cancer develops through the adenoma-carcinoma sequence over 7–15 years, making colonoscopic polyp detection and removal one of the few interventions proven to reduce both cancer incidence and mortality. Standard white-light endoscopy (WLE) uses broadband illumination (~400–700 nm) to survey the mucosa, but its ability to characterize a lesion's malignant potential in real time is limited.

  • ~15 M: Colonoscopies (US, annual) (screening + diagnostic)
  • ~80–90%: Diminutive polyps (≤5 mm) (of all polyps removed)
  • <0.1%: Cancer risk in diminutive polyps (harbor invasive cancer)
  • ≥6 min: Recommended withdrawal time (raises adenoma detection)

The screening colonoscopy and the adenoma-carcinoma sequence

Most colorectal cancers arise from adenomatous polyps that accumulate genetic alterations (APC, KRAS, TP53) over roughly a decade, progressing from small tubular adenoma to advanced adenoma to invasive carcinoma. Colonoscopic removal of adenomas before malignant transformation is the mechanistic basis for the ~50–60% reduction in colorectal cancer incidence and mortality demonstrated in long-term cohort studies (e.g., the National Polyp Study).

During withdrawal — the phase in which the endoscopist slowly retracts the scope and inspects the mucosa — every fold, flexure and haustral pouch is examined. Quality benchmarks recommend a mean withdrawal time of at least 6 minutes and an adenoma detection rate (ADR) of at least 25% (≥30% in men, ≥20% in women); each 1% increase in ADR is associated with a measurable drop in interval (missed) cancer risk.

A polyp's size and morphology under white light (Paris classification: pedunculated 0-Ip, sessile 0-Is, flat elevated 0-IIa, etc.) determine resection technique — but white light alone cannot reliably distinguish a benign hyperplastic polyp from an adenoma or an early cancer.

The diminutive polyp problem

Roughly 80–90% of all polyps detected at screening colonoscopy are diminutive (≤5 mm), and the vast majority of these are either hyperplastic (non-neoplastic, no cancer risk) or low-risk tubular adenomas. Fewer than 1 in 1,000 diminutive polyps harbor invasive cancer, and advanced histology (high-grade dysplasia or villous features) is rare.

Yet under current practice essentially every detected polyp is resected and sent for formal histopathology — generating enormous specimen volume relative to its clinical yield. A single large academic center can process tens of thousands of diminutive-polyp specimens per year, each requiring embedding, sectioning, staining and pathologist review, at a cost of roughly $60–100 per specimen even though the result rarely changes management for lesions already known to be low-risk.

Why optical diagnosis matters

If an endoscopist could reliably predict histology at the time of colonoscopy — without waiting days for a pathology report — two efficiencies become possible: discarding diminutive polyps after resection without sending them to pathology ("resect-and-discard"), and, for the lowest-risk diminutive rectosigmoid polyps, leaving predicted-hyperplastic lesions entirely unresected ("diagnose-and-leave-in-situ"). Both strategies depend entirely on the accuracy of real-time optical characterization — which is where narrow-band imaging enters the workflow.

Narrow-Band Imaging — Seeing the Microvasculature

Narrow-band imaging (NBI, Olympus) is an optical-digital enhancement technique that restricts white light to two narrow wavelength bands tuned to hemoglobin's absorption spectrum. Activated with a single button press during colonoscopy, it requires no dyes or contrast agents, adding only seconds to the procedure while dramatically sharpening mucosal surface and vascular detail.

  • ~415 nm: Blue band wavelength (superficial capillary loops)
  • ~540 nm: Green band wavelength (deeper submucosal vessels)
  • 400–700 nm: White light bandwidth (broadband, low vessel contrast)
  • ~0 sec: Added procedure time (optical filter, no dye needed)

The physics of narrow-band contrast

Conventional white-light endoscopy illuminates tissue with the full visible spectrum, and because hemoglobin absorption is spread across many wavelengths, superficial capillaries blend into the surrounding pink mucosa with poor contrast. NBI instead passes light through a rotating or fixed optical filter that transmits only two narrow bands: ~415 nm (blue) and ~540 nm (green).

Hemoglobin absorbs both bands strongly relative to surrounding tissue. The shorter 415 nm blue wavelength penetrates only the shallow mucosa, so it is absorbed by superficial capillary networks and rendered on screen as brown. The longer 540 nm green wavelength penetrates slightly deeper into the submucosa, highlighting larger collecting venules, rendered as cyan. The result is a striking false-color image in which vessel architecture — otherwise invisible — appears as a sharply defined brown-on-pale-green network.

Because NBI uses only optical filtering of the same white-light source (no dye spraying, no separate equipment), it can be toggled on and off instantly at the touch of a button, letting the endoscopist compare white-light morphology and NBI vascular/pit pattern within seconds.

What becomes visible under NBI

Two structures dominate the NBI image of a colorectal lesion:

• Microvascular pattern (MVP): the density, caliber, and regularity of capillaries surrounding the surface pits. Normal and hyperplastic mucosa show sparse, fine, regular vessels or none at all. Adenomatous tissue develops a denser meshwork of thickened, brown vessels encircling the glandular openings. Invasive cancer disrupts the microvasculature entirely — vessels become irregular, tortuous, or simply absent as tumor destroys normal architecture.

• Surface (pit) pattern: the shape of the mucosal crypt openings, best appreciated with additional optical/digital magnification. Round, uniform pits characterize hyperplastic tissue; oval, tubular or gyrus-like branched pits characterize adenomas; and an amorphous or absent pattern signals deep invasion — this closely parallels the older dye-based Kudo pit-pattern classification (Types I–V) developed for chromoendoscopy.

NBI in context of other optical-enhancement modalities

NBI is one of several "virtual chromoendoscopy" technologies now built into modern endoscopy platforms — others include Fujifilm's BLI/LCI (Blue Light / Linked Color Imaging) and Pentax's i-scan, all pursuing the same goal of enhancing mucosal and vascular contrast without dye spraying. Dye-based chromoendoscopy (indigo carmine or crystal violet) remains the historical reference standard for pit-pattern analysis but is slower and used less routinely in Western practice.

NBI is frequently combined with optical or digital zoom (magnifying colonoscopes provide up to ~150x optical magnification) to resolve pit and vessel detail at the sub-millimeter scale required for confident NICE typing, particularly for larger or more complex lesions.

The NICE Classification System

The NBI International Colorectal Endoscopic (NICE) classification, developed by an international working group and validated across multiple centers, distills NBI findings into three simple, non-magnified criteria — color, vessels, surface pattern — that any endoscopist can apply at the bedside without special equipment, assigning each polyp to Type 1, Type 2, or Type 3.

  • 3: NICE classification tiers (Type 1 / 2 / 3)
  • 3: Criteria assessed (color, vessels, surface)
  • None: Magnification required (usable on standard scopes)
  • I–V: Correlate: Kudo pit pattern (chromoendoscopy analogue)

Three criteria, three types

NICE scoring proceeds criterion by criterion: the lesion's color relative to background mucosa, the presence/pattern of vessels, and the surface pattern of the pits. A lesion is assigned the type whose profile it most closely matches (see full criteria table below). Because NICE requires no dye and no magnification, it can be performed with any standard NBI-equipped colonoscope in the seconds after a polyp is found — making it practical for routine, high-volume screening practice rather than only expert referral centers.

NICE Type 1 predicts hyperplastic (non-neoplastic) tissue; Type 2 predicts adenoma (tubular/tubulovillous, mucosal-confined neoplasia); Type 3 predicts deep submucosal invasive cancer, for which standard piecemeal endoscopic resection is inappropriate and surgical or expert en-bloc referral is indicated.

Diagnostic performance of NICE

Pooled data across validation studies show NICE typing distinguishes neoplastic (adenoma/cancer) from non-neoplastic (hyperplastic) diminutive polyps with sensitivity around 90% and specificity around 85–90% in the hands of experienced endoscopists — comparable to older magnification-based pit-pattern analysis but faster and simpler to apply.

Accuracy is highly dependent on training and case volume: expert endoscopists who have completed structured NBI training report overall optical diagnostic accuracy of roughly 90–95%, while non-experts or endoscopists early in the learning curve may achieve only 65–80% without dedicated training — a gap that has driven professional societies to mandate formal training modules before optical diagnosis is used to guide management decisions.

Confidence matters as much as the call

NICE typing is always paired with a confidence rating — "high confidence" or "low confidence" — recorded by the endoscopist at the time of assessment. Studies consistently show that high-confidence optical diagnoses are substantially more accurate than low-confidence ones (often a 10–15 percentage-point gap), and current guidance restricts optical-diagnosis-based management decisions (resect-and-discard, diagnose-and-leave) to high-confidence calls only. A low-confidence assessment — regardless of the type assigned — should default to conventional resection and pathology.

NICE classification criteria and associated pathology

ProductIndicationTrial DesignKey Result
Type 1Color: same or lighter than backgroundVessels: none, or isolated lacy vessels. Surface: uniform dark/white spots, or homogeneous pattern.Hyperplastic — leave in place (diminutive rectosigmoid)
Type 2Color: browner relative to backgroundVessels: thick brown vessels surrounding white/tan structures. Surface: oval, tubular or branched pits.Adenoma — resect (discard pathology if diminutive)
Type 3Color: brown to dark brown, often patchyVessels: markedly distorted or absent. Surface: amorphous or absent pattern.Deep submucosal cancer — refer, avoid piecemeal resection

Optical Diagnosis vs Histopathology

A real-time optical call is only clinically useful if it agrees with what the pathologist ultimately reports under the microscope. Prospective studies compare each endoscopist's live NICE prediction — made and recorded before the specimen leaves the room — against the formal histopathology diagnosis to establish concordance and calibrate confidence.

  • ~90%: Pooled NBI sensitivity (neoplastic vs non-neoplastic)
  • 85–90%: Pooled NBI specificity (expert endoscopists)
  • 90–95%: Expert overall accuracy (with structured training)
  • 65–80%: Non-expert accuracy (without dedicated training)

How concordance studies work

In validation trials, endoscopists record a prospective optical diagnosis (predicted histology + confidence level) for every polyp immediately upon visualization, before any resection occurs. The polyp is then removed and processed by pathologists blinded to the optical call. Concordance is calculated as the proportion of optical diagnoses that match the final histopathology, typically stratified by lesion size, location, and endoscopist confidence/experience — exactly the variables this simulation lets you adjust.

Histopathology as the reference standard

Formal histopathology remains the diagnostic gold standard: a hematoxylin-and-eosin (H&E) stained tissue section reveals glandular architecture directly. Hyperplastic polyps show elongated, serrated but architecturally regular crypts with preserved basal proliferative zones. Tubular adenomas show crowded, hyperchromatic, elongated (dysplastic) crypts with loss of normal maturation. Invasive carcinoma shows irregular glandular fusion, cribriforming, or frank invasion through the muscularis mucosae into the submucosa — the histologic feature that defines a NICE Type 3 lesion and precludes simple snare polypectomy.

Where optical diagnosis falls short

Discordance clusters in predictable places: serrated lesions (sessile serrated lesions can mimic hyperplastic Type 1 features on NBI despite carrying malignant potential), borderline Type 1/Type 2 calls at low confidence, and community or trainee settings without structured NBI training. Because a missed adenoma left in situ (false Type 1) carries more downstream risk than an unnecessarily resected hyperplastic polyp (false Type 2), most protocols are deliberately biased toward resection when confidence is anything less than high — accepting some unnecessary polypectomies in exchange for a very low miss rate on neoplasia.

Resect-and-Discard & Diagnose-and-Leave-in-Situ

The ASGE's Preservation and Incorporation of Valuable endoscopic Innovations (PIVI) initiative set explicit accuracy thresholds that any real-time optical diagnosis technology must clear before it can be used to skip formal pathology for diminutive polyps — turning NBI/NICE from a research curiosity into a practice-changing, cost-saving clinical pathway.

  • ≥90%: PIVI-1 NPV threshold (diagnose-and-leave, rectosigmoid)
  • ≥90%: PIVI-2 agreement threshold (resect-and-discard surveillance interval)
  • ~$33 M+: Estimated annual US savings (resect-and-discard, pathology costs)
  • ≤5 mm: Eligible lesion size (diminutive polyps only)

The two PIVI thresholds

The 2011 ASGE PIVI statement defined two separate performance bars:

• Diagnose-and-leave-in-situ: technology must demonstrate ≥90% negative predictive value (NPV) for adenomatous histology when predicting diminutive (≤5 mm) rectosigmoid polyps to be hyperplastic — i.e., when the endoscopist calls a small rectosigmoid polyp "Type 1 / hyperplastic" with high confidence, it must truly be non-neoplastic at least 90% of the time, so it can safely be left unresected.

• Resect-and-discard: technology must allow post-polypectomy surveillance intervals assigned by real-time optical diagnosis (combined with pathology only for polyps >5 mm) to agree with intervals that would have been assigned had every polyp undergone formal pathology, at least 90% of the time.

Multiple prospective studies using NBI with high-confidence calls from trained endoscopists have met or approached both PIVI thresholds; performance in general/community practice without structured training more often falls short — which is why professional guidelines still require confidence-stratified reporting and periodic performance auditing before a unit relies on optical diagnosis alone.

The decision pathway in practice

At the point of polypectomy, the pathway branches on three questions: Is the polyp diminutive (≤5 mm) and in the rectosigmoid? Was the optical diagnosis made with high confidence? Does the assigned NICE type indicate low risk (Type 1) or resectable neoplasia (Type 2)?

• Diminutive, rectosigmoid, high-confidence Type 1 → diagnose-and-leave-in-situ: the polyp is photographed and left unresected, no specimen generated. • Diminutive, high-confidence Type 2 → resect-and-discard: the polyp is removed for therapeutic reasons but the specimen is discarded rather than sent to pathology; the optical diagnosis alone determines the surveillance interval. • Any Type 3, low confidence at any type, or size >5 mm → standard pathway: resect (or refer for surgical/expert endoscopic resection if Type 3) and send the specimen to pathology as usual.

Health-system impact

Modeling studies estimate that broad adoption of resect-and-discard for diminutive polyps could eliminate hundreds of thousands of unnecessary pathology specimens annually in the United States alone, translating to tens of millions of dollars in direct laboratory cost savings, plus indirect gains from faster reporting turnaround and reduced pathologist workload on lesions that were never going to change management. Diagnose-and-leave-in-situ compounds these savings further by removing the polypectomy itself (and its small but real bleeding/perforation risk) for the lowest-risk diminutive rectosigmoid lesions — while every higher-risk or ambiguous lesion still receives full conventional resection and histopathology, preserving patient safety as the pathway's first priority.

⚙ Under the hood

This simulation helps in the classification of polyps using Narrow-Band Imaging techniques, which is crucial for accurate diagnosis and treatment planning.

CanvasBiomedicine

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)