Bsoft  2.1.0
Bernard's software package
img_radon.h
Go to the documentation of this file.
1 /*
2  img_radon.h
3  Header file for Radon transform functions.
4  Author: Bernard Heymann, Salvatore Lanzavecchia and Francesca Cantele
5  Created: 20010519
6  Modified: 20160728 (BH)
7 */
8 
9 #include "mg_processing.h"
10 #include "symmetry.h"
11 #include "rwimg.h"
12 
13 /* Function prototypes */
14 Bimage *img_radon_transform(Bimage *p, int type, int nkernel, int kernel_power, int padd, int ntheta);
15 Bimage *img_radon_inverse_transform(Bimage *p, int type, int nkernel, int kernel_power, int padd);
16 int img_radon_pocs_filter(Bimage *p, int n_cyc_out, int n_cyc_in, double rad_3D, double rad_plane, int support, Bimage *pmask);
17 Bimage *img_radon_reconstruction(Bproject *project, Bsymmetry *sym, Bstring& file_mask, int rec_size, int ntheta, int table_size, double threshold, Vector3<double> origin, int nkernel, int kernel_power);
18 int img_resize_to_next_power2(Bimage* p, int fill_type, double fill);
Bstring
Definition: Bstring.h:29
symmetry.h
Header file for general symmetry functions.
Vector3< double >
img_radon_pocs_filter
int img_radon_pocs_filter(Bimage *p, int n_cyc_out, int n_cyc_in, double rad_3D, double rad_plane, int support, Bimage *pmask)
Filters a radon transform using the POCS method.
Definition: img_radon.cpp:221
img_resize_to_next_power2
int img_resize_to_next_power2(Bimage *p, int fill_type, double fill)
Resizes without interpolation or rescaling to the next power of 2.
Definition: img_radon.cpp:459
Bsymmetry
Definition: symmetry.h:38
img_radon_transform
Bimage * img_radon_transform(Bimage *p, int type, int nkernel, int kernel_power, int padd, int ntheta)
Calculates the Radon transform of an image.
Definition: img_radon.cpp:54
project
Bproject * project
Definition: bshow.cpp:33
Bimage
General image parameter class.
Definition: Bimage.h:177
Bproject
Definition: mg_processing.h:336
rwimg.h
Header file for 2D and 3D image I/O.
mg_processing.h
Header file for micrograph processing.
img_radon_inverse_transform
Bimage * img_radon_inverse_transform(Bimage *p, int type, int nkernel, int kernel_power, int padd)
Calculates a 3D image from a Radon transform.
Definition: img_radon.cpp:141
img_radon_reconstruction
Bimage * img_radon_reconstruction(Bproject *project, Bsymmetry *sym, Bstring &file_mask, int rec_size, int ntheta, int table_size, double threshold, Vector3< double > origin, int nkernel, int kernel_power)
Reconstructs a Radon transform from a set of projections.
Definition: img_radon.cpp:292