Synthetic Aperture Radar (SAR) is the radar technology used by satellites to capture high resolution images of the Earth’s topography. It also has application in body imaging. One of the advantages of using radar over optical sensor is that it can capture images both during day and night-time. Another obstacle overcome by the radar is that it does not get blocked by cloud cover or other atmospheric artifacts such as smoke or smog that can affect the visibility of objects or land features in the satellite feed. However, one disadvantage of using ISRO’s RISAT satellite is that a high exponential noise is produced in the images which makes it extremely grainy leading to subsequent information loss. Thus, in this project I have proposed a state-of-the-art despeckling module which uses wavelet transform and Principal on Approximation Coefficients (POAC) algorithm to remove noise from SAR Images.
| Noisy or Speckled Images | Despeckled or denoised Images |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Create two Folders in the project Directory - "Input_Imgaes" and "Output Images". Put your full size tif format images in the "Input_Images" folder. Run the wavelet_poac_module.py file then your output will be produced in the "Output_Images" folder.
Often Times due to odd dimensions of images output may have one unit extra height and width. Thus this resize funtion will help to adjust the output image size before testing them for metrics. In the project directory create a "Resized_Images" folder and run the resize.py funtion.
Note you will have to add the size for the output in the script file, wherein a comment has been mentioned for the same.
Inorder to test input and output images in the "Metrics_Calculation" folder, create Two folder "Input" and "Output". Add the Noisy Images in the "Input" folder and the generated Despeckled Images in the Output folder, then via command prompt run "metrics_test.bat". A csv file for the metrics table will be generated in the "Output" folder.
Note: If you are running a low end system(<16GB RAM and <i7 processor) you can comment out the SSIM calculation in the "metrics.py" file as it is highly compute intensive and get the csv file for other metrics.
Source: https://github.com/L4TTiCe/Despeckler_FIS
If your dataset consists of images in .img format you can convert them to tif images before running the speckler supressor module. In the "IMG_2_TIF" folder place your .img files. Next create a folder called "out". Now run the "bin_tiff.py" file either in a code editor or command prompt and your converted tif files will be generated in the "out" folder.
Note- Inorder to use this function you will require GDAL to be installed on your system. Follow the link below for installation guide:
https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows
For the Reults we have used SAR Images:
Dataset Link - https://drive.google.com/drive/folders/10c5PnxnlY1ucj_SmMMcI_aNhXShaURto?usp=sharing
Inorder to comapre metrics generated from this module we have used traditional descpeckling filters from SNAP sentinel software(lee, forst and lee Sigma):
Installing PyTorch:
Installation Guide: https://pytorch.org/get-started/locally/
- PyTorch - for creating pipelines and performing operations on images:
- GDAL - to work across different image formats
- SNAP sentinel software - To view outputs and inferences
- Python - Script file used to generate metrics for evaluation and convert image formats
Note - The requirements file will work with only anaconda python environments.











