Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rigid segmentation #2

Open
daonguyenthien opened this issue Jun 22, 2021 · 3 comments
Open

rigid segmentation #2

daonguyenthien opened this issue Jun 22, 2021 · 3 comments

Comments

@daonguyenthien
Copy link

Hi,
can you released your code on the rigid segmentation? i seem to be stuck at this part
Thank you

@gengshan-y
Copy link
Owner

Hi, can you be more specific about which part of the code are your looking for?

@daonguyenthien
Copy link
Author

Hi, I'm very sorry for not being clear.
I'm looking for the part on how you can segment motion from the background?
and how can you fusion it with your optical flow model?
Thank you.

@gengshan-y
Copy link
Owner

The reference command segments rigid motions and refines the scene flow.

Specifically, the rigid motion segmentation part starts here:

costs = torch.cat((

and the part that calls scene flow refinement part starts here:

scene_type, T01_c, R01,RTs = ddlib.rb_fitting(bgmask,mask_input,disp,flow,occ,K0,K1,bl,parallax_th=4,mono=(args.sensor=='mono'), sintel='Sintel' in idxname)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants