Giter VIP home page Giter VIP logo

Comments (11)

fradif96 avatar fradif96 commented on July 17, 2024 8

@YuxuanSnow Could you please share the snippet code that you used for point cloud generation and visualization?
Thanks in advance

from marigold.

coccofresco avatar coccofresco commented on July 17, 2024 3

thank you very much, i was able to get it working in my 3d editor. The amount of information you can retrieve is impressive. Even on a frontal human face, it can retrieve a profile that is not perfect, but functional for quick retouching. Really amazing.

from marigold.

nandometzger avatar nandometzger commented on July 17, 2024 2

Hi,

Thank you for your interest in Marigold and the generation of 3D point clouds from it.

Please note that Marigold predicts affine invariant depth, not metric depth. Meaning that even if the camera intrinsics are known, the unprojection function still is undefined by a scale and a shift. For the example of @YuxuanSnow the scale and shift are not chosen appropriately.

We quickly described our workflow in the Appendix Section 4 of the paper. In practice, it means that you have to try interatively try configurations of scale and shifts, and pick the visually best one.

Hope that helps. Feel free to ask if you have questions.

Edit: grammer

from marigold.

markkua avatar markkua commented on July 17, 2024 2

Hi,
Thank you for your interest in Marigold and the generation of 3D point clouds from it.
Please note that Marigold predicts affine invariant depth, not metric depth. Meaning that even if the the camera intrinsics are known. The unprojection function still is undefined by a scale and a shift. For the example of @YuxuanSnow the scale and shift are not chosen appropriately.
We quickly described our workflow in the Appendix Section 4. In practice, it means that you have to try interatively try configurations of scale and shifts, and pick the visually best one.
Hope that helps. Feel free to ask if you have questions.

Hi

Thank you very much for your reply. Unfortunately, I am more of a 3d modeler than a programmer or researcher, so even going by trial and error is extremely complicated for me. Would it be possible to have a basic equation where it would be easy to intervene in the scaling and shift factors? Simple a/(depth+b) don't seems to work

I understand that it transcends the purpose of the research, but it would then be great in the future to have a built-in tool with which to play with parameters while viewing the point cloud, and then export a linearized depth map.

Thanks in advance

Hello,

Marigold predicts affine-invariant (linear) depth, which can be written as $d' = d * s + t$, where $d'$ is the true metric depth you would like to get from prediction $d$, $s$ is the scale and $t$ is the shift. Note that our prediction is affine-invariant directly in linear space, instead of in inverse depth space (or so-called disparity) like MiDaS.

Best.

from marigold.

YuxuanSnow avatar YuxuanSnow commented on July 17, 2024 1

However, i think my unprojection function is not valid for some scenario such as indoor room.
4780_rgb

As you can see, the point cloud doesn't have a flat floor and ceiling.
image

I believe the reason is because of the normalization scale of the predicted depth range. Can you also provide the unprojection function that you used to generate point cloud in the paper?

from marigold.

PHOENIXFURY007 avatar PHOENIXFURY007 commented on July 17, 2024 1

Hi,

nice work! I always want to compare the predicted depth with the colorful unprojected point cloud. I compared Marigold, ZoeDepth, OmniDatav2. I tried the following image.

example_5

Marigold: image

OmniDatav2: image

ZoeN: image

It's interesting that previous method predicts more likely to a flat geometry, while Marigold can preserve it better :-)

Hello,
Can you share how to generate the point clouds from the depth maps? And also what tool are you using to visualize the 3d point cloud?

from marigold.

sanskar107 avatar sanskar107 commented on July 17, 2024

I am also facing the same issue, the pointcloud looks distorted on indoor images.

from marigold.

coccofresco avatar coccofresco commented on July 17, 2024

@YuxuanSnow what expression did you use? is not perfect, but not so bad (far better than mine, for sure)

from marigold.

coccofresco avatar coccofresco commented on July 17, 2024

Hi,

Thank you for your interest in Marigold and the generation of 3D point clouds from it.

Please note that Marigold predicts affine invariant depth, not metric depth. Meaning that even if the the camera intrinsics are known. The unprojection function still is undefined by a scale and a shift. For the example of @YuxuanSnow the scale and shift are not chosen appropriately.

We quickly described our workflow in the Appendix Section 4. In practice, it means that you have to try interatively try configurations of scale and shifts, and pick the visually best one.

Hope that helps. Feel free to ask if you have questions.

Hi

Thank you very much for your reply.
Unfortunately, I am more of a 3d modeler than a programmer or researcher, so even going by trial and error is extremely complicated for me.
Would it be possible to have a basic equation where it would be easy to intervene in the scaling and shift factors?
Simple a/(depth+b) don't seems to work

I understand that it transcends the purpose of the research, but it would then be great in the future to have a built-in tool with which to play with parameters while viewing the point cloud, and then export a linearized depth map.

Thanks in advance

from marigold.

toshas avatar toshas commented on July 17, 2024

@coccofresco Thank you! If the data and time permit, could you please showcase some of the results on Twitter and refer our original announcement post? https://twitter.com/AntonObukhov1/status/1732946419663667464?t=8iIVVDbbrhwGHQgHNOoj2A&s=19

from marigold.

Haozong-Zeng avatar Haozong-Zeng commented on July 17, 2024

affine invariant depth

Thanks for the great work.

I was wondering if I have some prior knowledges on the scale and location (both object & camera) of the object I want predict (e.g. a rough point cloud, estimated 3D bounding-box, etc.), will it be possible to adjust Marigold prediction?

Also I wonder if the training script will be released in the future for fine-tuning the model.

from marigold.

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.