RAFT-Stereo icon indicating copy to clipboard operation
RAFT-Stereo copied to clipboard

Disparity Left & Right

Open andrea-unity opened this issue 2 years ago • 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

andrea-unity avatar May 04 '22 23:05 andrea-unity

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.

lahavlipson avatar May 05 '22 03:05 lahavlipson

Thank you. I will have a look at the code and I will come back to you.

The reason that I would like the left and the right disparity is because I want to try to use RAFT-3D but it seems I need to pass as input images + disparity (L+R).

Andrea

On Wed, May 4, 2022 at 8:47 PM Lahav Lipson @.***> wrote:

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 need to re-train the model since L->R disparity is negative and R->L disparity is positive.

— Reply to this email directly, view it on GitHub https://github.com/princeton-vl/RAFT-Stereo/issues/50#issuecomment-1118136501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYWM66JINN4UKNTZQ5224FLVINAG3ANCNFSM5VDQDX7A . You are receiving this because you authored the thread.Message ID: @.***>

andrea-unity avatar May 05 '22 04:05 andrea-unity

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

suxingzhao avatar Jun 18 '22 03:06 suxingzhao