Bsoft  1.9
Bernard's software package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_align.h
Go to the documentation of this file.
1 
9 #include "rwimg.h"
10 #include "fft.h"
11 #include "Transform.h"
12 
13 #define NANG 16
14 #define NPOLANG 720
15 
16 // Function prototypes
17 Transform img_align(Bimage* p1, Bimage* p2, Vector3<int> tile_size,
18  double res_lo, double res_hi, double max_shift, int filter_flag, int refine_flag);
19 double img_align2D_pps(Bimage* p, Bimage* pref, int fullasu,
20  double res_hi, double res_lo, double shift_limit, fft_plan planf, fft_plan planb);
21 double img_align2D(Bimage* p, Bimage* pref, int fullasu, double res_polar,
22  int ann_min, int ann_max, Bimage* pmask, double shift_limit,
23  fft_plan planf_1D, fft_plan planb_1D, fft_plan planf_2D, fft_plan planb_2D);
24 int img_align2D(Bimage* p, Bimage* pref, int ann_min, int ann_max,
25  double res_lo, double res_hi, double shift_limit);
26 double img_correlate_annuli(Bimage* pol, Bimage* polref, int fullasu,
27  int ann_min, int ann_max, fft_plan planf, fft_plan planb, double& cc_max);
28 
double img_correlate_annuli(Bimage *pol, Bimage *polref, int fullasu, int ann_min, int ann_max, fft_plan planf, fft_plan planb, double &cc_max)
Correlate annuli of a polar image.
Definition: img_align.cpp:558
Class for a generalized transform object.
General image parameter class.
Definition: Bimage.h:152
Transform img_align(Bimage *p1, Bimage *p2, Vector3< int > tile_size, double res_lo, double res_hi, double max_shift, int filter_flag, int refine_flag)
Aligns the second image to the first.
Definition: img_align.cpp:152
double img_align2D(Bimage *p, Bimage *pref, int fullasu, double res_polar, int ann_min, int ann_max, Bimage *pmask, double shift_limit, fft_plan planf_1D, fft_plan planb_1D, fft_plan planf_2D, fft_plan planb_2D)
Finds the best in-plane alignment for two 2D images using polar power spectra.
Definition: img_align.cpp:417
double img_align2D_pps(Bimage *p, Bimage *pref, int fullasu, double res_hi, double res_lo, double shift_limit, fft_plan planf, fft_plan planb)
Finds the best in-plane alignment for two 2D images using polar power spectra.
Definition: img_align.cpp:319
Header file for 2D and 3D image I/O.
General FFT for n-dimensional data.