百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

GDSR-DCTNet

> 编程语言
开源

[CVPR 2022 口头报告] "用于引导深度图超分辨率的离散余弦变换网络"的官方实现

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

[CVPR 2022 口头报告] "用于引导深度图超分辨率的离散余弦变换网络"的官方实现

DCTNet

Codes for Discrete Cosine Transform Network for Guided Depth Map Super-Resolution (CVPR 2022 Oral)

Zixiang Zhao, Jiangshe Zhang, Shuang Xu, Zudi Lin and Hanspeter Pfister.

-[Paper]
-[ArXiv]
-[Supplementary Materials]

Citation

@InProceedings{Zhao_2022_CVPR,
    author    = {Zhao, Zixiang and Zhang, Jiangshe and Xu, Shuang and Lin, Zudi and Pfister, Hanspeter},
    title     = {Discrete Cosine Transform Network for Guided Depth Map Super-Resolution},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2022},
    pages     = {5697-5707}
}

Abstract

Guided depth super-resolution (GDSR) is an essential topic in multi-modal image processing, which reconstructs high-resolution (HR) depth maps from low-resolution ones collected with suboptimal conditions with the help of HR RGB images of the same scene. To solve the challenges in interpreting the working mechanism, extracting cross-modal features and RGB texture over-transferred, we propose a novel Discrete Cosine Transform Network (DCTNet) to alleviate the problems from three aspects. First, the Discrete Cosine Transform (DCT) module reconstructs the multi-channel HR depth features by using DCT to solve the channel-wise optimization problem derived from the image domain. Second, we introduce a semi-coupled feature extraction module that uses shared convolutional kernels to extract common information and private kernels to extract modality-specific information. Third, we employ an edge attention mechanism to highlight the contours informative for guided upsampling. Extensive quantitative and qualitative evaluations demonstrate the effectiveness of our DCTNet, which outperforms previous state-of-the-art methods with a relatively small number of parameters.

Usage

Network Architecture

Our DCTNet is implemented in model.py.

Training

Pretrained model is available in './models/DCTNet_4X.model', './models/DCTNet_8X.model', './models/DCTNet_16X.model' and './models/DCTNet_RealScene.model', which are responsible for the tasks of upsampling factors of 4, 8, and 16, and the RGBDD real-world branch task. We train it on NYU v2 (1000 image pairs). In the training phase, all images are resize to 256x256.

If you want to re-train this net, you need to download the original dataset at NYU V2, then use the same preprocessing as DKN and FDSR to get a training set like ./data/NYU_Train_imgsize_256_scale_4.h5(because the size of this dataset is 10+GB, we cannot upload it). Subsequently, you should run 'train.py' to retrain.

Testing

The test images used in the paper have been stored in './RawDatasets/Middlebury', './RawDatasets/NYUDepthv2_Test', './RawDatasets/Lu', './RawDatasets/RGBDD' and './RawDatasets/RGBDD_Test_Realscene', respectively.

The test data set can be downloaded at NYU v2, Middlebury, Lu and RGBDD.

Unfortunately, since the size of NYU v2 dataset is 600+MB and that of RGBDD in real-world branch is 100+MB, we only upload three image pairs from these two datasets respectively to prove the correctness of our codes. The other datasets contain all the test images.

If you want to inference with our DCTNet and obtain the RMSE results in our paper, please run 'processing_testsets.py' and get the the processed test set in './DatasetsAfterProcessing/'. Then run 'test.py' to test our method.

If you use the complete test datasets, the testing results will be printed in the terminal:

…

The above output represents the results of DCTNet in Tab. 2 and Tab. 3 in our paper. The first four parts correspond to the results of the four testsets in Tab. 2, and the last two parts show the RMSE values of DCTNet and DCTNet* in Tab. 3.

Issues· 9 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythondepth-superresolutionimage-processingmulti-modalsuper-resolution

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言