plotSSclass
Description
plotSSclass is a command-line utility for generating 2D scatter plots (density plots) of sidescan classification parameters. It reads classification data (likely generated by classSS) and allows the user to select two spectral or amplitude parameters to plot against each other. The output is an r4 format image file, where the intensity of each pixel represents the density of data points falling within that parameter range. This is useful for visualizing the distribution and relationships between different seabed classification attributes.
Usage
plotSSclass [OPTIONS] <omg_classification_file(s)>
Arguments
| Option | Description | Default / Example |
|---|---|---|
-v | Enable verbose output. | |
-xrange <min> <max> | Defines the minimum and maximum values for the X-axis of the plot. | 0.0 40.0 |
-yrange <min> <max> | Defines the minimum and maximum values for the Y-axis of the plot. | 10.0 30.0 |
-xtoplot <index> | Selects which classification parameter to plot on the X-axis. Parameters are indexed from 0 to 7: 0: 12.8m wavelength amplitude 1: 6.4m wavelength amplitude 2: 3.2m wavelength amplitude 3: 1.6m wavelength amplitude 4: 0.8m wavelength amplitude 5: 0.4m wavelength amplitude 6: 0.2m wavelength amplitude 7: Mean amplitude | 2 (3.2m wavelength) |
-ytoplot <index> | Selects which classification parameter to plot on the Y-axis. Uses the same indexing as -xtoplot. | 4 (0.8m wavelength) |
-pixdimen <size> | Sets the pixel dimension (width and height) of the output r4 image. | 200 |
<omg_classification_file(s)> | Required. One or more input OMG sidescan classification files (e.g., generated by classSS). | my_sidescan.class |