Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ply and Pcd are formats for storing point clouds. They are basically a list of 3d points (x y z) with a slightly different format.

Ply and Pcd are formats for storing point clouds. They are basically a list of 3d points (x y z) with a slightly different format. This is an example for a ply Format:

ply format ascii 1.0

comment VCGLIB generated

element vertex 9

property float x

property float y

property float z

property uchar red

property uchar green

property uchar blue

property uchar alpha

element face 0

property list uchar

int vertex_indices

end_header

169.345 0.00190678 -356.222 128 138 80 255

170.668 0.00202459 -355.459 58 36 16 255

170.6 0.00285877 -355.877 59 46 45 255

170.307 0.00326565 -354.98 149 107 81 255

170.581 0.00329066 -355.646 61 38 28 255

170.51 0.00389251 -355.671 70 48 44 255

170.198 0.00511375 -354.959 92 57 55 255

170.558 0.00516258 -355.87 76 63 62 255

170.709 0.00550342 -355.155 100 79 55 255

Your task is:

Look up online what is the format to PCD files.

Using Python load the attached Ply file

. Convert the format to Pcd and save it.

Try to make is as efficient as you can.

Try to keep the code as clean as possible so it will be read able.

To check that your Pcd file yours you can download Cloud compare from: http://www.cloudcompare.org/release/

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

Students also viewed these Databases questions