Go to the USGS Home Page

USGS MIPS Strips Processing Documentation






This is an XWindows application program that creates and executes a batch file for processing sidescan sonar images  through a sequence of programs within the USGS MIPS package. The processing sequence is meant to take a sidescan sonar image/strip whose navigation  file has been "cleaned up" and process it to the point where it can be used as input to SNRGEOM and then digitally mosaicked with other strips.

Batch files, such as the one generated by Strips, can also be created using a text editor; however, by using Strips the user is interactively guided step-by-step in the selection of files to be processed, programs to be run, program parameters, and specific batch file options. Once the required information is supplied by the user, Strips creates and executes a batch file for the selected image files. Once the selected images/files have been processed a new set of input images/files can easily be selected and processed using the same sequence and parameters set up during the initial pass. This interaction between the user and Strips not only allows a user to quickly and interactively create a batch file and start processing his/her data, but also allows various versions of the same sequence to be easily modified and executed (i.e., the various processing steps in the sequence are variable and easily turned on or off).

Processing in General

Within the USGS MIPS Sonar package and the Strips program there are two general image processing areas addressed. The two general categories of processing areas are radiometric and geometric corrections and are applied to sidescan sonar data to help obtain the most information possible. The radiometric processing involves shading corrections and noise removal procedures and deal with changing the Digital Number (DN ) assigned to a given pixel . The programs SNRSHADE and SHADE remove low frequency shading problems in the across-track direction. The noise removal procedure allows for the removal of speckle/high frequency noise that may appear in sonar images as either short horizontal lines or isolated pixels. The program DESTRIPE is used to remove either horizontal or vertical striping/banding that may be present.

The above combination of programs improves the overall appearance of a sidescan sonar image; in addition, the appearance of nadir can also be improved. The USGS MIPS Nadir Fix procedure was developed to subdue the blockiness and high contrast appearance of nadir relative to the rest of the sonar image. Also, if broad band striping exists at nadir, it can be minimized as well. Some or all of these radiometric corrections can be applied, but keep in mind that they do not neccessarily all need to be used on a given set of data.

The next main category of processing is geometric corrections; they are applied to sidescan sonar images to correct for geometric distortion in both the along- and across-track directions. When processing sonar images that will be geometrically projected and/or digitally mosaicked the program SLR2GR MUST be run (i.e., it is NOT optional). SLR2GR corrects for both the water column offset and slant range (across-track) geometry problems. To correct for the change in the ship's speed (along-track) and to adjust for any aspect ratio distortions between the along- and across-track directions the program DELTAV is used.

Input File Selection

The first step is to select the sonar image files that are to be processed; this must be done before a batch file can be created. The number of images/files to be processed can be from one to ten; during the initial set up phase it is best to use only one file. The images to be processed are selected using the "Select" button from the File pull-down menu, which shows a dialog box or window, allowing the user to specify/select the sonar image files to be processed. The selection of files can be accomplished in one of two ways: 1) the user can manually type in the filenames, or 2) the user can use the "Select" button to select sonar image filenames through the use of a file selection box (point and click, similar to how other USGS MIPS programs select files). The Strips procedure currently allows a maximum of 10 unsigned 8-bit  or signed 16-bit  sonar image files to be selected and processed at any one time.

The Strips processing procedure helps make both the program and parameter selection for the strip processing sequence more automatic and helps the user to interactively set up which programs/steps are to be included in the strip processing sequence for the given data set. Many of the required parameters for the individual programs are automatically selected for you based on the bit-type, number of samples, and pulse repetition rate of the first sidescan sonar image to be processed. The procedure sets up automatic defaults, which can be changed by the user and compares the first image/set of image information against that of the other sonar images to be processed later. Doing this ensures that all the images to be processed using the selected parameters and sequence have the same image characteristics (i.e., same number of samples, bit-type and pulse repetition rate;--- collected by the same instrument with the same settings).

The programs

The following programs and set of programs are currently available to be included or excluded from the Strips processing procedure. Each of these programs have two buttons that are side-by-side; the first is a toggle button and the second a push button.

The toggle button is used to select whether or not the given program will be part of the processing sequence. Clicking the button once will select/turn-on the given program (text on push button becomes unstipled) while clicking it a second time turns the selection off (i.e., text on push button becomes stipled and takes the program out of the processing sequence). The push button displays a dialog box that shows the selected default values for that given program and allows the user to select/enter different values for the given program.

In general, the strip processing results using the automatically selected defaults will be acceptable for the quick-look/off the ship processing, however, they will often also be acceptable for part of the final processing sequence. The main parameter that needs to be selected and can make the difference between a shipboard versus final mosaic is the spatial resolution of the ouptut image in the program SLR2GR. Currently, the default output resolution is chosen so that the output image has 1000 samples. If a higher resolution is desired the pixel resolution parameter needed by the program SLR2GR must be modified (i.e., do not keep the default value automatically selected for you; enter the desired value).

As indicated by the arrows (between programs) on the main Strips window, the order of these programs is important. Selecting the programs Snrshade and Shade means that the program Snrshade will be run before Shade; if Snrshade and Slr2gr are selected while Shade is not means that Snrshade will be run first and Slr2gr second, while skipping the program Shade altogether.

As noted earlier, the geometric corrections in the procedure should be applied to the sonar image before being geometrically projected and/or digitally mosaicked. Therefore, the default starting sequence includes the programs SLR2GR and DELTAV whenever a new file or set of files are selected.

Batch file options

The following options may be selected from the Options pull-down menu and can be used to customize the strips processing batch file created by Strips.

Creating and Executing the Batch File

Once the user has performed the following:

  * selected input image filenames

  * selected the programs to be included in the Strips 
    processing sequence

  * entered desired parameters for each program selected or 
    accepted the automatically selected default values

  * selected appropriate options
then the button labeled "Execute" can be used to tell Strips to create the batch file and start executing the individual programs on the selected input images. When this button is selected, the user is prompted to enter a name for the batch file to be created. Once entered, the batch file is created and submitted to the operating system as a batch file (it runs as a background process allowing the user to conduct other work). Note that once this batch file is created and executed, it physically exists in the directory from which Strips was run. The file can be visually inspected, printed out or executed at a later time. The batch filename extensions used by Strips are ".com" under the VMS operating system and ".csh" for UNIX.

If the user changes his or her mind and decides that they want to cancel the batch file already in execution, the following should be done to terminate the batch file:

for VMS

  - type in SHOW QUEUE

  - get the entry number for the batch file in execution

  - type in STOP/ENTRY=##

    where ## is the entry number obtained earlier
for UNIX

  - type in ps

  - get the PID (process ID) for the batch file in execution

  - type in kill ##

    where ## is the PID obtained earlier

Saving a Strips processing parameter file

Selecting the "Save params" button from the File pull-down menu allows the user to create a file that contains the options selected (programs chosen and parameters used for each program) for a particular Strips session. By saving this information to a params file, the user can rerun the exact same procedure at a later time without having to reselect all the options/parameters (to process a different set of images all that is required is that the image files to be processed be selected and the EXECUTE button pushed). If "Save params" is selected, the user is prompted for a filename in which to store this information (Strips automatically concatenates a ".params" extension to the filename entered here if one is not specified). NOTE that this file is not the batch file but is a file used specifically to set up programs and parameter information to be used in a future Strips session. This filename must be given during a different Strips session later to identify it as the file containing the desired processing sequence and parameter information (see next section).

Restoring a Strips processing parameter file

Selecting the "Restore params" button from the File pull-down menu allows the user to restore all the options and parameter information saved from a previous Strips session. Simply select the "Restore params" button, select the filename of the Strips processing parameter file previously saved (as identified in the section right above this one), select input filenames and execute the batch file. By default, the file selection box searches for files with a ".params" extension, if a file was previously saved with a different extension, the user must use the file selection box's filter option (i.e., changing the filter from "*.params" to "*.options" allows the user to select any file saved with the ".options" extension).

Exiting Strips

Clicking on the button labeled "Exit" from the File pull-down menu terminates the execution of Strips but does not affect the execution of the batch file already being executed (if any).

See Also

Deltav 
Destripe 
Dk2dk 
Filter 
Shade 
Slr2gr 
Snrshade 
Stencil 
U.S. Department of the Interior | U.S. Geological Survey | Jobs
Home | Search | Disclaimers & Privacy Web Rings
Send comments to webman@TerraWeb.wr.usgs.gov
URL:
Last Modified: Thu Oct 31 15:08:24 MST 2002
FirstGov: Your First Click to the U.S. Gov ernment