TwiceAsNice
2019-02-18
|
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "define.h"
#include "globals.h"
#include "prefs.h"
#include "image.h"
Functions | |
int | copyimage (picstruct *field, PIXTYPE *dest, int w, int h, int ix, int iy) |
void | addimage (picstruct *field, float *psf, int w, int h, int ix, int iy, float amplitude) |
int | copyimage_center (picstruct *field, PIXTYPE *dest, int w, int h, float x, float y) |
void | addimage_center (picstruct *field, float *psf, int w, int h, float x, float y, float amplitude) |
void | blankimage (picstruct *field, PIXTYPE *mask, int w, int h, int xmin, int ymin, PIXTYPE val) |
void | pasteimage (picstruct *field, PIXTYPE *mask, int w, int h, int xmin, int ymin) |
int | vignet_resample (float *pix1, int w1, int h1, float *pix2, int w2, int h2, float dx, float dy, float step2) |
void | addtobig (float *pixsmall, int wsmall, int hsmall, float *pixbig, int wbig, int hbig, int ix, int iy, float amplitude) |
void | addfrombig (float *pixbig, int wbig, int hbig, float *pixsmall, int wsmall, int hsmall, int ix, int iy, float amplitude) |
Variables | |
static float | interpm [INTERPW *INTERPW] |
void addfrombig | ( | float * | pixbig, |
int | wbig, | ||
int | hbig, | ||
float * | pixsmall, | ||
int | wsmall, | ||
int | hsmall, | ||
int | ix, | ||
int | iy, | ||
float | amplitude | ||
) |
void addimage | ( | picstruct * | field, |
float * | psf, | ||
int | w, | ||
int | h, | ||
int | ix, | ||
int | iy, | ||
float | amplitude | ||
) |
void addimage_center | ( | picstruct * | field, |
float * | psf, | ||
int | w, | ||
int | h, | ||
float | x, | ||
float | y, | ||
float | amplitude | ||
) |
void addtobig | ( | float * | pixsmall, |
int | wsmall, | ||
int | hsmall, | ||
float * | pixbig, | ||
int | wbig, | ||
int | hbig, | ||
int | ix, | ||
int | iy, | ||
float | amplitude | ||
) |
void blankimage | ( | picstruct * | field, |
PIXTYPE * | mask, | ||
int | w, | ||
int | h, | ||
int | xmin, | ||
int | ymin, | ||
PIXTYPE | val | ||
) |
int vignet_resample | ( | float * | pix1, |
int | w1, | ||
int | h1, | ||
float * | pix2, | ||
int | w2, | ||
int | h2, | ||
float | dx, | ||
float | dy, | ||
float | step2 | ||
) |