CNF:Weighted Mesh To Image
Repository
Code
Summer 2020
Create a new image using the weights of:
- k-nearest-neighbors points for each pixel point.
- cell points for each pixel point. Note: If the pixel point is not inside a cell, then weights of the k-nearest-neighbor points will be used.
- the intersection of k-nearest-neighbors points and cell points for each pixel point.
Note: Each pixel value is calculated as a weighted mean of the values(weight) of the points. The distance of the pixel from each point is used for the mean-weights, where mean-weight[i] = 1 / (distance[i] ^ power).