Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to improve reconstruction precision #56

Open
dbdxnuliba opened this issue Sep 23, 2022 · 1 comment
Open

how to improve reconstruction precision #56

dbdxnuliba opened this issue Sep 23, 2022 · 1 comment

Comments

@dbdxnuliba
Copy link

dbdxnuliba commented Sep 23, 2022

When asking for help or submitting a bug report, please provide the following important information about your system:

  • Operating system version (for example, Ubuntu 18.04 LTS)
  • ROS version (for example, ROS Melodic)
  • CUDA version (for example, CUDA 11.4)
  • Nvidia driver version (for example, Driver 470.141)
  • _Graphics card type (for example, Nvidia GeForceGTX 1650)

this is the outpu ply file by
yak_ros_reconstruction

I use franka +L515 +yak_ros
with two pc , one of them run franka_ros and L515 and another pc run yak_ros ,subscribe /camera/depth/image_rect_raw,

and this is the real environment:
image

and this is the launch file

<node name="tsdf_node" pkg="yak_ros" type="yak_ros_node" output="screen">
  <!-- remap realsensen topic  -->
  <remap from="~input_depth_image" to="/camera/depth/image_rect_raw"/>
  <!-- <remap from="~input_point_cloud" to="/camera/depth_registered/points"/> -->
  <param name="tsdf_frame" value="tsdf_origin"/>
  <rosparam param="camera_matrix">[457.046875, 0.0, 330.37109375, 0.0, 456.90625, 249.544921875, 0.0, 0.0, 1.0]</rosparam>
  <param name="cols" value="640"/>
  <param name="rows" value="480"/>
<param name="volume_resolution" value="0.002"/>
<param name="volume_x" value="640"/>
<param name="volume_y" value="640"/>
<param name="volume_z" value="768"/>
</node>

<node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="0.32714 -0.26846 0.002 0.0 0.0 0.0 1.0 world tsdf_origin 100" />
<!-- <node type="rviz" name="rviz" pkg="rviz" args="-d $(find jil_object_tracking)/rviz/yak_demo.rviz" /> -->
<arg name="rviz" default="true" />
<group if="$(arg rviz)">
    <node launch-prefix="nice" pkg="rviz" type="rviz" name="rviz_meng"/>
</group>

we can see many large holes and in the surface after resconstruction, and plane becomes curved
can you give me some advice to improve the reconstruction precision

and quesiont2:
there are so many faces in the ply file ,how can we combine them into a few surfaces
image

@dbdxnuliba dbdxnuliba changed the title how to improve reconstruction pression how to improve reconstruction precision Sep 23, 2022
@Levi-Armstrong
Copy link
Contributor

Increase the tsdf resolution from 0.002 to something larger that the sensor depth noise. If this is smaller that the expected noise in the depth then the noise decays seen areas resulting in holes in the data. Also this is directly propositional to the mesh resolution since it use marching cubes using the tsdf to generate the mesh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants