mirror of
https://github.com/scottdraves/flam3.git
synced 2025-01-21 05:20:05 -05:00
moved #defines from filters.h to flam3.h so that they can be used by external programs
git-svn-id: https://flam3.googlecode.com/svn/trunk@162 77852712-ef1d-11de-8684-7d64432d61a3
This commit is contained in:
parent
16b94f9257
commit
026dba70a7
@ -23,27 +23,6 @@
|
|||||||
|
|
||||||
#define DE_THRESH 100
|
#define DE_THRESH 100
|
||||||
|
|
||||||
/* Spatial filter kernels */
|
|
||||||
#define flam3_gaussian_kernel 0
|
|
||||||
#define flam3_hermite_kernel 1
|
|
||||||
#define flam3_box_kernel 2
|
|
||||||
#define flam3_triangle_kernel 3
|
|
||||||
#define flam3_bell_kernel 4
|
|
||||||
#define flam3_b_spline_kernel 5
|
|
||||||
#define flam3_lanczos3_kernel 6
|
|
||||||
#define flam3_lanczos2_kernel 7
|
|
||||||
#define flam3_mitchell_kernel 8
|
|
||||||
#define flam3_blackman_kernel 9
|
|
||||||
#define flam3_catrom_kernel 10
|
|
||||||
#define flam3_hamming_kernel 11
|
|
||||||
#define flam3_hanning_kernel 12
|
|
||||||
#define flam3_quadratic_kernel 13
|
|
||||||
|
|
||||||
/* Temporal filters */
|
|
||||||
#define flam3_temporal_box 0
|
|
||||||
#define flam3_temporal_gaussian 1
|
|
||||||
#define flam3_temporal_exp 2
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int max_filtered_counts;
|
int max_filtered_counts;
|
||||||
int max_filter_index;
|
int max_filter_index;
|
||||||
|
23
src/flam3.h
23
src/flam3.h
@ -665,4 +665,27 @@ flam3_genome *sheep_edge(flam3_genome *cp, double blend, int seqflag, double sta
|
|||||||
#define CROSS_INTERPOLATE 1
|
#define CROSS_INTERPOLATE 1
|
||||||
#define CROSS_ALTERNATE 2
|
#define CROSS_ALTERNATE 2
|
||||||
|
|
||||||
|
/* Filters */
|
||||||
|
/* Spatial filter kernels */
|
||||||
|
#define flam3_gaussian_kernel 0
|
||||||
|
#define flam3_hermite_kernel 1
|
||||||
|
#define flam3_box_kernel 2
|
||||||
|
#define flam3_triangle_kernel 3
|
||||||
|
#define flam3_bell_kernel 4
|
||||||
|
#define flam3_b_spline_kernel 5
|
||||||
|
#define flam3_lanczos3_kernel 6
|
||||||
|
#define flam3_lanczos2_kernel 7
|
||||||
|
#define flam3_mitchell_kernel 8
|
||||||
|
#define flam3_blackman_kernel 9
|
||||||
|
#define flam3_catrom_kernel 10
|
||||||
|
#define flam3_hamming_kernel 11
|
||||||
|
#define flam3_hanning_kernel 12
|
||||||
|
#define flam3_quadratic_kernel 13
|
||||||
|
|
||||||
|
/* Temporal filters */
|
||||||
|
#define flam3_temporal_box 0
|
||||||
|
#define flam3_temporal_gaussian 1
|
||||||
|
#define flam3_temporal_exp 2
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user