Installing Stradx on Intel Linux PCs

Downloading Stradx

You can download a binary executables of Stradx, StackSX and SelectSX now. These are Intel binaries for PCs running the Linux operating system. We have tested the Linux version of Stradx on PCs running Redhat 6.0 and above, though we can see no reason why Stradx should not be compatible with other current flavours of Linux.

You can review previously recorded 3D ultrasound data sets on any PC. If you wish to acquire ultrasound data as well, you will need a conventional 2D ultrasound machine and a video acquisition card that:

Alternatively, if you have access to the analogue RF ultrasound signals from an ultrasound machine, you can acquire freehand 3D RF ultrasound using a Gage digital input board.

If you wish to make quantitative measurements from the 3D ultrasound data, you will also need a supported position sensor.

Download Stradx, StackSX and SelectSX now.

Note that the binary will time-out every 6 months or so. When this happens, simply return to this website to download the latest release of Stradx. If you are interested in buying a license to use the source code of Stradx, please email Richard Prager.

Configuring your PC for Stradx

First of all, make sure you have enough memory in your machine. 64 MBytes is an absolute minimum memory requirement; we use 256 MBytes. If you wish to use Stradx's body registration facilities, make sure the file is installed in the same directory as the Stradx executable: you will also need to specify the full path of the Stradx executable when you run Stradx (ie. do not rely on symbolic links or your shell's search path), otherwise Stradx will not be able to find the file.

Stradx uses Motif for its user interface and OpenGL for its graphics, and therefore expects to be able to dynamically link against the relevant libraries, namely for Motif, and and for OpenGL. These come standard with all recent Linux distributions, though you may need to manually install the appropriate package for (eg. openmotif21-libs-2.1.30MLI4-124 on SuSE 9.3).

You may wish to set up a .stradxrc file in your home directory.

Setting up your PC for data acquisition

In order to record freehand 3D ultrasound data, you first need to connect the ultrasound machine to one of the video inputs on the PC's video acquisition card. You may also need a position sensor to record the position of the ultrasound probe during the scan. You can use Stradx without a position sensor, but the data will not be accurate enough for quantitative measurements. Stradx supports the MiniBird, LaserBird and Flock of Birds position sensors produced by Ascension Technology Corporation, the Fastrak or Patriot produced by Polhemus and the Polaris produced by Northern Digital. You should connect one of these sensors to one of the serial ports of the PC or, if your computer does not have old-style serial ports, to a USB port via a USB-serial converter. Make sure that all users have permission to read and write to the appropriate serial device (/dev/ttyS0 or /dev/ttyS1 for old-style serial ports, /dev/usb/ttyUSB0 or /dev/usb/ttyUSB1 for USB-serial converters). Remember which serial port you have chosen, as you will need this information to configure Stradx.

The Polaris optical sensor is the most accurate but also the most expensive. Both magnetic sensors appear to give similar accuracy but the Bird seems less affected by non-ferrous metals in the vicinity. Many users of the Bird mount the receiver directly on the body of the ultrasound probe. Users of the Fastrak generally use a rigid plastic mount to offset the receiver by about 4 inches from the probe.

Make sure you have correctly installed the appropriate `Video for Linux 2' driver for your video acquisition card. If you see the message QUERYCAP ioctl in construct_v4l2_buffer failed: Invalid argument, you either have a very old `Video for Linux 2' installation, or you're running `Video for Linux' instead of `Video for Linux 2'. Also, check that the appropriate kernel modules are loaded (or add appropriate entries to /etc/modules.conf or /etc/conf.modules to make the modules load automatically).

Command line arguments

The Linux version of Stradx takes the usual X-toolkit command line arguments plus three extra ones.

indicates the number of megabytes of memory that Stradx should allocate for its main recording buffer. If this number is too small, then you will not be able to store large data sets in memory. If it is too big, then the data will not fit in main memory and Stradx will run very slowly as it continually swaps to disk. Typically, you should set this flag to a little over half of the physical memory you have installed in your PC. The default value is 150 MBytes.

indicates the number of megabytes of memory that Stradx should leave free in addition to that being used by its recording buffer, the system and all the other processes at the time when it starts up. If this number is too small, then there will not be enough room for Stradx (and other processes) to allocate memory as they run. If this number is too big, then Stradx may complain that it cannot find enough memory for its recording buffer. The default value is 20 MBytes.

tells Stradx to create big clear, pause and record buttons for use with a touch screen. If you use a touch screen that uses a serial port, make sure that Stradx is not trying to use the same port to receive position information.