3D Point Cloud watershed

조회 수: 10 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2018년 7월 25일
답변: MathWorks Support Team 2018년 7월 25일
I have a Point Cloud or the equivalent of a 2D nx3 matrix of my x,y,z coordinates which generate a volume. I am trying to call "watershed" on it, but I am getting unexpected results. Why is this happening?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2018년 7월 25일
The "watershed" function takes in an input image, specified as a real, nonsparse, numeric, or logical array of any dimension.
"watershed" is not throwing an error because your input is of the correct type. However, "watershed" is interpreting your data as a 2D image that is nx3 and not a 3D Volume that would be generated by a Point Cloud.
In order to get the correct "watershed" output, input the 3-D binary image of the volume and not the Point Cloud (x,y,z) data.
For more information please see the following documentation page:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by