/usr/include/astrometry/dimage.h is in libastrometry-dev 0.70+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef DIMAGE_H
#define DIMAGE_H
#include <stdint.h>
// this is only really included here so that it can be tested :)
typedef uint16_t dimage_label_t;
#define LABEL_MAX UINT16_MAX
dimage_label_t collapsing_find_minlabel(dimage_label_t label, dimage_label_t *equivs);
int dfind2(const int* image, int nx, int ny, int* objectimg, int* p_nobjects);
int dfind2_u8(const unsigned char* image, int nx, int ny, int* objectimg, int* p_nobjects);
float dselip(unsigned long k, unsigned long n, const float *arr);
void dselip_cleanup(void);
int dsmooth(float *image, int nx, int ny, float sigma, float *smooth);
void dsmooth2(float *image, int nx, int ny, float sigma, float *smooth);
void dsmooth2_u8(uint8_t *image, int nx, int ny, float sigma, float *smooth);
void dsmooth2_i16(int16_t *image, int nx, int ny, float sigma, float *smooth);
int dobjects(float *image, int nx, int ny, float limit,
float dpsf, int *objects);
int dmask(float *image, int nx, int ny, float limit,
float dpsf, uint8_t* mask);
int dpeaks(float *image, int nx, int ny, int *npeaks, int *xcen,
int *ycen, float sigma, float dlim, float saddle, int maxnpeaks,
int smooth, int checkpeaks, float minpeak);
int dcen3x3(float *image, float *xcen, float *ycen);
int dsigma(float *image, int nx, int ny, int sp, int gridsize, float *sigma);
int dsigma_u8(uint8_t *image, int nx, int ny, int sp, int gridsize, float *sigma);
int dmedsmooth(const float *image, const uint8_t *masked,
int nx, int ny, int halfbox, float *smooth);
int dallpeaks(float *image, int nx, int ny, int *objects, float *xcen,
float *ycen, int *npeaks, float dpsf, float sigma,
float dlim, float saddle,
int maxper, int maxnpeaks, float minpeak, int maxsize);
int dallpeaks_u8(uint8_t *image, int nx, int ny, int *objects, float *xcen,
float *ycen, int *npeaks, float dpsf, float sigma,
float dlim, float saddle,
int maxper, int maxnpeaks, float minpeak, int maxsize);
int dallpeaks_i16(int16_t *image, int nx, int ny, int *objects, float *xcen,
float *ycen, int *npeaks, float dpsf, float sigma,
float dlim, float saddle,
int maxper, int maxnpeaks, float minpeak, int maxsize);
#endif
|