Comments (4)
The python file worked for me. Thanks a lot.
from depth2hha-python.
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.
For a more modern approach, see here:
https://github.com/ZJULearning/depthInpainting
from depth2hha-python.
@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)
- algorithm details HOT 4
- Different result for the same picture HOT 4
- ValueError: too many values to unpack (expected 2) HOT 3
- Unit conversion HOT 6
- Suggestions for a 10x faster implementation. HOT 2
- 自己的数据集,需不需要做标准化 HOT 2
- 请问getCameraParam里是全部相机参数吗
- 您好,请问nyuv2的hha或者depth在归一化时的mean和std怎么计算?
- Is the HHA of a Depth Image independent of a camera's extrinsics?
- about package and camera matrix HOT 1
- Any reason why minimum height need to be lower than -90? HOT 1
- Depth and raw depth image HOT 3
- how to get camera matrix? HOT 3
- Speed is quite slow HOT 1
- ValueError: cannot convert float NaN to integer HOT 4
- Should missingMask == 0 instead of 1? HOT 2
- getHHA file angle question HOT 1
- Convert LiDAR sparse depth? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from depth2hha-python.