Skip to content

Commit

Permalink
结构点云经过操作之后,仍为结构点云
Browse files Browse the repository at this point in the history
  • Loading branch information
Ewenwan authored Dec 13, 2018
1 parent c910b02 commit 10ab346
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PCL_APP/Basic/Filtering/PassThroughfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ int
pass.setInputCloud (cloud_ptr);//设置输入点云
pass.setFilterFieldName ("z");// 定义轴
pass.setFilterLimits (0.0, 1.0);// 范围
// pass.setKeepOrganized(true); // 保持 有序点云结构===============
pass.setFilterLimitsNegative (true);//标志为false时保留范围内的点
pass.filter (*cloud_filtered_ptr);

Expand Down

0 comments on commit 10ab346

Please sign in to comment.