Comments (4)
Looks like libjpeg supports ppm (see line 142 External/libjpeg/jconfig.h
)
from open3d.
Very good. Yes, we need to support these file formats. However, we have two viable solutions.
-
If ppm is natively supported by libjpeg, then the solution is simple, just copy
FileJPG.h/cpp
toFilePPM.h/cpp
and edit the interface. -
If option 1 is too complicated, we don't need to introduce new libraries for parsing image.
py3d
supports creating anImage
from a numpy array. E.g.
print("Convet a numpy image to Image and show it with DrawGeomtries().")
y = mpimg.imread("../TestData/lena_color.jpg")
print(y.shape)
yy = Image(y)
print(yy)
DrawGeometries([yy])
So for the NYU data, we don't even need to write a parser for ppm. Just in our python tutorial, we read the image using this method. This is actually the benefit of using Python. Open3D need not to support everything. We just write 3D algorithms in C++, and Python can take care of the auxiliary functionalities.
from open3d.
I agree. I also thought the same thing, and I was working on option 2. Actually it turns out that even mathploblib.image
is not friendly toward NYU pgm depth format, and I had to write a python function for this. You will check this issue from new commit.
from open3d.
Addressed in #42
from open3d.
Related Issues (20)
- Why is the human point cloud generated by my icp algorithm noisy
- How to get a colored ointcloud from RGBD images?
- open3d.visualization.Visualizer.get_render_option() return NoneType Object
- Is the box.GetOrientedBoundingBoxLines() deleted in recent version?
- Open3D-0.18.0\cpp\open3d\ml\impl\continuous_conv\ContinuousConvTranspose.h(73,45): error C2975: “Rows_”:“Eigen::Array”的模板参数无效,应为编译时常量表达式
- Global & Local Registration result not good
- Laggy Open3D Visualizer for Large Point Clouds on Ubuntu 20.04
- Cannot compile for embedded aarch64 without GLFW (and other stuff?) even with BUILD_GUI=OFF
- Implement 3D Gaussian splatting viewer
- 🚀 Upgrade to Embree 4 and add GPU support
- 🚀 Faster UV Unwrapping
- 🚀 Add surface contouring to TriangleMesh
- 🚀 Parallel fast mesh simplification
- Test and integrate oneDAL
- Integrate DNN runtime for running inference in C++
- Complete support for scene graph and add USD I/O
- How can I konw the length of each line in lineset?
- Is it expected behavior for the application to crash when minimized? GUI
- Rebuild well on Windows, but worse in ubuntu, using the same parameters and data
- Request to add GPU support of point cloud statistical outlier removal?
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 open3d.