Comments (4)
So I took a look at the pcd file you provided. There are a couple of things to take into account.
-
The point cloud you provided is not 360 degrees. Here, the yaw values ranges from -90 to 90 degrees for the provided point cloud. Therefore to shift the origin to the left side as I have mentioned in the blog, you need add
pi
to the values you get. Therefore then the yaw values will range from [0, pi], which can be normalized by dividing bypi
or the length of the range.
tl:dr
Change line 74 of Spherical_View_Projection.cpp to:
double v = (yaw+ M_PI/2) / M_PI ;
-
The intensity value in the provided point cloud ranges from [0, 255]. You to need to normalized it by dividing intensity by 255, as the values are in float, opencv expects values between range [0,1].
Note: after normalizing it will be difficult to visually understand whats happening in the image, so just for visualizing you can skip this step. Although, if training a deep learning network don't forget to normalize.
The final output looks like this
from opensource_problems.
Hi, I was not able to replicate a similar image. I have attached the output I get with the parameters you have mentioned. It will be difficult to visualize the image though, as it has only 16 rows or 16 pixels in length. Are you loading test.pcd file in assets?
from opensource_problems.
Thankyou for the response.
The image which is shown by you,is it from a vlp-16 pcd file?
Yes I am loading it in pcd format.I have actually converted a .npy file to a .pcd format.
This is the npy ,the corresponding pcd format file and the image.
https://github.com/poornimajd/show/tree/master
These are the samples from the IDD dataset.
from opensource_problems.
Thanks alot for the detailed answer!
from opensource_problems.
Related Issues (4)
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 opensource_problems.