Skip to content

tody411/InverseToon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inverse Toon Shading (Python)

Simple Python demos of Inverse Toon Shading [Xu et al. 2015].

Their main idea is using isophote, a contour of equal luminance. I would like to test each step of normal estimation process based on the isophote concept.

  1. Well-defined normals
    • Intersecting isophotes
  2. Isophote normals
    • 2D arc-length interpolation
    • Integrating 2D tangent direction
    • 3D projection
  3. Full normal field
    • Diffuse isophote normals
    • Project back to isophote constraint

Result

Status: Under construction.

Installation

Note: This program was only tested on Windows with Python2.7. Linux and Mac OS are not officially supported, but the following instructions might be helpful for installing on those environments.

Dependencies

Please install the following required python modules.

  • NumPy
  • SciPy
  • matplotlib
  • OpenCV
  • PyAMG

As these modules are heavily dependent on NumPy modules, please install appropriate packages for your development environment (Python versions, 32-bit or 64bit). For 64-bit Windows, you can download the binaries from Unofficial Windows Binaries for Python Extension Packages.

This program also uses docopt for CLI. docopt will be installed automatically through the following pip command for main modules.

Install main modules

Status: Under construction.

Usage

Status: Under construction.

API Document

API document will be managed by doxygen framework. Online version is provided in the following link:

For a local copy, please use the following doxygen command from doxygen directory.

  > doxygen doxygen_config

Future tasks

  • Complete implementation.
  • Update result section.

License

The MIT License 2015 (c) tody

About

Normal Filed from Inverse Toon Shading Mechanism

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages