UnsupDIS-pytorch icon indicating copy to clipboard operation
UnsupDIS-pytorch copied to clipboard

Order of warping image and reference image

Open fcbfcb1998 opened this issue 1 year ago • 2 comments

Did you change the order of training and testing for UDIS-D(order of target image and warping image)? I found that the order of both coarse stitching and overlapping PSNR and SSIM are differnet from original implementation.

fcbfcb1998 avatar Mar 26 '23 04:03 fcbfcb1998

I have the same problem.

LiYQi avatar Mar 29 '23 07:03 LiYQi

Yes. In practical scenarios (e.g., two images captured by two cameras simultaneously), the warping order does not matter. We are merely used to warping left-image to right-image, not the other way around (in the original implementation).

If you want to follow the original setting, just switch the data (image and mask) order manually in the code.

liudakai2 avatar Apr 07 '23 07:04 liudakai2