// blog
Annotate Ultrasound Clips in the Browser: Outline, Follow, Fill, Teach
Open an ultrasound clip in our free DICOM viewer or on our annotation page and drag a box around a structure: an AI running in your browser outlines it. Follow then moves that outline with the picture through the clip and stops where the picture changes too much; Fill between keyframes fills the frames between two outlines. Frames you corrected never change. Save the outlines as DICOM SEG or COCO, or back to the PACS the clip came from. For teaching and research; nothing is uploaded.

An ultrasound clip of three seconds has about 90 frames. Outlining a structure on each of them by hand takes an afternoon. Our free DICOM viewer and our annotation page now do most of that for you, in the browser, with nothing uploaded.
Outline it once
Open the clip and press Outline. Drag a box around the structure and let go: an AI running in your browser (LiteMedSAM) traces its edge. Add or erase with the brush where it’s off, and pick a name from the common names for the body area the file says it shows.
Follow it through the clip
Press Forward or Back. Follow moves your outline with the picture, frame by frame: it measures how the picture moves, coarse to fine, and moves the outline along. At each step it matches the frame with your keyframe again, so small errors don’t add up. No AI and no download, about 0.2 seconds a frame.
It stops by itself when it isn’t sure: the picture under the outline no longer looks like your keyframe, or the structure faded, jumped or changed shape. It writes nothing on that frame and says why. Outline here with AI and go on outlines the structure on that frame and follows on. Frames it was less sure about turn amber on the timeline.
Stop stops it within about two seconds.
Two outlines: fill between them
Correct the last frame too, or any frame in between. Every frame you drew or corrected is a keyframe, and nothing ever overwrites it. With two keyframes, Fill between keyframes fills the frames between them.
We measured this on public pelvic floor clips with an expert’s outline on every frame (PFUS1, CC BY 4.0). One outline with Follow did better than leaving the outline still and better than a video tracking AI we tried, over all nine clips; on the five we kept aside for the end, leaving it still did slightly better. Two outlines with Fill came closest of all. So once there are two keyframes, Fill is the main button.
Teach with it
- A live class: in a live visit, ask the class to vote, or to outline something on the image. Answers go to the teacher only; when the teacher shows the answer, each student sees how much their outline overlaps.
- Share with the edges covered: the scan area is suggested, and guests get black around it. Text inside the scan area stays, so check every frame.
Save it where it belongs
- DICOM SEG, which a PACS and other viewers read.
- COCO JSON, which most training code reads, with each outline’s source: yours, followed or filled.
- Save to PACS, for a clip opened from a PACS: the outlines are added to the same study as a new series. Nothing there is changed.
- Correct these outlines: outlines saved before open with the images and can be taken up again. Saving makes a new series; the old one stays.
Clips stored as video
Some scanners store a clip as video inside the DICOM file. MPEG-2, H.264 and HEVC open, at any length: the video stays compressed and frames are decoded as you play. Firefox doesn’t decode HEVC frame by frame yet; use Chrome, Edge or Safari for those.
What it is not
It’s a technology demonstration for teaching and research, not a medical device, and the line above the image says so. It names nothing by itself and measures nothing. How it was built and tested: the ultrasound case study.
Frequently asked questions
Is the image sent to an AI company?
No. The outlining model (LiteMedSAM) runs in your browser, and Follow uses no AI at all. Nothing you open is uploaded.
What does Follow do when it loses the structure?
It stops on that frame, writes nothing there and says why: the picture no longer looks like your keyframe, or the structure faded, jumped or changed shape. Outline here with AI outlines it again on that frame and goes on.
Follow or Fill?
With one outline, Follow. With two outlines of the same structure, Fill between keyframes: on real clips with experts' outlines it came closest of everything we tried.
Which files open?
DICOM stills and clips, including DICOM files with MPEG-2, H.264 or HEVC video inside, from your computer or a PACS. The annotation page also takes PNG, JPEG, MP4, MOV, WebM and Motion-JPEG AVI.
Can I use it for diagnosis?
No. It is a technology demonstration for teaching and research, not a medical device. Check every outline.


































































































































