surface-curvature | The project is to represent a surface | Computer Vision library
kandi X-RAY | surface-curvature Summary
kandi X-RAY | surface-curvature Summary
The project is to represent a surface in 3D, using the libraries of scipy, numpy in python. For the code to run : install numpy and scipy libraries of python. The maximum and the minimum curvatures of the surface are calculated and with the help of these curvatures The gaussian and the mean curvatures of a surface are calulated. The use of the gaussian curvature is to distinguish the surface points into distinct categories ie. elliptical points(K>0), hyperbolic points(K<0) and parabolic points (K=0). Gaussian and mean curvature are often used for visual inspection of surfaces.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Compute the surface curvature
- Function that calculates the gradient of the function .
surface-curvature Key Features
surface-curvature Examples and Code Snippets
Community Discussions
Trending Discussions on surface-curvature
QUESTION
For a project I am working on, I have successfully performed the SFM procedure on road image data, and have been able to generate a .ply file containing point cloud coordinates (X, Y, Z), RGB values, and normals (nx, ny, nz).
Now, I am interested in calculating curvature values for each point from the data I have. I have come across Surface Curvature MATLAB Equivalent in Python, but the implementation is said to work only when X, Y, and Z are 2D arrays.
Is Gaussian and Mean curvatures applicable if the road surface is very rough? Given, the (X,Y,Z) coordinate data of size NX3 and given the (nx,ny,nz) normal data of size NX3, how should I find the curvature? Is there a current implementation in Python?
...ANSWER
Answered 2017-Mar-02 at 18:41I'm actually writing a Python library for working with point clouds.
Using the raw point cloud, the only "curvature" concept I'm aware of is the one computed using the eigenvalues obtained from the neighbourhood of each point.
If that is what you mean, here is an example code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install surface-curvature
You can use surface-curvature like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page