Two-Parameter CFAR Ship Detection Algorithm Based on Rayleigh Distribution in SAR Images
It is available on paperswithcode.com.
SAR image targets detection is one of the main needs of radar image interpretation applications. In this project, an improved two-parameter CFAR algorithm based on Rayleigh distribution and morphological processing is proposed to perform ship detection and recognition in high resolution SAR images. In this project, I will provide a few simple template codes to help beginners understand and learn related theories and algorithms. They are not only suitable for simple experiments, but also suitable for later expansion.
Warning
This repository is a modular code based on constant false alarm rate (CFAR) and mathematical morphology (MM) algorithm, which is NOT a complete fully automated detection program.
Note
The main code can be run directly, but the parameters must be adjusted according to the input SAR image to implement the detection correctly. The code is mainly used to study the basic theory and logic of the algorithms. In particular, you are encouraged to optimize and develop it based on it, or incorporate it into the AI to achieve automated target detection.
Hope it helps you! ¡Ahora vamos!
CFAR is a pixel-level target detection algorithm. For targets such as vehicles, ships, and aircrafts, they are generally required to have a strong contrast to the background clutter. Target detection is achieved by judging whether the gray value of each pixel exceeds a certain preset value. In this case, the detection threshold is generally related to the false alarm rate, the statistical model of the background clutter around the target and the CFAR detector.
In general, the CFAR detection algorithm consists of importing a SAR image and discerning each pixel in the entire image. Determine the background distribution of the clutter based on the SAR image and then estimate the distribution parameters of the clutter pixels in the sliding window. In the case of a given false alarm probability, the CFAR threshold is resolved and compared with the corresponding pixel value to obtain the pixel detection result. This process will work with all the pixels in the input SAR image, eventually traversing the entire image to get the detection result.
MM is a technique for the analysis and treatment of geometric structures, based on set theory, lattice theory, topology and random functions. It not only applies to digital images, but can be used for graphics, polygon meshes, solids, and many other spatial structures.
For the filtered SAR image, a simple erosion operation can remove small nonsensical objects and speckle noises with independent high brightness that is erroneously judged as the target pixel in the image. And the dilation operation can fill the black hole caused by the low value speckle noises in the target area, and it can also fill in the missing target pixels and connect the adjacent unconnected target area pixels.
China Center for Resources Satellite Data and Application, Copernicus Open Access Hub - Gaofen-3 & Sentinel-1
GitHub Rep: CAESAR-Radi/SAR-Ship-Dataset
Folder Raw images
--- Some slices of SAR images are provided to perform ship detection. It also contains target information, which is in the XLM file.
CFAR_ship_detection
--- Algorithm code, which has a detailed explanation.
Rayleigh_distribution
--- Plot the probability density of the Rayleigh distribution.
Target_mark
--- A simple target box code that can be used to study marking the target.
Citation:
@article{wu2021cfar,
title={Two-Parameter CFAR Ship Detection Algorithm Based on Rayleigh Distribution in SAR Images},
author={Wu, Ruochen},
year={2021},
number={2021120280},
journal={Preprints},
issn={2310-287X},
url={https://doi.org/10.20944/preprints202112.0280.v1},
doi={10.20944/preprints202112.0280.v1},
}
DETECCIÓN Y RECONOCIMIENTO DE BLANCOS BASADOS EN IMÁGENES SAR (Spainsh Version)
http://hdl.handle.net/10251/166986 (Trabajo Fin de Máster - Universitat Politècnica de València)
Wu, R. (2021). Detección y reconocimiento de blancos basados en imágenes SAR. Universitat Politècnica de València. HANDLE: 10251/166986
Citation:
@masterthesis{wu2021sar,
title={Detección y reconocimiento de blancos basados en imágenes SAR},
author={Wu, Ruochen},
year=2021,
month={May},
address={València, Spain},
note={Available at \url{http://hdl.handle.net/10251/166986}},
school={Universitat Politècnica de València},
type= {Master's thesis}
}