Module 06: Segmentation 101

Learn core segmentation concepts, error modes, and practical correction workflows for connectomics.

Stylized vector art: a tile mosaic with one region flood-filled across tile boundaries.

Lesson Flow

Learn

Goals and Concepts

Start with the capability target and concept set for this module.

Practice

Studio Activity

Apply the ideas in a guided activity tied to realistic outputs.

Check

Assessment Rubric

Use the rubric to verify competency and identify improvement targets.

Interactive Lab

Practice in short loops: checkpoint quiz, microtask decision, and competency progress tracking.

Process ID Microtask

To distinguish axon vs dendrite reliably, prioritize:

Progress Tracker

State is saved locally in your browser for this module.

0% complete

Capability target

Detect and categorize core segmentation errors and execute one correction cycle with documented quality impact.

Concept set

1) What segmentation does and why it matters

Segmentation is the computational process of assigning every voxel in an EM volume to a specific object — not just “this is a neuron” but “this is neuron #47,293.” This is instance segmentation, and it’s the foundation of the entire connectome. Without accurate segmentation, you cannot identify individual neurons, trace their morphology, or determine their synaptic connections. Modern methods (flood-filling networks, U-Net + watershed + agglomeration) achieve “superhuman” accuracy on benchmarks but still make errors at rates that compound across large volumes.

2) Error taxonomy: merge, split, boundary, identity

3) Correction priority: not all errors are equal

The key insight for beginners: fix errors that change your biological conclusions, not errors that look ugly. A merge error connecting two neurons in your circuit of interest is far more important than a split error in a distant fragment you’ll never analyze. Impact-weighted triage is essential.

Misconception guardrails

Each of these is a belief a learner plausibly holds on arriving. Name it, then check your own work against it.

Worked example: object 8841 and the split you almost fixed first

The numbers below are illustrative — they show the shape of the reasoning, not results from a specific dataset.

You are proofreading a 50x50x50 µm subvolume ahead of a connectivity analysis of layer 2/3 pyramidal cells. Two flagged candidates sit at the top of your queue, and you have about one hour of annotator time: object 8841, flagged for implausible morphology, and object 5510, a dead-end axon fragment flagged as a probable split. The split looks easier and more satisfying to fix. Here is why the expert fixes the other one first.

Step 1 — Diagnose before editing. Load 8841’s 3D mesh. It has two somata roughly 180 µm apart joined by a single thin process. Two somata in one object is a merge until proven otherwise, so trace the connecting process in 2D: caliber holds near 0.8 µm on both sides, then drops abruptly to about 0.2 µm across three sections that also contain a fold artifact. Abrupt caliber change plus a low-evidence artifact region is the classic merge site — the model had almost nothing to work with there and guessed wrong.

Step 2 — Estimate graph impact before fixing anything. Object 8841 carries 212 synapses and 47 synaptic partners. If it is really two neurons, every one of those synapses is currently attributed to a hybrid cell that does not exist, and both halves sit inside your analysis set. Object 5510 is a 40 µm axon fragment with 9 output synapses that dead-ends at a missing section; its parent cell is outside the analysis set. The merge outranks the split on every axis that matters: it corrupts identities you will analyze, while the split truncates a cell you will not.

Step 3 — Fix with the evidence recorded. Split 8841 at the identified boundary. Log the object ID, the operation, the coordinates, and the evidence in one line: “two somata; caliber 0.8 to 0.2 µm across fold at z=1140; ribosomes present on one side of the boundary only.” The products carry 131 and 81 synapses.

Step 4 — Verify the fix helped, with numbers. The hybrid object had 47 partners; the split products have 29 and 19, with one partner genuinely shared. Fourteen neuron pairs just lost an edge that never existed. The hybrid was a volume outlier for its putative type; both products now fall inside the normal L2/3 pyramidal size range. That before/after pair is the difference between “I edited” and “I improved the data.”

Step 5 — Decide about 5510 explicitly, not by default. Twenty minutes remain. Extending 5510 means tracing through a missing-section region — a 30-40 minute job with a real chance of introducing a new merge under time pressure. Log it as deferred, with the reason. A deferral with a recorded reason is a decision; an unexamined flag is just backlog.

What this example does not establish. It does not show the subvolume is now clean, and it does not license the claim that merge errors are gone — only that the highest-impact known error was repaired and measured. Remaining error is unmeasured until someone samples for it, which is exactly what the release note in the studio activity must say.

Core workflow

  1. Load segmented patch in Neuroglancer or equivalent viewer.
  2. Identify merge/split candidates by scrolling through z and checking 3D meshes for implausible morphology.
  3. Apply correction: split merged segments at the boundary, merge split fragments by verifying continuity.
  4. Recalculate quality indicators: did the correction improve local metrics?
  5. Log decisions: record what was changed, why, and what evidence supported the decision.

60-minute tutorial run-of-show (full instructor version)

Pre-class preparation (10 min async)

Minute-by-minute plan

  1. **00:00-08:00 Segmentation goals**
    • “What would a perfect segmentation look like? Every neuron correctly labeled, every membrane correctly placed.”
    • Show a well-segmented region side-by-side with raw EM. Point out: each color = one neuron.
    • Then show the same region with errors highlighted. “This is reality. Our job is to find and fix these.”
  2. **08:00-22:00 Error taxonomy with real examples**
    • Walk through one merge error: show the 3D mesh with impossible branching, navigate to the merge point in 2D slices, explain why the model failed (low contrast at a blood vessel).
    • Walk through one split error: show a dead-end axon fragment, then the continuation 3 sections later. Explain: thin process + poor contrast = model lost it.
    • Walk through one boundary error: show a synapse attributed to the wrong neuron because the membrane position is off by 2 pixels.
    • For each: “What would this error do to your analysis?”
  3. **22:00-36:00 Guided correction round**
    • Learners work in pairs on 3 pre-identified errors (1 merge, 1 split, 1 ambiguous).
    • Instructor circulates, coaching on: “Show me the evidence before you correct.” “What would happen if this merge is actually correct — two branches of the same neuron?”
  4. **36:00-48:00 Quality metric interpretation**
    • Introduce: “How do we know if our corrections actually helped?”
    • Brief overview of metrics: edge precision/recall (are the connections right?), segment size distributions (do sizes look biological after correction?).
    • Compute metrics before and after the correction round. Did they improve?
  5. **48:00-60:00 Debrief and competency check**
    • Each learner presents one correction with evidence chain.
    • Group discussion: “Which correction had the biggest impact on the graph? Why?”
    • Exit ticket: “Name the error type you found hardest to detect and why.”

Studio activity: correction triage simulation (60-75 minutes)

Scenario: Your team has a freshly segmented 50x50x50 um subvolume containing approximately 200 neuron fragments. Automated error detection has flagged 25 candidate errors. You have time to fix 10.

Task sequence:

  1. Review all 25 flagged candidates and classify each by error type (merge/split/boundary/uncertain).
  2. Rank by estimated impact: which corrections would most change the connectivity graph?
  3. Fix the top 10 in priority order, documenting each correction.
  4. Compute before/after metrics for the subvolume.
  5. Write a 3-sentence “release note” summarizing what was fixed and what remains.

Expected outputs:

Assessment rubric

Common errors and how to recover

What this module does not cover

Content library references

Teaching resources

References

Quick practice prompt

Explain when you would defer a correction instead of fixing immediately.

Teaching Materials

Activity Worksheet

Learner worksheet aligned to the studio activity and rubric.

Open worksheet

Slide Source

Marp source file for editing and rendering.

course/decks/marp/modules/module06.marp.md

Related Content