Large Images are Gaussians: High-Quality Large Image Representation with Levels of 2D Gaussian Splatting
This is the official code for https://arxiv.org/abs/2502.09039.
Clone this repository and install packages:
git clone [email protected]:HKU-MedAI/LIG.git
conda create -n lig python=3.10
pip install -r requirements.txt
cd gsplat2d/gsplat2d/cuda/csrc
mkdir third_party
cd third_party
git clone https://github.com/g-truc/glm.git
cd ../../../..
python setup.py build
python setup.py install
cd ..
conda activate lig
Download the DIV-HR data (Validation Data (HR images)) here.
The dataset folder is organized as follows.
├── dataset
│ | DIV2K_valid_HR
│ ├── 0801.png
│ ├── 0802.png
│ ├── ...
Run python train.py
to start training. The dataset and the parameters can be editted in the script. The metrics, representations, and the images will be saved.
The codebase is developed based on GaussianImage and gsplat.
If you find our work useful, please kindly cite as:
@article{zhu2025large,
title={Large Images are Gaussians: High-Quality Large Image Representation with Levels of 2D Gaussian Splatting},
author={Zhu, Lingting and Lin, Guying and Chen, Jinnan and Zhang, Xinjie and Jin, Zhenchao and Wang, Zhao and Yu, Lequan},
journal={arXiv preprint arXiv:2502.09039},
year={2025}
}