https://github.com/mehdihosseinimoghadam/knn-heat-transfer
AN easy implementation of heat transfer for point cloud data just using the KNN algorithm.
https://github.com/mehdihosseinimoghadam/knn-heat-transfer
Last synced: 4 months ago
JSON representation
AN easy implementation of heat transfer for point cloud data just using the KNN algorithm.
- Host: GitHub
- URL: https://github.com/mehdihosseinimoghadam/knn-heat-transfer
- Owner: mehdihosseinimoghadam
- License: mit
- Created: 2020-12-08T19:12:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-08T19:49:29.000Z (over 4 years ago)
- Last Synced: 2025-01-14T04:43:22.799Z (5 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 1.58 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KNN heat transfer
AN easy implementation of heat transfer for point cloud data with out any need to solve the heat equation or laplacian, just using the KNN algorithm.
This can be used in Data science, computational geometry (e.g. [Vector Heat Method](https://www.cs.cmu.edu/~kmcrane/Projects/VectorHeatMethod/paper.pdf)
) and mechanical engineering.
```python
##import your point cloud data
plydata = PlyData.read("./bun_zipper_res2.ply")
point = np.vstack((
plydata['vertex']['x'],
plydata['vertex']['y'],
plydata['vertex']['z']
)).T
## feed point cloud to diffuse functionpoints = pd.DataFrame(point)
(data,indices) = diffuse(points,1,70,10)
````
