efros_freeman
0.1
|
this header file contains the main method of image quilting method. More...
#include "common.h"
Go to the source code of this file.
Functions | |
Image | quilting_synthesis (Image src_im, int patch_sz, int overlap_sz, int blocks_row, int blocks_col, float tolerance, Image *position_map, Image *synth_map, long *seed) |
this header file contains the main method of image quilting method.
Definition in file quilting.h.
Image quilting_synthesis | ( | Image | src_im, |
int | wp, | ||
int | wo, | ||
int | p_row, | ||
int | p_col, | ||
float | tol, | ||
Image * | position_map, | ||
Image * | synth_map, | ||
long * | seed | ||
) |
This method synthesizes a texture image quilting patches taken from an input sample texture.
src_im | The input texture sample |
wp | The size of the patches |
wo | The size of the overlap area betwenn patches |
p_row | Number of patches per row to paste in the synthesized img |
p_col | Number of patches per col to paste in the synthesized img |
tol | The threshold used to select patches from the input img |
Definition at line 54 of file quilting.c.