Git Product home page Git Product logo

Comments (7)

donghao51 avatar donghao51 commented on May 28, 2024

Hello, our algorithm uses range image as input. Therefore, the first step is to convert your pcd data to the range image format as shown in

range_data, proj_vertex, _ = range_projection(xyz,

Then you can pass the range image to the pole extractor

from pole-localization.

Marine98k avatar Marine98k commented on May 28, 2024

thank you for you reply, i will have a try. this work have used polex ,so i want to known whether i can get a box in my PCD map or something like Segmentation in my pCD map。

from pole-localization.

donghao51 avatar donghao51 commented on May 28, 2024

Yes, we calculate both the x,y position and the radius of the pole. You can get a box based on these calculations.

from pole-localization.

Marine98k avatar Marine98k commented on May 28, 2024

dear author, i just read your paper and in your paper you have train a segmentation network,but i dont known how to visualize the result after simply realizing your work.

from pole-localization.

donghao51 avatar donghao51 commented on May 28, 2024

You can set vis=True in the detect_poles() and plot pole_vis using matplotlib

from pole-localization.

Marine98k avatar Marine98k commented on May 28, 2024

dear author,when i use SLAM pcd map to run poles_extrators.py ,there something wrong . i want to if i can use the SLAM pcd map as an iput.the code is as follows

if name == 'main':
xyz = o3d.io.read_point_cloud("/home/dell/zxh/pole-localization-main/data/9.19-1.pcd")
_, pole_vis = detect_poles(xyz, neighbourthr=0.5, min_point_num=3, dis_thr=0.08, width_thr=10, fov_up=30.67, fov_down=-10.67,
proj_H=32, proj_W=250, lowest=0.1, highest=6, lowthr=1.5, highthr=0.7, totalthr=0.6, vis=True)
plt.imshow(pole_vis, cmap="gray")
plt.show()

from pole-localization.

donghao51 avatar donghao51 commented on May 28, 2024

In general, not. You must project your pcd to the range image using

def range_projection(current_vertex, fov_up=10.67, fov_down=-30.67, proj_H=32, proj_W=900, max_range=50, cut_z = True, low=0.1, high=6):

You need to pass the fov_up and fov_down, which are the field-of-view parameters of the LiDAR sensors. But it is almost not possible to get such parameter using the SLAM pcd map.

A possible way is to project the SLAM pcd map to the RGB image plane using extrinsic and intrinsic matrix and then extract poles on the projected depth map. But I never try it.

from pole-localization.

Related Issues (9)

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.