Paper link: Seg-CycleGAN : SAR-to-optical image translation guided by a downstream task
Optical remote sensing and synthetic aperture radar (SAR) remote sensing are crucial for earth observation, offering complementary capabilities. While optical sensors provide high-quality images, they are limited by weather and lighting conditions. In contrast, SAR sensors can operate effectively under adverse conditions. This letter proposes a generative adversarial network (GAN)-based SAR-to-optical image translation method named Seg-CycleGAN, designed to enhance the accuracy of ship target translation by leveraging semantic information from a pretrained semantic segmentation model. Our method utilizes the downstream task of ship target semantic segmentation to guide the training of the image translation network, improving the quality of output optical-styled images. The potential of foundation-model-annotated datasets in SAR-to-optical translation tasks is revealed. This work suggests broader research and applications for downstream-task-guided frameworks.
| Method | mPA⬆ | mIoU ⬆ | FwIoU⬆ | FID⬇ |
|---|---|---|---|---|
| Seg-CycleGAN | 0.824 | 0.678 | 0.933 | 146.395 |
| CycleGAN | 0.802 | 0.661 | 0.924 | 159.319 |
| NICE-GAN | 0.681 | 0.573 | 0.930 | 153.703 |
| SteroGAN | 0.495 | 0.489 | 0.926 | 47.991 |
| PatchGCL | 0.500 | 0.479 | 0.923 | 135.757 |
| Ground Truth SAR | 0.734 | 0.652 | 0.898 | - |
This repository provides:
- the official code implementation of Seg-CycleGAN.
- the HRSID-DIOR dataset used in our research.
The HRSID-DIOR Dataset is used to support SAR-to-Optical image translation for ship targets.
This dataset is composed of 2 parts:
- DIOR-ship : 3202 samples containing ship targets from DIOR dataset further augmented and labeled with SAM.
- HRSID subset: 1031 inshore images and corresponding ship segmentation labels are selected and cropped.
Download the dataset through GoogleDrive.
See options/ for hyperparameter tuning, and see SegNet.py, cycle_gan_model.py in models/ for model structure.
pip install -r requirements.txt
conda env create -f environment.yml -n Seg-CycleGAN
python sar2opt_eval.py
python train.py
If you find our work useful in your research, please consider citing our paper:
@ARTICLE{10872937,
author={Zhang, Hannuo and Li, Huihui and Lin, Jiarui and Zhang, Yujie and Fan, Jianghua and Liu, Hang and Liu, Kun},
journal={IEEE Geoscience and Remote Sensing Letters},
title={Seg-CycleGAN: SAR-to-Optical Image Translation Guided by a Downstream Task},
year={2025},
volume={22},
number={},
pages={1-5},
keywords={Marine vehicles;Translation;Optical imaging;Optical sensors;Semantic segmentation;Training;Generators;Adaptive optics;Optical fiber networks;Radar polarimetry;Cycle-consistency;downstream-task-guided framework;semantic segmentation synthetic aperture radar (SAR)-to-optical image translation},
doi={10.1109/LGRS.2025.3538868}}This project is based on Cyclegan/Pix2pix. We thank the original authors for their excellent works.

