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)
- Summarize the bug (e.g., "Segmentation Fault for Colored Point Cloud Registration") HOT 1
- Cannot compile on Ubuntu 20.04 with OPEN3D_ml and tensorflow HOT 1
- Implement Curvature-Based Mesh Cropping in Visualizer HOT 2
- Cannot compile Open3D on Windows 11 with CMake generated solution HOT 1
- open3d.cpu not found after successful py wheel build HOT 3
- Error in ViewControl::ConvertFromPinholeCameraParameters in ViewControl.cpp
- What does the return values of voxel_down_sample_and_trace() mean?
- normals all the same after estimate_normals of .las data point cloud
- "project_to_rgbd_image" provides inconsistent depth and color images.
- Faulty Simplify Quadric Decimation since 0.18.0. 0.17.0 seems to work more reliable. HOT 6
- Difference between matplotlib.pyplot and Open3D point clouds visualization in Z-axis
- Cannot install open3d==0.11.2 as sklearn is deprecated HOT 1
- Visualizer not opening
- How to compare 2 point clouds ? HOT 1
- [bug]fill_holes: wrong triangle direction HOT 1
- Is there a way to raycast a octree and voxel grids? HOT 1
- How to initialize a float Image from a vector in C++ HOT 2
- How to reconstruct rotating objects
- Cannot pip install v0.18 on x86_64 arch with OSX 14 and Python 3.9 HOT 9
- How to get pcd on the other side after using open3d::io::rpc::SetPointCloud? (C++)
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.