~ubuntu-branches/ubuntu/trusty/vips/trusty-proposed

« back to all changes in this revision

Viewing changes to libvips/include/vips/freq_filt.h

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2014-03-29 12:29:29 UTC
  • mfrom: (1.1.21) (30.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20140329122929-fvxnaann32ex0gzk
Tags: 7.38.5-2
Enable dh-autoreconf. (Closes: #742872)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* freq_filt.h
2
 
 *
3
 
 * 2/11/09
4
 
 *      - from proto.h
5
 
 */
6
 
 
7
 
/*
8
 
 
9
 
    This file is part of VIPS.
10
 
    
11
 
    VIPS is free software; you can redistribute it and/or modify
12
 
    it under the terms of the GNU Lesser General Public License as published by
13
 
    the Free Software Foundation; either version 2 of the License, or
14
 
    (at your option) any later version.
15
 
 
16
 
    This program is distributed in the hope that it will be useful,
17
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 
    GNU Lesser General Public License for more details.
20
 
 
21
 
    You should have received a copy of the GNU Lesser General Public License
22
 
    along with this program; if not, write to the Free Software
23
 
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24
 
    02110-1301  USA
25
 
 
26
 
 */
27
 
 
28
 
/*
29
 
 
30
 
    These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
31
 
 
32
 
 */
33
 
 
34
 
#ifndef IM_FREQ_H
35
 
#define IM_FREQ_H
36
 
 
37
 
#ifdef __cplusplus
38
 
extern "C" {
39
 
#endif /*__cplusplus*/
40
 
 
41
 
#include <vips/vips.h>
42
 
 
43
 
typedef enum {
44
 
        VIPS_MASK_IDEAL_HIGHPASS = 0,
45
 
        VIPS_MASK_IDEAL_LOWPASS = 1,
46
 
        VIPS_MASK_BUTTERWORTH_HIGHPASS = 2,
47
 
        VIPS_MASK_BUTTERWORTH_LOWPASS = 3,
48
 
        VIPS_MASK_GAUSS_HIGHPASS = 4,
49
 
        VIPS_MASK_GAUSS_LOWPASS = 5,
50
 
 
51
 
        VIPS_MASK_IDEAL_RINGPASS = 6,
52
 
        VIPS_MASK_IDEAL_RINGREJECT = 7,
53
 
        VIPS_MASK_BUTTERWORTH_RINGPASS = 8,
54
 
        VIPS_MASK_BUTTERWORTH_RINGREJECT = 9,
55
 
        VIPS_MASK_GAUSS_RINGPASS = 10,
56
 
        VIPS_MASK_GAUSS_RINGREJECT = 11,
57
 
 
58
 
        VIPS_MASK_IDEAL_BANDPASS = 12,
59
 
        VIPS_MASK_IDEAL_BANDREJECT = 13,
60
 
        VIPS_MASK_BUTTERWORTH_BANDPASS = 14,
61
 
        VIPS_MASK_BUTTERWORTH_BANDREJECT = 15,
62
 
        VIPS_MASK_GAUSS_BANDPASS = 16,
63
 
        VIPS_MASK_GAUSS_BANDREJECT = 17,
64
 
 
65
 
        VIPS_MASK_FRACTAL_FLT = 18
66
 
} VipsMaskType;
67
 
 
68
 
int im_fwfft( VipsImage *in, VipsImage *out );
69
 
int im_invfft( VipsImage *in, VipsImage *out );
70
 
int im_invfftr( VipsImage *in, VipsImage *out );
71
 
 
72
 
int im_freqflt( VipsImage *in, VipsImage *mask, VipsImage *out );
73
 
int im_disp_ps( VipsImage *in, VipsImage *out );
74
 
int im_phasecor_fft( VipsImage *in1, VipsImage *in2, VipsImage *out );
75
 
 
76
 
int im_flt_image_freq( VipsImage *in, VipsImage *out, VipsMaskType flag, ... );
77
 
int im_create_fmask( VipsImage *out, 
78
 
        int xsize, int ysize, VipsMaskType flag, ... );
79
 
int im_fractsurf( VipsImage *out, int size, double frd );
80
 
 
81
 
#ifdef __cplusplus
82
 
}
83
 
#endif /*__cplusplus*/
84
 
 
85
 
#endif /*IM_FREQ_H*/