需要做些什么才能在点云中显示异常值? [英] What needs to be done so that outliers are not displayed in the point cloud?

查看:101
本文介绍了需要做些什么才能在点云中显示异常值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个点云数据我正在应用一种算法来检查内部和异常值。在显示检查后,我只想显示内点,不应在点云中显示异常值。

我使用MATLAB显示点云。什么值应该给异常值,以便它们不会显示在我的点云中。



我尝试过的方法:



我尝试将异常值设为NAN。

I have a point cloud data i am applying an algorithm for checking inliers and outliers. After the check while displaying i just want to display the inliers and the outliers should not be displayed in the point cloud.
I am using MATLAB to display point cloud. What value should be given to the outliers so that they will not be displayed in my point cloud.

What I have tried:

I tried giving the outliers as NAN.

推荐答案

只要MatLab,NAN替换就应该有效命令设置正确。我假设您已经检查过NAN更换是否正常工作。



显示或不显示完全由MatLab代码控制,一旦你将大纲设为NAN,你就会做什么你喜欢在MatLab中使用它们。



一个基本的2D绘图通常类似于

plot(a(~isnan(a)), b(~isnan(a)));



我要么丢失了一些东西,要么你应该在谷歌搜索MatLab如何避免绘制NAN值? />


也许是一个起点

在MATLAB图中使用和删除NaN& raquo;斯图尔特的MATLAB视频 [ ^ ]
The NAN replacement should have worked so long as the MatLab commands are setup correctly. I assume you have checked the NAN replacement worked correctly.

The display or not display is totally controlled by the MatLab code and once you have the outliners as NAN you do what you like with them inside MatLab.

A basic 2D plot is usually something like
plot(a(~isnan(a)),b(~isnan(a)));

I am either missing something or you should be googling "MatLab How to avoid to plot the NAN value?"

Perhaps a start point
Using and removing NaN in MATLAB plots » Stuart’s MATLAB Videos[^]


这篇关于需要做些什么才能在点云中显示异常值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆