Python tool for approximate 3d points using Bspline surface.
- Python 2.7
- Numpy 1.11
- SciPy 0.18
- GnuPlot 5.0
- Python OCC 0.17
python ./src/main.py -f ./conf.yaml
PYTHONPATH=$PWD/src py.test tests
Python tool for approximate 3d points using Bspline surface
When quad is defined, then differences between approximation and terrain can't be visualized now, because differences are computed only for cropped part of terrain.
Implement own approximation of terrain data.
Create binary of something that could be tested at Windows.
Implement faster calculating of points at surface. It is used for computing of differences and it is very slow, when QR or SVD method is used.
Print the biggest difference between B-Spline surface and original terrain. Add this option to configuration file.
Output approximated rivers (B-Spline curves) to output file format.
Add option to output differences to CSV text file.
When SVD method is computed, then there is applied simple filter. it si hardcoded now. Add value fo this filter to configuration file.
Make it possible to use QR method again.
Method method: chol
can't be used with combination with dense matrixes (sparse: false
) in configuration file. The program is terminated with following error:
Traceback (most recent call last):
File "./src/main.py", line 51, in <module>
main(parse_arguments())
File "./src/main.py", line 29, in main
terrain.approximate_terrain()
File "/home/jiri/GitHub/bapprox/src/terrain_data.py", line 302, in approximate_terrain
{'threshold': threshold})
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 886, in approx
return approx_chol(terrain_data, quad, u_knots, v_knots, sparse, conf['threshold'])
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 820, in approx_chol
c_mat = bb_mat + r * (bb_norm[0] / a_norm[0]) * a_mat
IndexError: invalid index to scalar variable.
Enable visualization of differences between terrain and b-spline surfaces again.
Make it possible to use SVD method again.
The "dok" format of sparse matrices is used for everything (assembling of matrices, computing) and it is not efficient. Try to use different formats.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.