Completed NKT internship project · Jan – Jun 2026
Sonar Denoising
A sonar image denoising pipeline and method benchmark developed during my machine learning internship at NKT.
- Python
- OpenCV
- scikit-image
- scikit-learn
- PyTorch
≈36%lower average Speckle Index with a classical filter in the internship evaluation
The problem
During my machine learning internship at NKT, I compared methods for reducing speckle in sonar images while preserving structures needed for inspection. My ongoing master’s thesis investigates surface defect detection.
Technical approach
The reproducible Python workflow converts inputs to grayscale and extracts overlapping 256 × 256 patches. It standardizes intensity, Sobel edge, and GLCM texture features for K-means clustering. The comparison includes adaptive classical filters, K-SVD-style and mini-batch dictionary learning, and a self-supervised masked U-Net. Overlap blending reconstructs the outputs for full-image and tile-based evaluation of noise reduction and structure preservation.
- Grayscale sonar images
- Overlapping patches and features
- Classical and learned denoisers
- Blended image reconstruction
- Speckle and structure evaluation
My contribution
I developed the image-processing and benchmarking workflow, contributed original-image speckle summaries, prototype structure and contrast checks, and training logs, and presented method trade-offs and recommendations to NKT engineers. The notebooks were developed collaboratively. The internship strengthened my skills in reproducible preprocessing and comparative evaluation.
Results and evaluation
- The internship benchmark covered 22 industrial imaging datasets and nine classical and deep-learning methods. One classical filter reduced the average Speckle Index by approximately 36% in that evaluation.
- The notebooks compare reconstructed outputs using the tile-based Equivalent Number of Looks (ENL) and Speckle Index (SI).
- Across the 22 image folders in the archived ten-epoch run, median masked training MSE was 0.0886525 at epoch one and 0.0090045 at epoch ten. These are training measurements. The current notebook configures 30 epochs, and held-out denoising quality requires a separate evaluation.
Limitations
The public results are summary figures. Source images, acquisition details, per-method scores, and reproducibility inputs remain with NKT. A held-out comparison with a structure-preservation measure would help distinguish speckle reduction from smoothing.