Paper | Project Page | Video
Alexandre Chapiro Dongyeon Kim, Yuta Asano, and Rafał K. Mantiuk
Source code for the SIGGRAPH Asia 2024 paper titled "AR-DAVID: Augmented Reality Display Artifact Video Dataset"
Create anaconda environment. Our code has been implemented and tested on Windows.
conda create -n ardavid python=3.10
conda activate ardavid
Add the cvvdp module as a Git submodule:
git submodule add https://github.com/gfxdisp/ColorVideoVDP.git
Follow the installation instructions provided in the ColorVideoVDP repository.
Make sure to install any dependencies and build requirements mentioned there.
Download the dataset from the following link:
You have two options:
-
Move the dataset to:
datasets/AR-DAVID
-
OR, optionally create a symbolic link to the dataset directory:
On Linux/macOS:
ln -s /path/to/AR-DAVID datasets/AR-DAVID
Install the required Python additional libraries.
-
Different optical blending methods
python run_metric.py --metric=cvvdp --fusion-method={fusion_method}
Fusion_method can be
none
,mean
,pinhole
,pinhole-stereo
,blur
,blur-stereo
. -
Background discounting
python run_metric.py --metric=cvvdp --fusion-method={fusion_method} --discount_factor={d}
The value for d can be in a range from 0 to 1.
-
For debugging
python run_metric.py --metric=dm-preview --fusion-method={fusion_method} --discount_factor={d}
This mode will save the processed videos in
dataset/AR-DAVID-{additional_method}/preview/
.
This is a simple MATLAB example demonstrating how to generate some of the figures in the main paper.
-
analysis/plot_across_backgrounds.m
: A script that generates the scaled quality per scene. Colors represent the distortion type, while line styles indicate the strength of the distortion levels. -
analysis/plot_scatter_backgrounds.m
: A script that generates a scatter plot for each optical blending method. Colors represent background luminance levels, and markers indicate the background type.
-
Open MATLAB.
-
Navigate to the folder using the command window or
cd
:cd path/to/this/folder/analysis
-
Run the script:
plot_across_backgrounds plot_scatter_backgrounds
@article{chapiro2024ar,
title={AR-DAVID: Augmented Reality Display Artifact Video Dataset},
author={Chapiro, Alexandre and Kim, Dongyeon and Asano, Yuta and Mantiuk, Rafa{\l} K},
journal={ACM Transactions on Graphics (TOG)},
volume={43},
number={6},
articleno={186},
pages={1--11},
year={2024},
publisher={ACM New York, NY, USA}
}
If you have any questions, please contact
- Dongyeon Kim (dk721@cam.ac.uk)
- Rafal Mantiuk (rafal.mantiuk@cl.cam.ac.uk)