|
NPR-SFS
0.2
Sample implementations of Shape-From-Shading techniques for NPR.
|
Lumo [Johnston et al. More...
Functions | |
| def | computeSilhouetteNormal |
| Silhouette normal from the alpha mask. More... | |
| def | normalConstraints |
| Normal constraints from the alpha mask and the initial normal. More... | |
| def | solveMG |
| def | estimateNormal |
| def | showResult |
| def | saveResult |
| def | main |
Variables | |
| tuple | logger = getLogger(__name__) |
| tuple | args = docopt(__doc__) |
| list | input_file = args['<input>'] |
| list | output_file = args['--output'] |
| list | quiet = args['--quiet'] |
Lumo [Johnston et al.
2002].
| def npr_sfs.methods.lumo.computeSilhouetteNormal | ( | A_8U, | |
sigma = 7.0 |
|||
| ) |
Silhouette normal from the alpha mask.
| def npr_sfs.methods.lumo.normalConstraints | ( | A_8U, | |
| N0_32F, | |||
alpha_th = 20, |
|||
w_sil = 1e+10 |
|||
| ) |
Normal constraints from the alpha mask and the initial normal.