3D Point Cloud watershed
10 views (last 30 days)
Show older comments
MathWorks Support Team
on 25 Jul 2018
Answered: MathWorks Support Team
on 25 Jul 2018
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?
Accepted Answer
MathWorks Support Team
on 25 Jul 2018
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 Comments
More Answers (0)
See Also
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!