How can I export .mkv file containing depth data to .ply file?

10 Ansichten (letzte 30 Tage)
海志
海志 am 5 Okt. 2023
Beantwortet: praguna manvi am 10 Okt. 2024
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.

Antworten (1)

praguna manvi
praguna manvi am 10 Okt. 2024
Hi @海志,
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 !

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by