GithubHelp home page GithubHelp logo

My test result about pc2image HOT 4 CLOSED

epvelasco avatar epvelasco commented on June 2, 2024
My test result

from pc2image.

Comments (4)

EPVelasco avatar EPVelasco commented on June 2, 2024

Hi, thanks for using my code.
In pc2 image/ launch/VLP16_image.launch, what value do you have in maxlen?. This value is the maximum range that you want to convert to an image, in the experiment I have put 150 meters

<param name="maxlen"               type="double" value="150" /> 

For a room, try to put 20 meters

<param name="maxlen"               type="double" value="20" />  

In this code, nearby objects are represented in the image with a value of 65536 and distant objects with a value of 0.

from pc2image.

akamob avatar akamob commented on June 2, 2024

Hi, @EPVelasco, thank you very much for your reply.

I’m wondering if it’s possible to extract specific size of depth image? such as 512 * 416 or 128 * 128. In other words, I hope these depth images can maintain proper proportions.

I tried some methods:

  1. Use opencv or API to resize / crop depth images.
  2. Change FOV of VLP-16.
  3. Use detector to detect objects I wanted and extract it as depth images.
    But these methods cause depth images to blur. Is there some rules or limitions if I want to convert VLP-16’s point cloud into depth image with specific size?

Any suggestions is much appreciated:)

from pc2image.

EPVelasco avatar EPVelasco commented on June 2, 2024

Hi, sorry for the late reply.
The VLP-16 sensor only has 16 lines, you can only generate images with a resolution of 16x (360*x_angular_resolution). So if you have x_angular resolution = 0.25, you would have 16x1440 resolution images.

For higher resolution images, one way is to augment the data with interpolation, but I haven't prepared the code for that.

from pc2image.

akamob avatar akamob commented on June 2, 2024

Hi, @EPVelasco, thank you very much for your reply:)

Yes, I have recently tried to point cloud interpolation or image inpainting, during the process I found these depth images have 3 channels (I use pillow for checking these depth images). This confuses me, because I think mono16 (16-bit grayscale image) only have a one channel. But it also gave me some ideas, I'm wondering if it is possible to treat these depth images as RGB images? namely, use image inpainting on these depth images.

I want to use lidar for activity recognition and it is obvious the point cloud will be very sparse in the vertical direction:
1

If I could use your code to convert point clouds into depth images and then use image inpainting (maybe also use color map to give these images colors), this may make it possible to achieve my goal. I am referencing this repository: https://reurl.cc/nEY4nd, but I'm not sure if my idea is right or not.

May i have your suggestions?
Any help is much appreciated:)

from pc2image.

Related Issues (3)

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.