You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Is there a substitute for pcshow()?
2 views (last 30 days)
Show older comments
Hello,
I got a 3D point cloud with " xyzPoints = depthToPointCloud(depthImage,depthDevice)". As I only have 2015a "pcshow" doesn't work. Is there a substitute command?
Thanks in advance!
4 Comments
Image Analyst
on 21 Oct 2015
What does it do? What toolbox is it in (please list it below)?
Image Analyst
on 22 Oct 2015
It looks like that pcshow() is in the Computer Vision System Toolbox, so you must have installed that too. It's now in the product list so maybe the developer will see it and answer.
Accepted Answer
Walter Roberson
on 19 Oct 2015
xyz = get(xyzPoints, 'location');
scatter3(xyz(:,1), xyz(:,2), xyz(:,3))
However, please show size(xyz) after the get(), as there is a different packing of values that might apply.
21 Comments
Walter Roberson
on 19 Oct 2015
Try
xyz = xyzPoints.Location;
If that does not work please show size(xyz) and class(xyz)
Walter Roberson
on 19 Oct 2015
That's not a real point cloud!
Just use the scatter3 command but change the variable name to xyzPoints in the three locations.
Walter Roberson
on 19 Oct 2015
I am not going to try to fix this until after I have some sleep. I am finding the array meaning confusing.
Walter Roberson
on 21 Oct 2015
My hands have been too sore to do much.
Image Analyst
on 22 Oct 2015
I don't know that Walter has the Computer Vision System Toolbox. I don't either.
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)