CNF:Weighted Mesh To Image: Difference between revisions
Jump to navigation
Jump to search
Spyridon97 (talk | contribs) |
Spyridon97 (talk | contribs) |
||
| Line 24: | Line 24: | ||
=Examples= | =Examples= | ||
==Summer 2020== | ==Summer 2020== | ||
# Input Image | |||
# Input Mesh | |||
# KNN, number of points = 4, power = 1.5 | |||
[[File:NT-a_1-n_4_p1.5.png|500px|File:NT-a_1-n_4_p1.5.png]] | |||
## Mean Weighted pixel value difference: 0.000395461 | |||
## Average Hausdorff Distance: 0.030885 | |||
## Similarity Index: 0.986463 | |||
[[File:|500px|File:]] | |||
## Mean Weighted pixel value difference: | |||
## Average Hausdorff Distance: | |||
## Similarity Index: | |||
[[File:|500px|File:]] | |||
## Mean Weighted pixel value difference: | |||
## Average Hausdorff Distance: | |||
## Similarity Index: | |||
[[File:|500px|File:]] | |||
## Mean Weighted pixel value difference: | |||
## Average Hausdorff Distance: | |||
## Similarity Index: | |||
Revision as of 11:24, 10 June 2020
Repository
Code
Summer 2020
Create a new image using the weights of:
- k-nearest-neighbors points as values in a weighted-mean, were weight[i] = 1 / distance(pixel-point, neighbor-point[i]) ^ power.
- cell points as values in a weighted-mean, were weight[i] = 1 / distance(pixel-point, cell-point[i]) ^ power.
- Note: If the pixel point is not inside a cell, then the algorithm `1` will be used.
- the intersection set of k-nearest-neighbors points and cell points as values in a weighted-mean, were weight[i] = 1 / distance(pixel-point, intersection-point[i]) ^ power.
- Note 1: If the Intersection set is empty, then the algorithm `2` will be used.
- Note 2: If the pixel point is not inside a cell, then the algorithm `1` will be used.
- cell points as values in a weighted-mean, were weight[i] = probe-value[i] based on the location of each pixel point inside a cell. Probing values are result of FindCell function.
- Note: If the pixel point is not inside a cell, then the algorithm `1` will be used.
Comparison Metrics:
- Mean Weighted pixel value difference
- Average Hausdorff Distance (itk filter)
- Similarity Index (itk filter)
Examples
Summer 2020
- Input Image
- Input Mesh
- KNN, number of points = 4, power = 1.5
- Mean Weighted pixel value difference: 0.000395461
- Average Hausdorff Distance: 0.030885
- Similarity Index: 0.986463
[[File:|500px|File:]]
- Mean Weighted pixel value difference:
- Average Hausdorff Distance:
- Similarity Index:
[[File:|500px|File:]]
- Mean Weighted pixel value difference:
- Average Hausdorff Distance:
- Similarity Index:
[[File:|500px|File:]]
- Mean Weighted pixel value difference:
- Average Hausdorff Distance:
- Similarity Index: