Bsoft 2.1.4
Bernard's software package
pocs_tool.cpp File Reference
#include "pocs_tool.h"
#include "fft_tool.h"

Functions

int filter_sin_mask (Bimage *p, int n_cicli, float r_max, Bimage *pmask, int piano, int tipo, int first)
 
int restore_with_mask (Bimage *p, Bimage *pcopia, Bimage *pmask, int linea, int tipo)
 
int copy_sin (Bimage *p)
 Copy the second half of a sinogram from the first one. More...
 
int copy_phi (Bimage *pelab, Bimage *p, int i)
 
int filter_bessel (Bimage *p, int r, int first)
 
int filter_X_mask (Bimage *p, Bimage *pmask, int n_cicli, float r_maxx, int passata)
 
int support_f (Bimage *p, float rmax)
 

Detailed Description

Author
P.L. Bellon, F. Cantele and S. Lanzavecchia Dip. Chimica Strutturale e Stereochimica Inorganica Via Venezian 21, 20133 Milano, Italy
Date
Created: 7 04 2003
Modified: 07 07 2005

Function Documentation

◆ copy_phi()

int copy_phi ( Bimage pelab,
Bimage p,
int  i 
)
Parameters
*pelab
*p
i
Returns
int 0

◆ copy_sin()

int copy_sin ( Bimage p)

Copy the second half of a sinogram from the first one.

Parameters
*psinogram
Returns
int 0

◆ filter_bessel()

int filter_bessel ( Bimage p,
int  r,
int  first 
)
Parameters
*p
r
first
Returns
int 0

◆ filter_sin_mask()

int filter_sin_mask ( Bimage p,
int  n_cicli,
float  r_max,
Bimage pmask,
int  piano,
int  tipo,
int  first 
)
Parameters
*pRadon transform
n_ciclinumber of cicles to do
r_maxmaximun ray of the object
*pmaskmask
pianonumber of plane processed
tipocan be 0 or 1
first
Returns
int 0

◆ filter_X_mask()

int filter_X_mask ( Bimage p,
Bimage pmask,
int  n_cicli,
float  r_maxx,
int  passata 
)
Parameters
*pRadon transform
*pmaskmask
n_ciclinumber of cicles to do
r_maxxmaximun ray of the object
passatacan be 0 or 1
Returns
int 0

◆ restore_with_mask()

int restore_with_mask ( Bimage p,
Bimage pcopia,
Bimage pmask,
int  linea,
int  tipo 
)
Parameters
*pRadon transform
*pcopiatemporary array
*pmaskmask
linea
tipo
Returns
int 0

◆ support_f()

int support_f ( Bimage p,
float  rmax 
)
Parameters
*p
rmax
Returns
int 0