PTX. import possibility

Feel free to ask any question here
Post Reply
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: PTX. import possibility

Post by daniel »

Do you have any information on how this kind of files is structured?

Looking at a sample it is rather evident that it's a grid structure, with depth, normal and color (7 values per grid cell). There's also a position/orientation matrix at the beginning. But what do the lines 3 to 6 correspond to? And how the normal is coded? (it doesn't seem to be a unit vector).

Code: Select all

345
1074
0 0 0
1 0 0
0 1 0
0 0 1
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
0 0 0 0.500000 0 0 0
0 0 0 0.500000 0 0 0
1.702286 -3.193588 -1.841843 0.456580 51 65 49
1.706894 -3.202316 -1.841354 0.456397 54 70 55
1.711227 -3.210495 -1.840775 0.466102 58 72 57
1.716904 -3.221298 -1.841354 0.459266 61 78 62
1.721603 -3.230179 -1.841141 0.472206 65 82 66
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: PTX. import possibility

Post by daniel »

Nevermind, in fact the 7 values are: X, Y, Z, intensity, R, G, B.

So there's no normal in PTX files but thanks to the grid structure it should be easier to compute.
Daniel, CloudCompare admin
jedfrechette
Posts: 46
Joined: Mon Jan 20, 2014 6:31 pm
Location: Albuquerque, NM
Contact:

Re: PTX. import possibility

Post by jedfrechette »

Leica has some info on their website:

http://www.leica-geosystems.com/kb/?gui ... 79E5937CB2
Jed
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: PTX. import possibility

Post by daniel »

Ok I've put up a simple PTX importer with a quick-and-dirty normal computer based on the grid structure.

I need to get more files samples to check if I'm doing the right things with sensor orientation and cloud orientation matrices but otherwise it should be functional.

It will be available in the next (beta) release.
Daniel, CloudCompare admin
jfhullo
Posts: 90
Joined: Thu Oct 14, 2010 7:16 am

Re: PTX. import possibility

Post by jfhullo »

Good!!! Can't wait to try ptx importer!!

JF
Post Reply