microsoft / MaskFlownet

[CVPR 2020, Oral] MaskFlownet: Asymmetric Feature Matching with Learnable Occlusion Mask
https://arxiv.org/abs/2003.10955
MIT License
369 stars 70 forks source link

BGR vs RGB input #32

Open htkseason opened 3 years ago

htkseason commented 3 years ago

Hi,

I have noticed that your work mainly uses 'cv2.imread' as image IO, which reads an image as BGR format. But in Sintel.py, I found a mixed use of 'skimage.io.imread' that reads RGB format. Is this expected? Though I found both RGB/BGR works fine, could you clarify what is the expected input format for the network? What is the input format you used for benchmarking?

Thanks Min

simon1727 commented 3 years ago

Hi htkseason, We did use different IOs. I believe either RGB/BGR will be fine. We used exactly the provided code for benchmarking.