| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_fourier.h
Go to the documentation of this file.
1
10 #include "rwimg.h"
11 #include "fft.h"
12
13 /* Function prototypes */
14 Bimage* img_cross_correlate(Bimage* p1, Bimage* p2, double hires, double lores, Bimage* pmask);
15 Bimage* img_cross_correlate(Bimage* p1, Bimage* p2, double hires, double lores,
16 Bimage* pmask, fft_plan planf, fft_plan planb);
17 int img_find_shift(Bimage* pref, Bimage* p, Bimage* pmask, double hires,
18 double lores, double radius, double sigma, int refine_flag);
19 int img_find_shift(Bimage* pref, Bimage* p, Bimage* pmask, double hires,
20 double lores, double radius, double sigma, int refine_flag,
21 fft_plan planf, fft_plan planb);
22 int img_find_peak(Bimage* p, double radius, double sigma);
23 int img_refine_peak(Bimage* pc);
24 float* img_cc_confidence(Bimage* p);
25 Bimage* img_phase_difference(Bimage* p1, Bimage* p2, double resolution_hi, double resolution_lo);
26 double img_average_phase_difference(Bimage* p1, Bimage* p2,
27 double resolution_hi, double resolution_lo, int weighting);
28 int img_flip_phases(Bimage* p, Bimage* pd);
img_phase_difference
Bimage * img_phase_difference(Bimage *p1, Bimage *p2, double resolution_hi, double resolution_lo)
Calculates the cosine of the phase difference between two images.
Definition: img_fourier.cpp:479
img_find_peak
int img_find_peak(Bimage *p, double radius, double sigma)
Finds the peak in an image to the nearest voxel.
Definition: img_fourier.cpp:262
img_refine_peak
int img_refine_peak(Bimage *pc)
Refines the position of a peak to sub-voxel resolution.
Definition: img_fourier.cpp:341
Bimage
General image parameter class.
Definition: Bimage.h:132
img_cc_confidence
float * img_cc_confidence(Bimage *p)
fftwnd_data
Definition: fftw.h:355
img_flip_phases
int img_flip_phases(Bimage *p, Bimage *pd)
Flips the phases of an image based on a phase difference map.
Definition: img_fourier.cpp:666
img_find_shift
int img_find_shift(Bimage *pref, Bimage *p, Bimage *pmask, double hires, double lores, double radius, double sigma, int refine_flag)
Calculates a cross-correlation map to find the shift for the pair of images.
Definition: img_fourier.cpp:154
rwimg.h
Header file for 2D and 3D image I/O.
img_average_phase_difference
double img_average_phase_difference(Bimage *p1, Bimage *p2, double resolution_hi, double resolution_lo, int weighting)
Calculates the average of the cosine of the phase difference between two images within given resoluti...
Definition: img_fourier.cpp:570
fft.h
General FFT for n-dimensional data.
img_cross_correlate
Bimage * img_cross_correlate(Bimage *p1, Bimage *p2, double hires, double lores, Bimage *pmask)
Calculates a cross-correlation map by Fast Fourier transformation.
Definition: img_fourier.cpp:45