Skip to content

Poisson filling shader for OpenFrameworks

License

Notifications You must be signed in to change notification settings

design-io/ofxPoissonFill

This branch is 2 commits ahead of LingDong-/ofxPoissonFill:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d01e636 · Jun 21, 2022

History

9 Commits
May 12, 2020
May 12, 2020
Jun 21, 2022
May 12, 2020
May 12, 2020
May 12, 2020
May 12, 2020
May 12, 2020
May 12, 2020
May 12, 2020

Repository files navigation

ofxaddons_thumbnail

ofxPoissonFill

Poisson filling shader for OpenFrameworks

  • Uses GLSL shader
  • Uses convolution pyramid algorithm
  • Fast
  • Header-only

Snip20200511_9

Installation

Drop the folder into OF_ROOT/addons. Done!

Or even simpler, copy paste src/ofxPoissonFill.hpp directly to your own src folder.

Usage

PoissonFill pf;

ofTexture tex; 

// prepare your image here...

// allocate necessary datastructures (once)
pf.init(tex.getWidth(), tex.getHeight());

// process the image
pf.process(tex);

// draw processed image
pf.getTexture().draw(0,0);

See also example, API Documentation

Reference

Developed at Frank-Ratchye STUDIO for Creative Inquiry at Carnegie Mellon University.

About

Poisson filling shader for OpenFrameworks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.0%
  • Makefile 31.0%