Short answer
What is surgical video annotation?
Surgical video annotation adds structured labels to footage, such as procedure phases, instrument presence, or actions. Define the research task, observable evidence, and timestamp conventions before labeling. Assess independent reviewer agreement with an explicit denominator, preserve uncertainty, and document adjudication. Agreement on a label and agreement on its temporal boundaries are separate questions.
Working on a project? Use the free data brief, manifest, and acceptance templates.
Choosing what to annotate
Annotation can apply to an entire case, a time interval, a single frame, or a spatial region. Specify both the unit being annotated and the label it receives. Choose the smallest amount of detail that supports the intended experiment, then test whether it is sufficient.
| Annotation unit | Example label or target | Scoping question |
|---|---|---|
| Case | Procedure category | Is the category known from the source record or inferred from video? |
| Interval | Procedure phase or action | How are boundaries and simultaneous events handled? |
| Frame | Instrument presence | Does partial visibility count? |
| Region | Instrument mask or bounding box | Which occluded or reflected parts are included? |
The CAMMA: CholecT50 dataset documentation uses instrument, verb, and target labels as a concrete example of action annotation. Its vocabulary is specific to its task and collection. Reusing a published label set still requires checking whether it fits your procedures and intended use.
Phases, steps, tasks, and actions
A timestamp tells you when an event occurs; its label tells you what it means. The 2021 SAGES consensus framework distinguishes four levels of surgical events. These are different from the frame, interval, and region units above.
| Event level | Meaning in the SAGES framework |
|---|---|
| Phase | A broad stage of the operation: access, execution of surgical objectives, or closure. |
| Step | A procedure-specific part that achieves a necessary clinical goal. Steps can be interrupted or performed in different orders. |
| Task | A group of actions serving a goal within a step. |
| Action | A basic component of a task, usually named with a verb. |
The framework concerns minimally invasive surgical video. Check definitions before applying it to another setting or combining datasets: matching label names alone does not establish matching meanings.
Task labels do not supply action labels automatically. In a synthetic export, task T12 might occupy [10, 30) seconds. Copying that interval into an action field would invent an action annotation. Request separately reviewed action instances if the experiment needs them; otherwise record action coverage as not annotated.
Before accepting an export, specify the required event levels, the definition and version of each label, and how event instances link to their parent task or step. Keep separate occurrences when an event stops and resumes. Check a sample against the recording rather than inferring lower-level labels from a parent interval. These are export-scoping checks, not evidence of robot-control signals or model performance.
Label definitions and review rules
For each label, describe the visible evidence required, give positive and negative examples, and explain how to record uncertainty. Include difficult footage in the guide.
- Definitions and boundaries for every label.
- Rules for partial visibility, simultaneous actions, and off-screen activity.
- An explicit unknown or not-assessable state where appropriate.
- Timestamp units, frame indexing, interval inclusivity, and video version.
- Reviewer qualifications, escalation rules, and adjudication responsibilities.
Resolve temporal conventions early. An interval expressed in seconds may not map cleanly to a variable-frame-rate export without a defined time base. A label file can be syntactically valid and still align to the wrong moment if the video has been re-edited.
Run an independent annotation pilot
Choose a representative sample and have appropriately qualified reviewers label selected segments independently before comparing decisions. Include transitions, partial views, and difficult footage. Some disagreements reveal unclear instructions; others reflect information that the video does not contain. Preserve the initial labels before discussing them.
Measure time spent on instruction, labeling, review, and correction separately. A pilot that only counts the time spent clicking labels can underestimate the effort required to produce a usable dataset.
Example: comparing event boundaries
The following is an original synthetic example, not patient data or published results. Two reviewers assess four preselected candidate windows for a fictitious event E on the same recording and timebase. All numbers are invented. Intervals use seconds and the convention [start, end): the start is included and the end is excluded.
For demonstration, declare a tolerance of 0.5 seconds before comparison. A comparable window passes only if both reviewers assign E and both its start and end differ by at most 0.5 seconds. This is an illustrative rule, not a recommended clinical threshold. A project must justify its tolerance against the task and recording resolution.
| Window | Reviewer A | Reviewer B | Absolute start / end difference | Boundary check |
|---|---|---|---|---|
| S1 | [10.0, 14.5) | [10.2, 14.7) | 0.2 s / 0.2 s | Pass |
| S2 | [20.0, 24.0) | [20.7, 24.2) | 0.7 s / 0.2 s | Fail |
| S3 | [30.0, 35.0) | [29.7, 35.4) | 0.3 s / 0.4 s | Pass |
| S4 | Not assessable | [40.0, 44.0) | Not comparable | Review uncertainty |
Use actual media timestamps to align these intervals with frames. Multiplying seconds by a nominal frame rate can misalign labels when frame timing is irregular or frames are missing. Preserve the mapping if footage is trimmed or re-encoded.
Calculate agreement and coverage separately
Boundary-pair agreement = passing comparable windows ÷ all comparable windows. Here, comparable means both reviewers assigned E and supplied an interval. S1 and S3 pass; S2 fails. The result is 2/3, or 66.7%. Also report comparable coverage: 3/4 candidate windows, or 75%. S4 remains visible as an unresolved assessment disagreement.
This conditional check does not measure event-detection precision or recall, model accuracy, or clinical validity. Preselected windows remove the problem of matching independently discovered events. Evaluation on complete videos must separately specify event matching and account for extra events, missing events, absent labels, and non-assessable material. If no windows are comparable, report the boundary measure as undefined.
It is also not Cohen’s kappa. The scikit-learn documentation defines kappa as agreement between two annotators on classification labels, adjusted for expected chance agreement. Choose the measure for the question and report its unit of analysis. Thousands of adjacent frames do not constitute thousands of independent clinical cases.
Resolving and recording disagreements
For S2, an adjudicator should inspect the recording and the definition of E before deciding whether either boundary needs correction. Averaging the two starts could create a timestamp neither reviewer considers justified. For S4, determine whether the evidence supports a label or remains insufficient. Do not turn an obscured interval into a negative example by default.
Keep both original annotations, the adjudicated decision or unresolved status, the reason, media identifier, guide version, and review record. If the disagreement exposes a missing rule, version the guide and identify earlier annotations affected by that change. A revised rule may require relabeling beyond the disputed window.
Report independent agreement before adjudication separately from the final consensus labels. Agreement after everyone adopts the same decision is not a new independent reliability result.
How should an export distinguish absent, uncertain, and unreviewed labels?
Record the assessment state separately from the target label. A reviewer may find the target present, find it absent under the agreed review rule, be unable to assess it, or not have reviewed the window yet. A blank timestamp cannot distinguish those situations.
The following is an original example convention, not a clinical standard or the CholecT50 format. Define these states for each target and review scope before collecting labels.
| Assessment state | Meaning for the specified window | Boundary comparison |
|---|---|---|
| present | The reviewer assigned the target and supplied its interval. | Compare only when both reviewers assigned the same target and supplied valid intervals. |
| absent | The reviewer completed the agreed review and judged the target absent. | No event boundary to compare; retain the classification decision. |
| not_assessable | The available evidence did not support a decision. | No event boundary to compare; retain the uncertainty. |
| not_reviewed | The planned review has not been completed. | No event boundary to compare; retain the unfinished work. |
Download the synthetic review CSV and its field specification. The eight rows reproduce the two reviewers’ original S1–S4 assessments above. S4 remains not_assessable for reviewer A and present for reviewer B. The export contains no invented adjudication, clinical footage, or additional review results.
Match reviews by media identifier and version, guide version, window, and target; preserve each reviewer’s identity. Reject missing or duplicate required reviews before calculating agreement. Do not fill an empty interval with zero or convert every non-present state into a negative label. S1–S3 remain comparable, S1 and S3 pass, and S4 remains outside the boundary denominator while still appearing in the coverage report.
For a real project, also define the candidate windows, observable label rules, approved media mapping, reviewer roles, and acceptance criteria. Keep the original independent labels when adding adjudication. Use the procurement brief to scope an annotation inquiry; share only a non-confidential description through the contact form.
Reviewing annotation quality
Quality includes meaning, alignment, coverage, and consistency. A valid file schema does not establish a valid reference standard. Review results by label and relevant recording conditions, with sample counts. Shared instructions can make reviewers agree while omitting a distinction the research task needs.
For spatial labels, inspect object edges and occlusions. For descriptions, check that claims are supported by the visible sequence. Keep task-critical error types visible instead of collapsing every issue into one average score.
Files and documentation to deliver
Request a machine-readable export, label dictionary, guide version, media mapping, quality report, and limitations. CholecT50’s format documentation provides a concrete reference: annotation files identify the video and sampled frames, map frame IDs to labels, and include dataset version information. Follow the source format’s own missing-value definitions when importing third-party labels; the example above uses its own explicit assessment states.
Include a loading example and a changelog distinguishing added cases, revised labels, and timestamp fixes. Operavue can scope annotation and expert evaluation alongside a data inquiry, with deliverables agreed before production work. See the dataset quality guide for complementary checks on evaluation splits and source independence.
Sources & further reading
- CAMMA: CholecT50 dataset documentation →
- Meireles et al.: SAGES consensus annotation framework (2021) →
- CAMMA: CholecT50 annotation format →
- scikit-learn: Cohen’s kappa →
An Operavue planning guide informed by the sources above. Sources do not endorse Operavue. This is educational material, not clinical, legal, or regulatory advice.
Editorial approach and correctionsContact
Discuss your research.
Tell us the task you are studying and the data or clinical expertise you need.
Discuss a dataset