Convert to Sweep

Algorithm wrapping multiple ways to create an UltrasoundSweep from one or multiple images.

In case a TrackingSequence is provided, it is added to the sweep as well.

Input

The algorithm requires a SharedImageSet with US modality. The SharedImgeSet can contain a 3D volume or a series of 2D images. A TrackingSequence can be optionally passed as input.

Output

An UltrasoundSweep with the images from the SharedImageSet and if set, the input TrackingSequence.

Description

The algorithm creates an UltrasoundSweep from the input. There are two main scenarios:

  • The SharedImageSet contains a 3D volume. It is sampled along the volume to produce the sweep. The TrackingSequence matrices come from each volume slice.

  • The SharedImageSet contains 2D frames. Each frame is taken as a frame in the sweep. The TrackingSequence matrices come from the optional input, or taken from the input volume slices if no TrackingSequence is passed in.

The algorithm controller has the follwing widgets:

  • Tracking sequence file: tracking sequence file path. Supported formats are ts, csv, txt.

../../_images/convert_to_sweep.png