Main Swathed Window


Introduction

This window is the main portal for visualization of the bathymetric data.  Swathed can be run with this window alone in it's most basic form (called line mode, or stand-alone mode).  This allows for editing of bathymetry, however, one cannot readily compare soundings from one line to another, i.e. the cleaning goes on without the context of the neighbouring lines.

Top...


Running Swathed

Swathed is run from the command line:

	swathed merged/JD248/*.merged

Command line options include:

Geographic Mode Options
	-image mapsheet.sun_315 (any type of 8-bit mapsheet can be used)
		Loads an 8-bit mapsheet and allows swathediting in geographic mode
	-locate mapsheet.r4
		Loads floating point mapsheet and allows swathediting in geographic mode
	-target targetlistfile
		Plots lat/long target positions in the geographic window.
		File is ascii latitude and longitude, in decimal degrees
	-tlabels 
		Plots lat/long target positions and names in the geographic window.
		File (specified by -target) is in the following format:
			target_name latitude_degrees latitude_minutes longitude_degrees longitude_minutes
	-boxes boxlistfile
		Plots boxes in geographic window.  Box list file is in following format
			latitude_degrees latitude_minutes longitude_degrees longitude_minutes

Display Options
	-detrend
		Displays detrended depths by default
	-hardcov 4
		Forces across track viewable coverage in multiples of waterdepth
	-colrange 140 240
		Forces colour range in toolbox, applied to geographic window and to backscatter window	

Filters
	-Allowed 70.0 230.0
		Sets minimum and maximum allowed depths, which are used as a prefilter when loading raw soundings
	-auto
		Enables the automatic filtering toolkit
	-autoparam autoparamfilename
		Loads parameters for the automatic filtering toolkit

Toolkit Options
	-refco
		Load the Refraction Coefficient toolkit by default
	-ts
		Load the TimeSeries toolkit by default
	-invert_heave_sign
		Invert heave sign for the Patch Test Toolkit
	-season 1994
		Accounts for changes to Kongsberg data formats for the backscatter toolkit
	-pixel 0.1
		Set the pixel size for the sidescan toolkit
	-useproc|-calcref
		Processes depths with refraction coefficients generated in the Refraction Toolkit
		and displays these as processed depths in the 2D Toolkit

Misc
	-jevent
		Print verbose debugging information for handing X events
	-list_changes
		Lists changes to sounding status for a .merged file in a text file with the extension .SE_changes
	-nmap
		Loads large DTMs into paged memory instead of RAM.  Old option for SGIs, not necessary anymore?
	-v
		Verbose information on command line (which is quite verbose anyway...)
	-omglist ../../whereverpath/line_list
		Allows for lists of files to edit instead of specifying them on the command line
		...not sure if this works

File types
	-hdcs
		Specifies a USL HDCS file

God only knows what these do...JHC might also
	-edtest
	-class
	-random
	

Top...


Graphical Interface

The main swathed interface appears in the image below, with the table on the right giving the names of the subwindows as used in this document. Descriptions of each subwindow follow, along with documentation of mouse interaction.
Main window
BUTTON BAR

AMPLITUDE
WINDOW
 

RAW PROFILES
WINDOW
 

BEAM PROFILES
WINDOW
 

SWATH PROFILES
WINDOW
 

ATTITUDE
WINDOW
 

BACKSCATTER
WINDOW
 
FILE LOCATION BAR

Button Bar

The button bar presents launches other graphical tools and provides basic navigation within and between files. Some of the tools require manuals of their own, the listing below only provides a brief explanation of each.

Amplitude Window

The amplitude window is a plan view of the current 80 swaths. Soundings are plotted by across-track position on the x-axis and swath number on the y-axis. Red and blue indicate phase and amplitude bottom detections, respectively. Flagged soundings are coloured light blue.

LEFT MOUSE: flag soundings
MIDDLE MOUSE: no function, but somehow zooms the BEAM PROFILES window?
RIGHT MOUSE: unflag soundings

Raw Profiles Window

This window displays all of the soundings, whether they are flagged or not. The top half displays the swath profiles, whereas the bottom half displays the beam profiles.

LEFT MOUSE: unflag soundings
MIDDLE MOUSE: no function, but somehow zooms the SWATH PROFILES window?
RIGHT MOUSE: isolate single swath or beam profile (drawn in black in all profile windows).

Beam Profiles Window

Beam profiles are displayed, with time increasing left to right on the x-axis, and depth displayed on the y-axis. This is one of two main flagging/editing windows, the other being the swath profiles window. Information, such as the vessel speed and inter-ping period, are displayed in this window as well.

LEFT MOUSE: flag soundings
MIDDLE MOUSE: zoom in this window
RIGHT MOUSE: isolate single swath profile (drawn in black in the swath profile window).

Swath Profiles Window

Swath profiles are displayed with across-track distance on the x-axis and depth on the y-axis, with a healthy amount of vertical exageration. This is one of two main flagging/editing windows, the other being the beam profiles window. Depending on the usage of filters, other text information may be displayed in this window.

LEFT MOUSE: flag soundings
MIDDLE MOUSE: zoom in this window
RIGHT MOUSE: isolate single beam profile (drawn in black in the beam profile window).

Attitude Window

Displays heading, roll, pitch and heave on the same time axis (x-axis) as the beam profiles window above. Useful for quickly correlating motion related artifacts to motion sensor output. Displays the current beam (drawn in black in the beam profiles window), the current swath (drawn in black in the swath profiles window), and the depth associated with the selected sounding (swath and beam). The current file is also listed.

LEFT MOUSE: no function
MIDDLE MOUSE: no function
RIGHT MOUSE: no function

Backscatter Window

Plan view of beam-averaged backscatter, with across-track distance on the x-axis and swath number on the y-axis. Soundings can be flagged/unflagged in this window as well, with flagged soundings being displayed as light blue. The contrast can be adjusted by right and left clicking in the grey colourbar in the toolbox window.

LEFT MOUSE: flag soundings
MIDDLE MOUSE: zoom in this window
RIGHT MOUSE: unflag soundings

Top...


Keyboard Functions

Although one could in theory use swathed solely with the mouse, it is much more efficient to use the keyboard shortcuts. There are SEVERAL hotkeys available in this main window and it pays to learn them since they ease the arduous task of cleaning multibeam bathymetry.

I've grouped the hotkeys based on their function:

NOTE: All hotkeys are CASE-SENSITIVE!

File Navigation

KEY: spacebar
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Progress forwards by 80 swaths through the file currently being edited.

KEY: BackSpace
Applicable window(s): Window insensitive
Function: Progress backwards by 80 swaths through the file currently being edited.

KEY: Home
Applicable window(s): Window insensitive
Function: Go to first 80 swaths of file currently being edited.

KEY: End
Applicable window(s): Window insensitive
Function: Go to last 80 swaths of file currently being edited.

KEY: n (next line)
Applicable window(s): SWATH PROFILES
Function: Go to next survey line if multiple lines of data are being cleaned.

KEY: N (previous line)
Applicable window(s): SWATH PROFILES
Function: Go to previous survey line if multiple lines of data are being cleaned.

KEY: x (exit)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Exit swathed

Swath Navigation

KEY: Left/Right arrows
Applicable window(s): SWATH PROFILES, SWATH PROFILES RAW
Function: Isolate individual swaths of data, updating list window and sidescan window. Note position of light blue cursor in sidescan window and position of yellow cursor in phase amplitude window. This feature is particularly useful in isolating a single trouble-some swath and/or beam and then flagging them with the use of the s key or by toggling between all/selected with the a key.

KEY: Left/Right arrows
Applicable window(s): BEAM PROFILES, BEAM PROFILES RAW, PHASE-AMPLITUDE
Function: Isolate individual beams along-track. Note position of light blue cursor in sidescan window and position of yellow cursor in phase amplitude window. This feature is particularly useful in isolating a single trouble-some swath and/or beam and then flagging them with the use of the s key or by toggling between all/selected with the a key.

KEY: Up/Down arrows
Applicable window(s): PHASE-AMPLITUDE
Function: Isolate individual beams. Note position of light blue cursor in sidescan window and position of yellow cursor in phase amplitude window. This feature is particularly useful in isolating a single trouble-some swath and/or beam and then flagging them with the use of the s key or by toggling between all/selected with the a key.

View

KEY: spacebar
Applicable window(s): PHASE_AMPLITUDE, BACKSCATTER, ATTITUDE, SWATH PROFILES RAW, BEAM PROFILES RAW
Function: Toggle visibility of phase/amplitude, backscatter, attitude and raw sounding windows. Useful when working on slower machines or over a network since it speeds up the refreshing of the windows when advancing through the file.

KEY: +/-
Applicable window(s): SWATH PROFILES, SWATH PROFILES RAW, PHASE-AMPLITUDE
Function: Increases/Decreases across-track coverage.

KEY: Up/Down arrows
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: "Zoom" depths in editing windows. Note that direction of scaling is dependent on where the cursor is in the window, e.g. if in the upper portion of the window, then the up arrow zooms out the upper portion while the down arrow zooms in the upper portion. The opposite is true in the lower half of the window.

KEY: d (detrend)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Fits a plane to the current set of 80 swaths and then displays soundings as residuals from this plane. Note that bizarre results may occur in areas of highly variable topography.

KEY: r (rescale)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Rescales the soundings in the editing windows. Useful after flagging outliers.

KEY: a (attitude)
Applicable window(s): ATTITUDE
Function: Loads full attitude time series into attitude window.

KEY: v (variance)
Applicable window(s): SWATH PROFILES
Function: Display mean surface (yellow), along with standard deviation (blue) and multiples thereof (yellow and black).

KEY: k (QMS norm)
Applicable window(s): SWATH PROFILES
Function: Display QMS norm, as requested by Rijkswaterstaat.

KEY: period
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Toggles viewing of soundings between swaths, swaths and soundings, or just soundings

KEY: c (cycle)
Applicable window(s): SWATH PROFILES
Function: Cycle between viewing depth lines, depth and range lines, or just range lines. Range lines can help identify systematic mistracking due to sidelobe interference.

KEY: i (intensity) .... WARNING! This feature is currently malfunctioning
Applicable window(s): SWATH PROFILES
Function: Toggles between beam depths and beam intensities (reflectivities) in the swath profile window.  Note that the across-track component is dependent on beam number and not actual across track distance and may have to be adjusted via the +/- keys.  This is a useful feature when false soundings are characterized by lower than normal backscatter values.  Care must be taken not to OVERLY CLEAN noisy data in intensity mode since backscatter, by nature, is very noisy...i.e. slight outliers in backscatter DO NOT NECESSARILY CORRESPOND TO OUTLIERS IN BATHYMETRY.

KEY: c (cycle)
Applicable window(s): BACKSCATTER
Function: Cycles through types of displayable data in the backscatter window, the variations being corrected & raw beam-averaged intensities, and crude sun-illumination of the data in the across and along track directions.

KEY: M (show median)
Applicable window(s): SWATH PROFILES
Function: Shows the median depths, as computed for the median filter.

Editing

KEY: u (undo)
Applicable window(s): SWATH PROFILES, BEAM PROFILES, SWATH PROFILES RAW, BEAM PROFILES RAW, PHASE-AMPLITUDE, BACKSCATTER
Function: Undo's the last edits in the current set of swaths.  You can undo flagging AND unflagging, i.e. it is applicable in both  the raw and edited profiles.  You can undo up to 8 times.

KEY: U (unflag)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Unflags all soundings in current set of swaths. Note that this is NOT an undo function since it removes all flags, not those that were most recently applied.

KEY: 1
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Flag all port soundings of currently selected swath (see use of arrow keys).

KEY: 2
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Flag all starboard soundings of currently selected swath (see use of arrow keys).

KEY: a (all)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Toggle between ALL and SELECTED editing modes. 'All' mode flags all of the soundings that are selected with the mouse, whereas 'Selected' mode only flags soundings in the currently isolated swath, or beam track (these being selected with the right/left keys).

KEY: s (swath)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Flag the current swath profile or beam profile (see arrow keys).

KEY: T (toggle between normal and inverted flagging)
Applicable window(s): Window insensitive
Function: Changes effect of lassoing soundings, default is to flag those inside the lasso, inverted is to flag those outside the lasso. Usually used when the majority of the data is garbage and it would be easier to lasso the data you actually want to preserve.

KEY: t (total annihilation)
Applicable window(s): SWATH PROFILES, BEAM PROFILES
Function: Flag all soundings in the current set of 80 swaths.

Filters

KEY: f (fluff)
Applicable window(s): SWATH PROFILES, BEAM PROFILES, SWATH PROFILES RAW, BEAM PROFILES RAW, PHASE-AMPLITUDE, BACKSCATTER
Function: Once a detrend has been applied, this key will remove "fluff", i.e. noisy data that are at least a minimum number of standard deviations above the mean surface (default is 3, can be toggled with F1, F2, F3 keys).

KEY: P (Pre-fluff)
Applicable window(s): SWATH PROFILES, BEAM PROFILES, SWATH PROFILES RAW, BEAM PROFILES RAW, PHASE-AMPLITUDE, BACKSCATTER
Function: This will enable "pre-fluffing", which will apply the defluffing filter in advance as you progress through the file.

KEY: F
Applicable window(s): Window insensitive
Function: Modifies the behaviour of the fluff filter. The fluff filter flags data outside a number of standard deviations about the mean of each beam. The default behaviour is to use each beam's standard deviation as the filter. The second mode, toggled through the F key, is to use the standard deviation of all the soundings as the filter. This is more aggressive on beams that are persistently noisy, however, it also opens up the filter for beams that have low variance. The effect is best observed by toggling the F key and observing the blue lines in the swath profiles window.

KEY: F1 (use 1 standard deviation in fluffing filter)
Applicable window(s): Window insensitive
Function: Sets the fluffing cutoff to 1 standard deviation (WATCHOUT!!!)

KEY: F2 (use 2 standard deviation in fluffing filter)
Applicable window(s): Window insensitive
Function: Sets the fluffing cutoff to 2 standard deviations

KEY: F3 (use 3 standard deviation in fluffing filter)
Applicable window(s): Window insensitive
Function: Sets the fluffing cutoff to 3 standard deviation

KEY: G (grab current view limits as shoallest and deepest allowed filters)
Applicable window(s): SWATH PROFILES
Function: Depending if mouse is in top or bottom half, it will grab the min or max depth value in the viewing window as a shoallest or deepest allowed filter, to be applied upon the loading of the next 80 swaths.

KEY: 0 (zero the shoallest/deepest allowed)
Applicable window(s): SWATH PROFILES
Function: Disables the shoallest/deepest allowed filters, mouse must be in top or bottom half of swath profiles window to disable the shoallest or deepest allowed value, respectively.

KEY: PageUp (Increase the shoallest or deepest allowed)
Applicable window(s): SWATH PROFILES
Function: Depending if mouse is in top or bottom half, it will increase the shoallest or deepest allowed filter, to be applied upon the loading of the next 80 swaths.

KEY: PageDown (Decrease the shoallest or deepest allowed)
Applicable window(s): SWATH PROFILES
Function: Depending if mouse is in top or bottom half, it will decrease the shoallest or deepest allowed filter, to be applied upon the loading of the next 80 swaths.

KEY: H (toggles terrain hugging of depth filters)
Applicable window(s): Window insensitive
Function: Allows the shoallest or deepest allowed filters to change with trends in terrain so that they can be made very tight, but will attempt to adjust from one 80 swath set to the next, depending on the seafloor trend found in the most recently cleaned 80 swath set.

KEY: p (ponded sediments)
Applicable window(s): SWATH PROFILES
Function: Filters flat ponded sediments on a swath-by-swath basis, but leaves topography to either side of the sediment pond untouched. Filter aggression is controlled through F1, F2, and F3, which sets the number of standard deviations to filter by. The filter works by computing the hypsometric curve for the current set of 80 swaths and finding the modal depth (depth which has the maximum count of soundings). Working under the assumption that the ponded sediment depth will correspond to the modal depth, each swath is visited and the portion which corresponds to the sediment pond is found. Once found, soundings within the ponded section are filtered based on a number of standard deviations away from the modal depth. Soundings from outside the ponded sediment area but below the modal depth are filtered as well.

KEY: [
Applicable window(s): SWATH PROFILES
Function: Indicates to the ponded sediment filter which side of the swath the variable terrain is on, in this case, to port

KEY: ]
Applicable window(s): SWATH PROFILES
Function: Indicates to the ponded sediment filter which side of the swath the variable terrain is on, in this case, to starboard

KEY: m (median filter)
Applicable window(s): SWATH PROFILES
Function: Applies a median filter to soundings. The median is computed for a nxn patch of soundings and soundings are rejected based on whether or not they fall within a user-specified percentage of water depth from the median depth. Note that the median filter can be used in conjunction with the detrend function. The function cheats by binning soundings based on their beam number, not across-track offset, so that this function will produce bizarre results for systems that are NOT roll stabilized.

KEY: % (percent water depth)
Applicable window(s): SWATH PROFILES
Function: Changes the percentage water depth threshold used by the median filter in increments of 0.5%. Valid range is from 0.5% (WATCHOUT!) to 5.0%.

KEY: <,>
Applicable window(s): SWATH PROFILES
Function: Changes the size of the median filter, ranging from 2x2 to 10x10. The M key can be used to observe the effect of changing the filter size.

Top...


This page written and maintained by J. Beaudoin, last modified January 2nd, 2007