Skip to content

polimi-ispl/dhfr_interpretability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interpretability of High-Frequency SAR Residuals

Repository for the dataset and code associated with the paper "Interpretability of Deep High-Frequency Residuals: a Case Study on SAR Splicing Localization".
The repository is currently under development, so feel free to open an issue if you encounter any problems.

Teaser

Description

This project provides tools and data to analyze the interpretability of high-frequency residuals in deep learning models applied to manipulation localization in SAR (Synthetic Aperture Radar) images. It includes scripts for patch extraction, network models, data management utilities, and analysis notebooks.

Repository Structure

  • extract_dhfrs.py: Main script for high-frequency residual extraction.
  • isplutils/: Python modules for data management, neural networks, and patch extraction.
  • data/poc/: Examples of manipulated SAR images and reference masks.
  • weights/: Pre-trained model weights.
  • notebooks/: Jupyter notebooks for analysis and proof of concept.

Installation

To install dependencies, use the environment.yaml file:

conda env create -f environment.yaml
conda activate dhfr_interpretability

Usage

  1. Download the dataset from this link (coming soon!) and place it in the data/ directory.
  2. Extract patches and residuals with extract_dhfrs.py.
  3. Analyze results using the notebooks in notebooks/.
  4. Check the modules in isplutils/ for customization or extensions.

Proof Of Concept

A proof of concept is available in the notebooks/ directory, demonstrating the interpretability analysis on a sample SAR image showed in the paper.

About

Repository for the dataset and code for the paper "Interpretability of Deep High-Frequency Residuals: a Case Study on SAR Splicing Localization"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors