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

为什么要这样处理平均地面法线? #21

Open
magnetmoment opened this issue Feb 9, 2022 · 0 comments
Open

为什么要这样处理平均地面法线? #21

magnetmoment opened this issue Feb 9, 2022 · 0 comments

Comments

@magnetmoment
Copy link

在pointcorrects.cpp CalGndPos_cor函数中

if(nNum>0)
{
for(int ii=0;ii<6;ii++)
{
gnd[ii]/=nNum; //得到平均法向量 & 地面点云的中心坐标
}
if(abs(gnd[0])<0.1)
{
gnd[0]=gnd[0]*(1-abs(gnd[0]))4.5;?????????
}
else if(abs(gnd[0])<0.2){
gnd[0]=gnd[0]
(1-abs(gnd[0]))3.2;?????????
}
else{
gnd[0]=gnd[0]
(1-abs(gnd[0]))*2.8;?????????
}
gnd[1] = gnd[1]*2.3;?????????

}
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

1 participant