TwiceAsNice
2019-02-18
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "imio.h"
#include "lwcs.h"
Macros | |
#define | ABS(a) ((a) < 0 ? (-(a)) : (a)) |
Functions | |
int | daoread () |
static int | HotPixel () |
static int | starRadius () |
static void | starCentroid () |
static int | BrightWalk () |
static double | FindFlux () |
static void | mean2d () |
static void | mean1d () |
static void | rotstar () |
void | setimcat (char *cat) |
char * | getimcat () |
void | setnspix (int nsp) |
void | setispix (int isp) |
void | setmaxwalk (int wmax) |
void | setburnedout (double bmax) |
void | setniterate (int nit) |
void | setstarsig (double sig) |
void | setborder (int brd) |
void | setmaxrad (int rmax) |
void | setminrad (int rmin) |
void | setbmin (double min) |
void | setminsep (int smin) |
void | setmirror (int mirror1) |
void | setrotate (int rotate1) |
int | FindStars (char *image, int w, int h, double **xa, double **ya, double **ba, int **pa, int **ra, int verbose, int zap) |
static int | HotPixel (char *image, int bitpix, int w, int h, double bz, double bs, int x, int y, double llimit) |
static int | starRadius (char *imp, int bitpix, int w, int h, double bz, double bs, int x0, int y0, double b, double rmax, double minsig, double background) |
static void | starCentroid (char *imp, int bitpix, int w, int h, double bz, double bs, int x0, int y0, double *xp, double *yp) |
static int | BrightWalk (char *image, int bitpix, int w, int h, double bz, double bs, int x0, int y0, int maxr, int *xp, int *yp, double *bp) |
static void | mean2d (char *image, int bitpix, int w, int h, double bz, double bs, int x1, int x2, int y1, int y2, double *mean, double *sigma) |
static void | mean1d (double *sv1, double *sv2, double *mean, double *sigma) |
static double | FindFlux (char *image, int bitpix, int w, int h, double bz, double bs, int x0, int y0, int r, double background, int zap) |
static void | rotstar (int nstars, double *xa, double *ya, int w, int h) |
Variables | |
static char | imcatname [256] = "" |
static int | nspix = NSTATPIX |
static int | ispix = ISTATPIX |
static int | maxw = MAXWALK |
static double | burnedout = BURNEDOUT |
static int | niterate = NITERATE |
static double | starsig = STARSIGMA |
static int | fsborder = BORDER |
static int | maxrad = MAXRAD |
static int | minrad = MINRAD |
static double | bmin = MINPEAK |
static int | minsep = MINSEP |
static int | mirror = 0 |
static int | rotate = 0 |
static int | dx [8] ={1,0,-1,1,-1,1,0,-1} |
static int | dy [8] ={1,1,1,0,0,-1,-1,-1} |
#define ABS | ( | a | ) | ((a) < 0 ? (-(a)) : (a)) |
|
static |
|
static |
int daoread | ( | ) |
|
static |
|
static |
int FindStars | ( | char * | image, |
int | w, | ||
int | h, | ||
double ** | xa, | ||
double ** | ya, | ||
double ** | ba, | ||
int ** | pa, | ||
int ** | ra, | ||
int | verbose, | ||
int | zap | ||
) |
char* getimcat | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void setbmin | ( | double | min | ) |
void setborder | ( | int | brd | ) |
void setburnedout | ( | double | bmax | ) |
void setimcat | ( | char * | cat | ) |
void setispix | ( | int | isp | ) |
void setmaxrad | ( | int | rmax | ) |
void setmaxwalk | ( | int | wmax | ) |
void setminrad | ( | int | rmin | ) |
void setminsep | ( | int | smin | ) |
void setmirror | ( | int | mirror1 | ) |
void setniterate | ( | int | nit | ) |
void setnspix | ( | int | nsp | ) |
void setrotate | ( | int | rotate1 | ) |
void setstarsig | ( | double | sig | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |