Comments (3)
This is not a solution, but @sanak helped me to make an automated testing in my computer.
I have in my computer a directory with the lion and the the results of running the converter:
#[BIN]
./PotreeConverter lion_takanawa.las -s 0.15 -l 3 -o bin --output-format BINARY > stats/binStats.txt
#[LAS]
./PotreeConverter lion_takanawa.las -s 0.15 -l 3 -o las --output-format LAS > stats/lasStats.txt
this is the directory:
drwxr-xr-x 4 mapas users 4096 ago 2 21:49 bin
-rw-r--r-- 1 mapas users 552 ago 2 21:51 compare.sh
drwxr-xr-x 4 mapas users 4096 ago 2 21:12 las
-rw-r--r-- 1 mapas users 30030774 ago 20:55 lion_takanawa.7z
-rw-r--r-- 1 mapas users 118397431 jun 3 2014 lion_takanawa.las
The compare.sh does the same convertions, but I store in a different directory, and diff compare directories, I also diff compare all the statistics that come from the command.
# [BINARY]
./PotreeConverter lion_takanawa.las -s 0.15 -l 3 -o binTest --output-format BINARY > stats/binStatsTest.txt
#[LAS]
./PotreeConverter lion_takanawa.las -s 0.15 -l 3 -o lasTest --output-format LAS > stats/lasStatsTest.txt
#[LAZ] -- doesnt work for ubuntu
#PotreeConverter lion_takanawa.las -s 0.15 -l 3 -o laz --output-format LAZ
echo comparing binary stats
diff stats/binStats.txt stats/binStatsTest.txt
echo comparing las stats
diff stats/lasStats.txt stats/lasStatsTest.txt
echo comparing BINARY
diff -bur bin binTest
echo comparing LAS
diff -bur las lasTest
this is a run I made to make sure that the for-loop didn't modify the output:
$ sh compare.sh
comparing binary stats
28c28
< duration: 5.223s
---
> duration: 3.924s
comparing las stats
28c28
< duration: 4.973s
---
> duration: 4.032s
comparing BINARY
comparing LAS
(looks like it is a second faster... but if you really want to make an statistic of how much faster it is, more figures are needed and for each one at least 30 times needs to be executed under the same conditions, so that an average can be performed with a good degree of freedom and make a size / time relationship).
from potreeconverter.
For travis:
For testing, the tiger is a very complicated figure, A test is to be thought as "for this input I expect this output".
With simpler figures like:
Cube, pyramid, cone, sphere, cylinder.
- first its easier to check visually that the output is correct.
- so we expect the same output when code changes
- and a complex figure/map,
It needs to be considered that everything goes to the repository so take into account the size.
The input: the figures: they can be stored in zip/tar
The expected output: its a directory and it can be zip/tar
The script that does the checking in travis:
unzip/untar the input and output,
runs the commands,
does the comparison
prints out any difference.
from potreeconverter.
From the code I can see that there are several conversion that can be done, right now I only have the
las to las
las to binary
But all possible conversion combinations needs to be tested also
from potreeconverter.
Related Issues (20)
- unable to build PotreeConverter 2.1.1 in Ubuntu 22.04.2 LTS HOT 1
- How do I scale in 2.x?
- PotreeConverter.exe: slow output HOT 1
- Removed duplicated points are still included metadata
- PotreeConverter doesn't get past displaying a number of threads
- Converter Manual Testing Not Working/Picking Up Points HOT 1
- -- help & conversion progress
- Title converse
- type_error: [json.exception.type_error.302] type must be number, but is null HOT 4
- New single-file Potree format HOT 1
- Cannot load exported .dxf files into Civil 3D
- Stopping after creating chunks
- HTML page converted looks different in anything that is not chrome HOT 1
- Exit with code 3221225477 when Poisson-disk sampling
- Potree Converter not working with latest Potree Release HOT 1
- Issue While Building Potree 1.6 in Ubuntu 22.04 jammy version HOT 1
- 使用PotreeConverter_windows_x64转换成功后的点云无法显示
- the program is not recognized HOT 1
- Large Conversion Crashes at 100% - Not Duplicate Related HOT 2
- Converting coordinates after setting position of pointcloud to (0, 0, 0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from potreeconverter.