Skip to content

Official Implementation of the CVPR 2024 Paper: "Turb-Seg-Res: A Segment-then-Restore Pipeline for Dynamic Videos with Atmospheric Turbulence"

Notifications You must be signed in to change notification settings

EziamaUgonna/Turb-Seg-Res

 
 

Repository files navigation

【CVPR'2024🔥】Turb-Seg-Res: A Segment-then-Restore Pipeline for Dynamic Videos with Atmospheric Turbulence

Useful Links

Links Description
Website Demo Official project page with detailed information
GitHub Link to the GitHub repository
Paper Link to the CVPR 2024 paper
QuickTurbSim Repository for simulating atmospheric turbulence effects
DOST Dataset Dataset used in the project

Setup and Run

git clone https://github.com/Riponcs/Turb-Seg-Res.git
cd Turb-Seg-Res
pip install -r requirements.txt
python Demo.py

Contributions

  • High Focal Length Video Stabilization: Stabilizes videos captured by high focal length cameras, which are highly sensitive to vibrations.
  • Turbulence Video Simulation: Introduces a novel tilt-and-blur video simulator based on simplex noise for generating plausible turbulence effects with temporal coherence.
  • Unsupervised Motion Segmentation: Efficiently segments dynamic scenes affected by atmospheric turbulence, distinguishing between static and dynamic components.

Usage (Demo.py)

The main script for running the demo is Demo.py. It processes a set of input images, applies stabilization, and saves the output images.

python Demo.py

Configuration

The following configuration settings can be adjusted in Demo.py:

  • doStabilize: Enable or disable image stabilization.
  • ProcessNumberOfFrames: Number of frames to process from the input images.
  • resizeFactor: Factor to resize images.
  • MaxStb: Maximum allowed pixel shift for image stabilization.
  • path: Path to input images.
  • savePath: Path to save output images.

Additional Resources

  • QuickTurbSim: A repository for simulating atmospheric turbulence effects on images using 3D simplex noise and Gaussian blur.

Citation

If you find this work useful, please cite our CVPR 2024 paper:

@article{saha2024turb,
    title     = {Turb-Seg-Res: A Segment-then-Restore Pipeline for Dynamic Videos with Atmospheric Turbulence},
    author    = {Saha, Ripon Kumar and Qin, Dehao and Li, Nianyi and Ye, Jinwei and Jayasuriya, Suren},
    booktitle = {Proceedings of the IEEE/CVF conference on computer vision and pattern recognition},
    year      = {2024},
}

About

Official Implementation of the CVPR 2024 Paper: "Turb-Seg-Res: A Segment-then-Restore Pipeline for Dynamic Videos with Atmospheric Turbulence"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%