Statistical Outlier Removal 3D
1 개요
포인트 클라우드의 통계적 이상치를 제거하는 알고리즘입니다.
2 알고리즘 상세 설명
| Source Object | Result Object |
|---|---|
![]() |
![]() |
Fig. 원본 포인트 클라우드 및 이상치 제거 결과
3 파라미터 설정
-
SetOutlierCoefficient(float f32Coef)- Threshold = Mean Distance + Standard Deviation * f32Coef
- 값이 작아질수록 이상치를 허용하지 않습니다.
- Default Value : 1
- Recommended Value : 0.5 ~ 5
- Threshold = Mean Distance + Standard Deviation * f32Coef
-
SetNeighborCount(int32_t i32Count)- 탐색할 이웃 점들의 개수를 설정합니다.
- Default Value : 40
- Recommended Value : 10, 20, 40, 60, 80, 100
4 예제 코드
CStatisticalOutlierRemoval3D statisticalOutlierRemoval3D;
CFL3DObject floSource;
CFL3DObject floDestination;
statisticalOutlierRemoval3D.SetSourceObject(floSource);
statisticalOutlierRemoval3D.SetDestinationObject(floDestination);
statisticalOutlierRemoval3D.SetOutlierCoefficient(1.000000f);
statisticalOutlierRemoval3D.SetNeighborCount(40);
statisticalOutlierRemoval3D.Execute();

