Save point cloud as ASCII after applying translation matrix
Posted: Fri Jul 04, 2014 8:42 am
Hello,
I loaded in Cloud Compare (CC) a georeferenced Terrestrial Laser Scanning (TLS) point cloud with a center of xyz coordinates in UTM Zone 19 N (633170.05 ; 5 388 211.63 ; 107.38)
When I'm asked to recenter the cloud because the coordinates are too big, I said "Yes to all" and this is what I obtained :
Box center :
X: -0.04
Y: 0.0500002
Z: 117.285
Global shift : (-633170.05;-5388211.59;0.00)
I applied a slight translation matrix in the horizontal xy plane with the function of the Menu Edit / Apply Transformation :
1.000000000000 0.000000000000 0.000000000000 1.359704971313
0.000000000000 1.000000000000 0.000000000000 -0.119908630848
0.000000000000 0.000000000000 1.000000000000 0.000000000000
0.000000000000 0.000000000000 0.000000000000 1.000000000000
=> So with a shift of + 1.36 and - 0.12, respectivelly in the x and y directions, the new xy coordinates should be (633171.41 ; 5388211.51)
My problem is when I save in ASCII format, the translation is not applied to the point cloud. It is applied only when I save in BIN CC native format, but I need it in ASCII format for processing in other programs.
When I use another equivalent function in Menu Edit / Edit Global Shift and then save in ASCII format, the translation is not applied either !?
The only way to keep it is through Apply Transformation and save in BIN CC format
A hint is that I should probably change the box center ? How can I do that ?
-> After Edit / Apply Transformation and save as Bin CC format
Box center :
X: 1.31971
Y: -0.0699091
Z: 117.285
Global shift : (-633170.05;-5388211.59;0.00)
-> After Edit global shift and save as ASCII format
Box center :
X: -0.04
Y: 0.0500002
Z: 117.285
Global shift : (-633171.41;-5388211.47;0.00)
Thanks in advance for your help
Cheers !
Nathalie
I loaded in Cloud Compare (CC) a georeferenced Terrestrial Laser Scanning (TLS) point cloud with a center of xyz coordinates in UTM Zone 19 N (633170.05 ; 5 388 211.63 ; 107.38)
When I'm asked to recenter the cloud because the coordinates are too big, I said "Yes to all" and this is what I obtained :
Box center :
X: -0.04
Y: 0.0500002
Z: 117.285
Global shift : (-633170.05;-5388211.59;0.00)
I applied a slight translation matrix in the horizontal xy plane with the function of the Menu Edit / Apply Transformation :
1.000000000000 0.000000000000 0.000000000000 1.359704971313
0.000000000000 1.000000000000 0.000000000000 -0.119908630848
0.000000000000 0.000000000000 1.000000000000 0.000000000000
0.000000000000 0.000000000000 0.000000000000 1.000000000000
=> So with a shift of + 1.36 and - 0.12, respectivelly in the x and y directions, the new xy coordinates should be (633171.41 ; 5388211.51)
My problem is when I save in ASCII format, the translation is not applied to the point cloud. It is applied only when I save in BIN CC native format, but I need it in ASCII format for processing in other programs.
When I use another equivalent function in Menu Edit / Edit Global Shift and then save in ASCII format, the translation is not applied either !?
The only way to keep it is through Apply Transformation and save in BIN CC format
A hint is that I should probably change the box center ? How can I do that ?
-> After Edit / Apply Transformation and save as Bin CC format
Box center :
X: 1.31971
Y: -0.0699091
Z: 117.285
Global shift : (-633170.05;-5388211.59;0.00)
-> After Edit global shift and save as ASCII format
Box center :
X: -0.04
Y: 0.0500002
Z: 117.285
Global shift : (-633171.41;-5388211.47;0.00)
Thanks in advance for your help
Cheers !
Nathalie