Nonlinear Cartoon + Texture decomposition


% nonlinear cartoon/texture decomposition


* Author    : Antoni Buades <>
* Copyright : (C) 2009, 2010 IPOL Image Processing On Line
* Licence   : GPL v3+, see GPLv3.txt


This source code provides an implementation of the nonlinear
cartoon+texture decomposition, as described in IPOL

This program reads and writes PNG images, but can be easily
adapted to any other file format.

Only 8bit RGB PNG images are handled. Other TIFF files are implicitly
converted to 8bit color RGB.


The code is written in ANSI C and C++, and should compile on any
system with an ANSI C/C++ compiler.

The libpng header and libraries are required on the system for
compilation and execution. 


Simply use the provided makefile, with the command `make`.


`cartoonIpol` takes 4 parameters: `cartoonIpol in.png sigma cartoon.png texture.png`
* `sigma`     : the scale parameter
* `in.png`   : input image
* `cartoon.png`  : output image without the textures
* `textures.png` : textures (out - in, bounded to [-20, 20])


Copyright 2009, 2010 IPOL Image Processing On Line
Author: Antoni Buades <>

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without any warranty.
 All Files Functions Variables Defines
Generated on Sat Aug 13 01:55:42 2011 for Nonlinear cartoon+texture decomposition by  doxygen 1.6.3