PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Extract scan lines (ExtractScanLines)

This is a command-line tool for extracting scan lines from B-mode images. The output frames only contain pixels along the input scan lines. The output images are rectangular, regardless of the input image geometry. Scan line parameters are read from ScanConversion element of the device set configuration file.

This is an example input image from SpineUltrasound-Lumbar-C5.mha (in PlusLibData/TestImages folder)

SpineUsOriginal.png

This is the corresponding output image after scan line extraction

SpineUsScanLines.png

Examples

ExtractScanLines
--config-file=SpineUltrasound-Lumbar-C5_config.xml
--input-seq-file=SpineUltrasound-Lumbar-C5.mha 
--output-seq-file=SpineUltrasound-Lumbar-C5_ScanLines.mha

Command-line parameters reference

  --config-file=opt  The filename for input config file.

  --help  Print this help

  --input-seq-file=opt  The filename for the input ultrasound sequence to
                         process.

  --output-seq-file=opt  The filename to write the processed sequence to.

  --verbose=opt  Verbose level (1=error only, 2=warning, 3=info,
                         4=debug, 5=trace)