#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <assert.h>
#include <float.h>
#include <fftw3.h>
#include <time.h>
#include "quilting.h"
#include "patch_search.h"
#include "boundary_cut.h"
#include "blending.h"
#include "random_number.h"
Go to the source code of this file.
Macro Definition Documentation
#define omp_get_thread_num |
( |
| ) |
0 |
Function Documentation
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.
- Author
- Lara Raad
- Parameters
-
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 |
- Date
- 24/05/2012
Definition at line 54 of file quilting.c.