Histogram & Gap-Filling Tools (sidescan/hist)
The hist directory (code/sidescan/hist/) contains utilities for radiometric histogram equalization and across/along-track invalid pixel interpolation in JCU GLORIA (.ss) and EM-12 look-alike sidescan records.
Available Tools & Files
glhistâ Performs Chavez-style histogram equalization on JCU GLORIA / EM-12 sidescan files, mapping the cumulative input DN distribution onto a target Gaussian or uniform distribution while excluding invalid/background pixels (-invalid).glfillâ Interpolates across-track gaps of invalid pixels (such as nadir gaps or missing samples Resulting from slant-range stretching or multibeam backscatter rebinning) in GLORIA.ssscanlines.glfudgeâ Performs 2D (across-track and along-track) interpolation of missing or zeroed pixels in JCU GLORIA.ssfiles using surrounding valid scanline neighbors.glfill.c_bugâ Preserved October 1991 revision ofglfill.c(-invalid,-lower_level) prior to across-track edge boundary fixes.glhist_pre_steve0531.câ Earlier baseline implementation ofglhist.cprior to May 31 updates by S. Hughes / J. Hughes Clarke.glfudge.oâ Compiled object module forglfudge.makefileâ Build rules forglhist,glfill, andglfudge.
Typical Workflow
When processing Simrad EM-12 or multibeam backscatter cast into GLORIA .ss format (e.g., via swathed / jview), invalid sample gaps are first bridged with glfill or glfudge, and dynamic range is equalized with glhist prior to mosaicking with mapmos.