Giter Site home page Giter Site logo

Disparity Refinement about aanet HOT 5 CLOSED

youmi-zym avatar youmi-zym commented on September 12, 2024
Disparity Refinement

from aanet.

Comments (5)

haofeixu avatar haofeixu commented on September 12, 2024

Thanks for your interest.
Unfortunately, we didn't have such a comparison. However, we anticipate the performance will be not that good, as the resolution of estimated disparity without refinement is relatively low and the residual learning (i.e., refinement) scheme has been proved to be effective in many previous works (e.g., StereoNet). You can train with our code to see what happens.
Sorry about that we have no plan to extend the deformable conv to 3D currently.

from aanet.

youmi-zym avatar youmi-zym commented on September 12, 2024

Thanks

from aanet.

XYZ-qiyh avatar XYZ-qiyh commented on September 12, 2024

Hello, @haofeixu
As I know, the scale_factor is the ratio of left_img Height and low_disp Height.
But, why the disp need to multiply the scale_factor?

aanet/nets/refinement.py

Lines 45 to 47 in 5e2359c

scale_factor = left_img.size(-1) / low_disp.size(-1)
disp = F.interpolate(low_disp, size=left_img.size()[-2:], mode='bilinear')
disp = disp * scale_factor # scale correspondingly

from aanet.

haofeixu avatar haofeixu commented on September 12, 2024

Hi @Todd-Qi ,

As the low resolution disparity is upsampled to higher resolution, it's magnitude needs to be scaled correspondingly.
That is, a 1-pixel disparity at 1/4 resolution corresponds to 2-pixel for 1/2 resolution.

from aanet.

XYZ-qiyh avatar XYZ-qiyh commented on September 12, 2024

Thanks for your clear explanation.

from aanet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.