How can I export .mkv file containing depth data to .ply file?
12 views (last 30 days)
Show older comments
I am planning to output 4 minutes of depth data as a .mkv file recorded using kinect as a ply file.
I saw on the following page how to connect kinect directly and read the point cloud, but I couldn't figure out how to read the point cloud from the mkv file that is already output.Kinect for Windows からの点群 - MATLAB pcfromkinect - MathWorks 日本
I would appreciate it if you could tell me how to do this.
0 Comments
Answers (1)
praguna manvi
on 10 Oct 2024
As I understand it, you already have the video containing depth frames, which can be extracted using the “VideoReader” function. You can refer to this link for more information:
The depth frames can be visualized as a point cloud using the “pcfromdepth” function directly as follows:
ptCloud = pcfromdepth(depthImage,depthScaleFactor, intrinsics, ...
ColorImage=colorImage, ...
DepthRange=[0 maxCameraDepth]);
More infomation on “pcfromdepth” function can be found at this link:
Hope this helps !
0 Comments
See Also
Categories
Find more on Kinect For Windows Sensor in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!