📄 texlib.h
字号:
/*************************************************************************** * texlib.h * written by: Stephanie Wojtkowski * * Description: A library containing functions that perform the Wei-Levoy * texture synthesis method. * ------------------------------------------------------------------------- * GenerateTexture(input, r, c, output, h, w) * Inputs: input - original texture image * r - number of rows in input * c - number of columns in input * output - resulting texture image after Wei-Levoy * h - number of rows in output * w - number of columns in output * * Description: Given an image and the dimensions of the result, generates * a texture patch similar to the original of the given dimensions. ***************************************************************************/#define TEXLIB_H#ifdef TEXLIB_H#include <math.h>#include <stdlib.h>#include <stdio.h>#include "ppmIO.h"#include "tsvqlib.h"//#define DEBUGvoid GenerateTexture(Pixel *input, int r, int c, Pixel *output, int h, int w);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -