GithubHelp home page GithubHelp logo

Predicted plane parameters about planercnn HOT 2 OPEN

nvlabs avatar nvlabs commented on August 30, 2024
Predicted plane parameters

from planercnn.

Comments (2)

vevenom avatar vevenom commented on August 30, 2024 1

Oh, I didn't consider you might be using this exact coordinate system, you are right. So my coordinate system is:

X faces right,
Y faces up,
Z faces front

Anyways it works after transforming your plane parameters to my coordinate system like this:
[X, -Z, Y]

Than you can use the formula from the original post (without 'minus') to get quality depth map:

Z = ((d (K^(-1) u ) [3]) / (n^T ((K^(-1) u ))

Thanks for your assistance, I have one more question. One alternative is to generate plane parameters from depth predictions and plane masks with SVD, similar to what you did for generating ground truth planes. Have you tried this experiment and if yes, have you observed any benefits of using plane predictions instead of this 'direct' approach?

from planercnn.

art-programmer avatar art-programmer commented on August 30, 2024

Your equation seems correct. But I might have used a different coordinate system. Y faces the front of the camera, X faces right of the camera, and Z faces downwards.

The depth maps for all planes can be computed using this function.

def calcPlaneDepths(planes, width, height, camera, max_depth=10):

You can then compute the final depth map based on the plane depth maps with plane masks.

from planercnn.

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.