The default argument xyz_dtype of the function read_las in io/las.py which is called by PyntCloud.from_file is float32 .
However, it may cause the difference in precision, because the type of data is float64 (double) in matlab if you use lasFileReader.
In order to eliminate the difference, you can write it like this.
The default argument
xyz_dtype
of the functionread_las
inio/las.py
which is called byPyntCloud.from_file
isfloat32
. However, it may cause the difference in precision, because the type of data isfloat64
(double
) in matlab if you uselasFileReader
.In order to eliminate the difference, you can write it like this.
I think this issue needs to be mentioned in the docs.