Coder Social home page Coder Social logo

Comments (4)

briankim0825 avatar briankim0825 commented on June 17, 2024 1

The python file worked for me. Thanks a lot.

from depth2hha-python.

JamesMcCullochDickens avatar JamesMcCullochDickens commented on June 17, 2024

The NYUDv2 toolkit has a matlab script that has an inpainting algorithm based on the colorization approach of Levin, here:
https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html

I have code in my github (can't remember the source tbh, not written by me) that has a python script of this approach.
https://github.com/JamesMcCullochDickens/CSI5340Project/blob/main/InPainting.py

There are probably much better/modern depth inpainting algorithms however, but if you are satisfied with this approach, not a bad place to start.

As for whether the HHA would be better with raw depth or improved depth, you can see in the SUN RGBD dataset the difference is pretty substantial imo.

from depth2hha-python.

JamesMcCullochDickens avatar JamesMcCullochDickens commented on June 17, 2024

For a more modern approach, see here:
https://github.com/ZJULearning/depthInpainting

from depth2hha-python.

JamesMcCullochDickens avatar JamesMcCullochDickens commented on June 17, 2024

@briankim0825 I should add that the script is quite slow, and that if you want to make it faster you can either run it in matlab (the original NYUDv2 one), or if you don't have matlab you could re-write it in C++, since I believe its the loop that is the main problem, and I pretty much guarantee you will see huge speedups, only relevant really if you have lots of files. I should probably add a multi-threading/multi-processing component to it as well... will do eventually.

from depth2hha-python.

Related Issues (19)

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.