---
title: "Correct Labels and add annotations"
summary: "Edit a supported scientific layer, review the result, then save the changes explicitly."
url: https://hookeui.org/docs/annotations/
status: Development docs
publication_status: development-docs
implementation_status: merged-source-review
availability: Development docs. Check your installed version; Stable or Beta may differ.
source_repository: https://github.com/wpulier/HookeUI
source_revision: 07a0e90c99a6638835b35891a5fc6b041bdcf051
reviewed_date: 2026-10-28
source_paths: ["apps/studio/src/scientific-labels.ts","apps/studio/src/scientific-annotate.ts","apps/studio/src/scientific-document.ts","apps/studio/src/scientific-labels.test.ts"]
---

# Correct Labels and add annotations

Edit a supported scientific layer, review the result, then save the changes explicitly.

Development docs. Check your installed version; Stable or Beta may differ.

These guides follow development; your installed Stable or Beta may differ.

These controls belong to an opened scientific document with a supported private scientific session. They are separate from writing a Project note and from hiding an outline overlay.

## Correct an instance Labels layer [#correct-an-instance-labels-layer]

### Select the layer and edit scope [#select-the-layer-and-edit-scope]
Open **Controls → Edit**, then choose the **Labels layer**. Check the current slice, the layer identity and whether the operation edits the displayed plane or the offered dimensions.
### Choose the edit [#choose-the-edit]
Set **Label tool** to **Paint**, **Erase**, **Fill**, **Polygon — displayed plane** or **Pick label**, as appropriate. Check **Label value**, **Brush size**, **Edit dimensions**, **Preserve other labels** and **Fill connected region only** before drawing.
### Inspect before saving [#inspect-before-saving]
A stroke is submitted on release. For a Labels polygon, use **Finish polygon** or Enter; Escape cancels the unsent preview. Use **Undo label edit** or **Redo label edit** to review the private session's edits, then [save the intended layer revision](/docs/save-and-export/).

**Expected result:** the private view reflects the edit, followed by a separately confirmed saved revision when you save. Drawing successfully is not a save receipt.

## Work with Points or Shapes [#work-with-points-or-shapes]

Choose an existing editable **Annotation layer**, then its **Annotation mode**. Points support adding and selecting. Shapes offer the modes appropriate to that layer, such as rectangle, ellipse, line, path, polyline, polygon/lasso and vertex editing.

Follow that mode's displayed finish/cancel controls. Shape paths can commit points incrementally; do not assume they share the Labels polygon's unsent-preview behavior. Shift can constrain aspect ratio. **Undo annotation edit** and **Redo annotation edit** belong to the private edit history.

The layer selector does not automatically create a new Points or Shapes layer. Use an available tool or scientific workflow that supplies the required editable layer.

## Limits and recovery [#limits-and-recovery]

Editing support depends on the layer and prepared integration. Whole editable-layer admission currently has a 512 MiB aggregate bound; larger regional Labels edits have separate per-edit and pending-change bounds. Seeing a volume does not promise unrestricted whole-volume painting.

If a request fails or the session/layer changes, stop and recheck the selected layer before trying again. Keep the original retained revision. Use the scientific **Save** section for persistence; a Project note, remembered window arrangement or view PNG does not retain modified label values.

After saving, [measure the accepted Labels](/docs/measurements-and-tables/) or [export native data](/docs/save-and-export/).
