spinecontour Research use only Guide Download

Guide · Flags and comments

Flags and comments

There are two ways to write on a film. Flags are short labels you can filter, sort and export by, such as a project name, hardware or poor segmentation. A comment is a free-text note on the film's annotation, for the next reader or for whoever retrains the models on it. Flags were added in version 1.8.0 and comments in 1.2.0.

Which to use

FlagsComment
What it isShort labels, up to 20 per filmOne note per film, up to 2,000 characters
Where you set itThe Find list, the Find bar for many films at once, or the Analysis screenThe level editor, in edit mode
Filter and sort by itYes, from the FLAGS header and the Parameters tabNo, but the search box finds its text
In CSV exportsYes, a Flags columnNo
In bundlesYes, merged on importYes, inside the label record
In the label recordYes, as a copyYes

As a rule of thumb, use a flag for anything you will want to find, count or export by later. Use the comment to explain the annotation itself: why a level was placed where it was, or what makes the film unusual.

What a flag can be

  • 1 to 40 characters, and up to 20 flags per film. Longer text is refused, and the editor says 40 characters at most.
  • A comma, a semicolon or a line break ends a flag, so typing or pasting hardware, cement adds two flags.
  • A leading # is dropped: #hardware becomes hardware.
  • Capitals do not make a different flag. Hardware and hardware are the same flag. A flag you type that matches one already used in the library takes the library's spelling, so one flag never ends up with two.
  • A film keeps its flags in the order they were added, and every screen and file shows that order.
  • Flags are labels only. Nothing is hidden, skipped or left out of an export because of a flag. A film flagged poor segmentation is still exported unless you filter it out.

Keep identifiers out of flags

Flags are written into CSV exports, bundles and label records. Never use a patient's name, a medical record number or a date of birth as a flag.

Flagging one film

Find list · FLAGS column

Click the film's cell in the FLAGS column, the last in the list, or press Enter on it. Start typing, and the list underneath offers the flags already in use that match, then Create "…" for a new one.

Analysis screen · FLAGS block

Above the comment in the side panel. Click + Add flag to open the same editor. The block is hidden while you are editing the segmentation, so add flags before you press Edit or after Done.

  • Enter adds the highlighted suggestion. A comma or semicolon adds exactly what you typed, so hard, never turns into hardware.
  • × on a chip removes that flag. Backspace in an empty box removes the last one.
  • Your changes are saved when the editor closes: when you click elsewhere, press Tab, or press Enter in an empty box. Esc closes it and throws the changes away.
  • There is no undo once saved. To take a flag back, open the editor again and remove it.

A flag change never changes a film's status or its review mark. A segmentation run or batch does not stop you flagging.

Flagging many films at once

Tick the films on the Find tab, then press Flag N selected on the bar. A list opens with every flag in use and how many of the ticked films carry it:

The box showsMeaningClicking it
A tick, all 3Every ticked film has the flagRemoves it from all of them
A dash, 1 of 3Some of them have itAdds it to all of them
EmptyNone of them have itAdds it to all of them
  • Each click applies at once. Type a new flag and press Enter to add it to every ticked film.
  • It acts on the ticked films that are showing, the same films Delete would act on. The films are fixed when the list opens, so removing the flag the list is filtered by does not change which films you are working on.
  • A film that already has 20 flags is skipped, and a message says how many were.

Fixing a misspelt flag

There is no rename. Filter the list to the misspelt flag, tick every film, open Flag N selected, add the correct flag, then untick the misspelt one.

Finding films by flag

  • The FLAGS header menu lists every flag in use and No flags. Tick one or more, then choose Any ticked flag (the default) or Every ticked flag. The same menu sorts A to Z or Z to A.
  • It combines with the other columns' menus, so you can ask for cervical films flagged hardware that still need review. The search box also matches flags.
  • A ticked flag stays ticked after the last film loses it. The list then reads empty, rather than jumping back to the whole library.
  • On the Parameters tab, the flag dropdown (All flags, each flag, No flags) narrows the grid and both CSV exports. This is the quickest way to export one project's films.

Using a flag as a review queue

On the Analysis screen, the arrow keys and the Previous and Next buttons step through the Find list as it is filtered. That makes a flag a ready-made work queue:

  • Flag as you go. Put poor segmentation on films that need correcting as you come across them.
  • Filter to the flag in the FLAGS header and open the first film.
  • Correct it in the level editor, save, and remove the flag in the FLAGS block.
  • Press the right arrow for the next one. The queue ends on an empty list when every film is done.

Comments

Open a study and press Edit segmentation. The Comment box sits in the footer of the Vertebral levels panel, above the training-label status. There is one comment per film, not per level.

  • Up to 2,000 characters. The box can be dragged taller, and Ctrl+Z undoes typing as usual.
  • A changed comment counts as one unsaved change. Save edits writes it to the film's label record, and Discard returns it to the last saved text.
  • Outside edit mode the Analysis panel shows the saved comment, read-only, under Export CSV and Mark reviewed.
  • The Find search box matches comment text, so a word you use consistently in comments can be searched. There is no comment column.
  • A comment outlives a re-run and a change of region, because the label record stays. Deleting the study removes it.
Cage at L4–L5, screws L4–S1. S1 endplate partly
obscured by hardware; posterior corner placed by hand.

A useful comment says what someone looking at the annotation later could not tell from the film alone, such as hardware, a transitional vertebra, or why a level was marked not visible. See Editing segmentations for the rest of the level editor.

Where flags and comments end up

DestinationFlagsComment
Export CSVA Flags column after Note, joined with ; , empty when a film has noneNot included
Export paired CSVA <visit> flags column for each visitNot included
BundlesCarried with each film. An import adds incoming flags and never removes oneCarried in the label record. The newer annotation wins
Label recordA flags list, after commentcomment
  • A flag change rewrites only the flags list in a film's existing label record. Its save time and annotation are left alone, so flagging a film never makes it count as a newer annotation when a bundle is imported.
  • Flagging never creates a label record. A film with no record keeps its flags on the study until it gets one.

The details of each file are in Import and export.

Things to know

  • Older versions drop flags. Version 1.7.0 or earlier, opening a library from 1.8.0, removes its flags the next time it saves, and ignores flags in a bundle. Keep every computer on the same version.
  • Flags are locked while a bundle is being imported or exported, and during a bulk delete. The editor says Wait for the import to finish. or Wait for the export to finish.
  • Text left in a flag box is saved as a flag if the window loses focus, as a subject typed in place is.
  • An import never takes a film past 20 flags. It keeps the film's own flags first and drops the rest without a message.
  • Demo studies cannot be flagged.