Git Product home page Git Product logo

fontmorphing's Introduction

Font Morphing

Introduction

C++ implementation of "Automatic shape morphing for Chinese characters"[1]. Graduation Project at ICST, Peking University.

Given any two styles of fonts, automatic shape morphing technique can produce the morphing process of the two styles.

demo demonstration of font morphing [1]

Overview

The algorithm is composed of the following procedures:

  • template construction
  • correspondence finding
  • shape interpolation

algorithm overview algorithm overview [1]

See my undergraduate thesis for more details on principles and implementations.

Installation

Dependencies required by the program are:

  • OpenCV 2.3 and above
  • Eigen
  • Fade2D
  • SGCPD [2] (provided as a sub-project)

Developed and tested on VS 2010.

Usage

usage: fontmorphing : use the test data to demonstrate the program. fontmorphing : use the user specified data to do font morphing. Options are: : source image directory. one image file per character. : target image directory. one image file per character. <char name | char list> : a character file name, or a list of character file names. : output directory of blended character images. : 0~1 float.the morphing ratio between the two input fonts. : 'y'|'n'. Whether to display the morphing process.

See FontMorphingGUI if you want a graphical user interface.

Morphing GUI

References

[1] Lian Z, Xiao J. Automatic shape morphing for Chinese characters[C]//SIGGRAPH Asia 2012 Technical Briefs. ACM, 2012: 2. [2] Sun H, Lian Z, Tang Y, et al. Non-rigid point set registration for Chinese characters using structure-guided coherent point drift[C]//2014 IEEE International Conference on Image Processing (ICIP). IEEE, 2014: 4752-4756.

fontmorphing's People

Contributors

andong777 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.