NPR-SFS  0.2
Sample implementations of Shape-From-Shading techniques for NPR.
 All Classes Namespaces Functions
npr_sfs.methods.lumo Namespace Reference

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']
 

Detailed Description

Lumo [Johnston et al.

2002].

Author
tody
Date
2015/07/29

Function Documentation

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.