Bsoft  1.9
Bernard's software package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_ampweigh.h
Go to the documentation of this file.
1 
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <string.h>
12 #include <ctype.h>
13 #include <unistd.h>
14 #include <math.h>
15 #include <time.h>
16 #include "rwimg.h"
17 #include "ps_plot.h"
18 
19 // Function prototypes
21 int img_divide_by_fom(Bimage* p, double wiener);
22 int img_sqrt_amp(Bimage* p);
23 int img_square_amp(Bimage* p);
24 int img_weigh_amplitudes_with_C_curve(Bimage* p, double resolution) ;
25 int img_weigh_amplitudes_with_FSC_curve(Bimage* p, Bplot* plot, double resolution);
26 int img_weigh_amplitudes(Bimage* p, Bimage* pref, Bimage* pmask, double resolution);
27 int img_normalize_amplitudes(Bimage* p, Bimage* pmask, double resolution);
28 
int img_sqrt_amp(Bimage *p)
Change the amlitudes to their square roots.
int img_weigh_amplitudes_with_FSC_curve(Bimage *p, Bplot *plot, double resolution)
Weighs an image's amplitudes with a given FSC curve.
int img_weigh_amplitudes_with_C_curve(Bimage *p, double resolution)
Weighs an image's amplitudes with the carbon scattering curve.
General image parameter class.
Definition: Bimage.h:150
int img_weigh_amplitudes(Bimage *p, Bimage *pref, Bimage *pmask, double resolution)
Weighs an image's amplitudes with the radial power spectrum of another.
int img_multiply_by_fom(Bimage *p)
Weighs a set of reflections by its figure-of-merit.
int img_normalize_amplitudes(Bimage *p, Bimage *pmask, double resolution)
Normalizes an image's amplitudes.
Header file for postscript output functions.
Header file for 2D and 3D image I/O.
int img_square_amp(Bimage *p)
Change the amlitudes to their squares.
int img_divide_by_fom(Bimage *p, double wiener)
Divides an image by its figure-of-merit.
Definition: ps_plot.h:146