princeton-vl/RAFT-Stereo

Disparity Left & Right

Opened this issue · 5 comments

Using your code I'm able to compute the disparity Left, I'm wondering if your algorithm support also Right disparity?
Thank you

With some modifications it can support right->left disparity. The correlation sampler returned by corr_block() assumes left->right disparity so the order of the input feature maps will need to be flipped. You should re-train the model since L->R disparity is negative and R->L disparity is positive.

Using your code I'm able to compute the disparity Left, I'm wondering if your algorithm support also up or down disparity?
Thank you

Hello

I have the same question, could you please give us more hints how to realize the right-left disparity please? This is also linked to the open-issue 69.

Thank you very much in advance.
Hai

@HaiLiExp You can also flip both images horizontally and reverse the input order to get the right-left disparity.