ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

improve pointcloud streams [closed]

asked 2023-05-24 04:29:06 -0500

n000oob gravatar image

updated 2023-05-24 04:35:48 -0500

I'm having problems on how to filter those few noisy streams near the camera, the clip is here https://youtu.be/ypiaW1GZGOA

what I've tried so far is to calibrate, wondered if the distortion model affects those noise , the default uses plumb bob. but upon using below config:

image_width: 640
image_height: 480
camera_name: depth_PS1080_PrimeSense
camera_matrix:
  rows: 3
  cols: 3
  data: [570.478986, 0.000000, 330.949612, 0.000000, 577.133855, 202.275876, 0.000000, 0.000000, 1.000000]
distortion_model: plumb_bob
distortion_coefficients:
  rows: 1
  cols: 5
  data: [0.034195, 0.018035, -0.022867, 0.001739, 0.000000]
rectification_matrix:
  rows: 3
  cols: 3
  data: [1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000]
projection_matrix:
  rows: 3
  cols: 4
  data: [587.691833, 0.000000, 331.098836, 0.000000, 0.000000, 582.344971, 192.450352, 0.000000, 0.000000, 0.000000, 
  1.000000, 0.000000]

but after i use this the config, the stream is just straight vertical, most pointclouds are gone.

any suggestions would definitely help thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by n000oob
close date 2023-05-29 19:10:12.772920

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-24 11:28:11 -0500

Some, at least minor, filtering is encouraged before throwing depth feeds into your costmaps for this kind of non-trivial noise around the surfaces of physical objects.

Without more information, I can't give you precise recommendations, but generally speaking PCL has a number of useful filters that when combined (or just 1 individually) can remove that kind of noise. The compute available, degree at which you want to remove noise, and the amount of data you want to decimate are all parts of the equation.

I haven't looked at literature recently on this subject, but it wouldn't surprise me if there were some techniques that might aid you as well using kernal filters.

edit flag offensive delete link more

Comments

thanks! by the way is exploring pcl_ros can be use in this case? I'm using galactic version

n000oob gravatar image n000oob  ( 2023-05-26 00:31:46 -0500 )edit
1

Sure, that would work too, those are basically nodes that do the PCL individual things so you can swap them in / out easily. Its not terribly different than using PCL itself, just depends on what you're more comfortable with and how often you think you'll need to rearrange things.

stevemacenski gravatar image stevemacenski  ( 2023-05-26 12:33:29 -0500 )edit

thank you for the great help and information.

n000oob gravatar image n000oob  ( 2023-05-29 19:07:46 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-05-24 04:29:06 -0500

Seen: 47 times

Last updated: May 24 '23