wdhudiekou / UMF-CMGR

[IJCAI2022 Oral] Unsupervised Misaligned Infrared and Visible Image Fusion via Cross-Modality Image Generation and Registration
MIT License
153 stars 17 forks source link

关于test_reg.py中的disp #16

Open 21120928 opened 1 year ago

21120928 commented 1 year ago

想请问下,这个里面的disp具体指的是什么?可以解答一下吗?

wdhudiekou commented 1 year ago

Thanks for your attention! disp是合成扭曲红外图像的变形场,在训练阶段,我们在线生成扭曲的红外图像时用到。

21120928 commented 1 year ago

感谢您的回复,比如我需要配准自己手头的一对红外和可见光数据,生成伪红外数据之后,是否也需要在test_reg里输入disp

wdhudiekou commented 1 year ago

可以不用输入disp,disp本身是不参与配准过程的,我只是为了可视化扭曲图像才使用它的.

fyang064 commented 1 year ago

可以不用输入disp,disp本身是不参与配准过程的,我只是为了可视化扭曲图像才使用它的.

I'm wondering if you could also provide the npy file like default='../dataset/raw/ctest/Road/disp', which seems like a required argument in the test_reg.py.

VogtW1999 commented 1 year ago

您好,我想请问一下disp应该用什么生成,或者说disp需要通过运行哪个文件来获得?还是说disp是不影响融合的部分,没有文件也不影响生成?

wdhudiekou commented 1 year ago

disp是合成扭曲红外图像的变形场,在训练阶段,我们在线生成扭曲的红外图像时用到,不影响融合部分

VogtW1999 commented 1 year ago

但在运行test_reg_fusion.py文件的时候一直报错,我是否可以考虑把disp部分删除? image

wdhudiekou commented 1 year ago

可以删除

18791375106 commented 1 year ago

Hi author, how do I save the disp.npy file for use in the test_reg.py file during the training phase if I want to use the disp visualization part?