pcfitsphere
3차원 포인트 클라우드에 구 피팅
구문
설명
는 정상값 점부터 구까지의 허용 가능한 최대 거리를 지정하여 포인트 클라우드에 구를 피팅합니다. 이 함수는 구를 설명하는 기하학적 모델을 반환합니다.model
= pcfitsphere(ptCloudIn
,maxDistance
)
이 함수는 MSAC(M-estimator SAmple Consensus) 알고리즘을 사용하여 구를 찾습니다. MSAC 알고리즘은 RANSAC(RANdom SAmple Consensus) 알고리즘의 변형입니다.
[
는 포인트 클라우드 입력값에 있는 정상값과 이상값 점에 대한 선형 인덱스를 추가로 반환합니다.model
,inlierIndices
,outlierIndices
] = pcfitsphere(___)
[
는 위에 열거된 구문 중 하나를 사용하여 정상값 점부터 모델까지의 거리의 평균 오차를 추가로 반환합니다.model
,inlierIndices
,outlierIndices
,meanError
] = pcfitsphere(___)
[___] = pcfitsphere(___,
는 위에 열거된 구문의 인수 조합 외에 하나 이상의 이름-값 인수를 사용하여 옵션을 지정합니다. 예를 들어, Name=Value
)MaxNumTrials=1000
은 최대 무작위 시행 횟수를 1000으로 설정합니다.
예제
입력 인수
이름-값 인수
출력 인수
참고 문헌
[1] Torr, P. H. S. and A. Zisserman. “MLESAC: A New Robust Estimator with Application to Estimating Image Geometry.” Computer Vision and Image Understanding. 2000.
확장 기능
버전 내역
R2015b에 개발됨
참고 항목
객체
함수
pcfitplane
|pcfitcylinder
|findPointsInROI
|pcshow
|pcwrite
|pcread
|pcmerge
|pctransform
|pcregistericp
|pcdenoise