Efros-Leung
Exemplar-basedtexturesynthesis(Efros-Leung)
Functions
inc/efros_leung.h File Reference

Efros-Leung texture synthesis. More...

#include "synthesis.h"
#include "auxiliary.h"

Go to the source code of this file.

Functions

Cimage efros_leung_synth (int t, int out_img_sz, float tol, int init, Cimage w, Cimage *map_out, Cimage *copy_map_out)
 Implements Efros-Leung texture synthesis algorithm for color images.
Gimage efros_leung_synth_gray (int t, int out_img_sz, float tol, int init, Gimage w, Cimage *map_out, Cimage *copy_map_out)
 Implements Efros-Leung texture synthesis algorithm for gray level images.

Detailed Description

Efros-Leung texture synthesis.

This file implements Efros & Leung's algorithm for texture synthesis for color images. It is described in "Texture synthesis by non-parametric sampling" by A. A. Efros and T. K. Leung. in International Conference on Computer Vision, pages 1033–1038, September 1999.

Author:
Cecilia Aguerrebere

This file implements Efros & Leung's algorithm for texture synthesis for gray level images. It is described in "Texture synthesis by non-parametric sampling" by A. A. Efros and T. K. Leung. in International Conference on Computer Vision, pages 1033–1038, September 1999.

Author:
Cecilia Aguerrebere

Function Documentation

Cimage efros_leung_synth ( int  t,
int  out_img_sz,
float  tol,
int  init,
Cimage  w,
Cimage map_out,
Cimage copy_map_out 
)

Implements Efros-Leung texture synthesis algorithm for color images.

Parameters:
tHalf-size of the patches.
out_img_szSize of the synthesized image.
tolTolerance parameter $\varepsilon$.
initIf non-zero, use a random patch of the image to initialize the algorithm.
wSample image.
map_outSynthesis map of the sample image.
copy_map_outSynthesis map of the output image.
Todo:
File efros_leung.c, function efros_leung_synth: arguments map_out et copy_map_out ?
Returns:
The synthesized image.
Gimage efros_leung_synth_gray ( int  t,
int  out_img_sz,
float  tol,
int  init,
Gimage  w,
Cimage map_out,
Cimage copy_map_out 
)

Implements Efros-Leung texture synthesis algorithm for gray level images.

Parameters:
tHalf-size of the patches.
out_img_szSize of the synthesized image.
tolTolerance parameter $\varepsilon$.
initIf non-zero, use a random patch of the image to initialize the algorithm.
wSample image.
map_outSynthesis map of the sample image.
copy_map_outSynthesis map of the output image.
Todo:
File efros_leung.c, function efros_leung_synth: arguments map_out et copy_map_out ?
Returns:
The synthesized image.
 All Classes Files Functions