Skip to content

somecho/ofxPoissonFiller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ofxPoissonFiller

An OpenFrameworks addon for poisson filling based on convolution pyramids (Farbman et al, 2011).

glyphs.mp4

This add on is header only, inspired by ofxPoissonFill, but unlike ofxPoissonFill, uses GL_RGBA32F textures.

Usage

PoissonFiller pf;
ofFbo fbo;

// ofApp::setup
// ofxPoissonFiller only takes GL_RGBA32F textures
fbo.allocate(_WIDTH, _HEIGHT, GL_RGBA32F);
pf.init(fbo.getWidth(), fbo.getHeight())

// ofApp::update
pf.process(fbo);

// ofApp::draw
pf.getResult().draw(0,0);

Reference

This addon is not a re-implementation of the convolution pyramid algorithm from scratch, but is an effort to port existing to work into OpenFrameworks.

This addon is heavily based on:

For further reading: