Debian Codegraph @

src/cdrizzlebox.h

raw symbols SCIP
1 #ifndef CDRIZZLEBOX_H
2 #define CDRIZZLEBOX_H
3
4 #include "cdrizzlemap.h"
5 #include "cdrizzleutil.h"
6
7 /**
8 dobox
9
10 This module does the actual mapping of input flux to output images
11 using "boxer", a code written by Bill Sparks for FOC geometric
12 distortion correction, rather than the "drizzling" approximation.
13
14 This works by calculating the positions of the four corners of a
15 quadrilateral on the output grid corresponding to the corners of the
16 input pixel and then working out exactly how much of each pixel in the
17 output is covered, or not.
18
19 In V1.6 this was simplified to use the DRIVAL routine and also to
20 include some limited multi-kernel support.
21 */
22
23 integer_t
24 compute_bit_value(integer_t uuid);
25
26 int
27 dobox(struct driz_param_t *p);
28
29 double
30 compute_area(double is, double js, const double x[4], const double y[4]);
31 int
32 compute_pscale_ratio(struct driz_param_t *p, struct polygon *bounding_polygon, float *pscale_ratio);
33
34 double
35 boxer(double is, double js, const double x[4], const double y[4]);
36
37 typedef int (*kernel_handler_t)(struct driz_param_t *);
38
39 #endif /* CDRIZZLEBOX_H */