Xmipp
v3.23.11-Nereus
xmipp
libraries
reconstruction
radon.h
Go to the documentation of this file.
1
/***************************************************************************
2
*
3
* Authors: Carlos Oscar S. Sorzano (coss@cnb.csic.es)
4
*
5
* Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20
* 02111-1307 USA
21
*
22
* All comments concerning this program package may be sent to the
23
* e-mail address 'xmipp@cnb.csic.es'
24
***************************************************************************/
25
/* This file contains functions related to the Radon Transform */
26
27
/* Prototypes -------------------------------------------------------------- */
28
/* ------------------------------------------------------------------------- */
29
/* Radon Transform */
30
/* ------------------------------------------------------------------------- */
31
/* The Radon transform is computed in two steps: */
32
/* 1) Projection 2D of the volume in a direction perpendicular to the one */
33
/* we want to compute the RT */
34
/* 2) Projection 1D of the 2D projection along the RT direction */
35
/* INPUT */
36
/* vol: volume we want to compute the Radon Transform */
37
/* (x,y,z): direction along which the Radon Transform will be */
38
/* calculated */
39
/* normalize: if some bits are 1 then the RT will be normalized */
40
/* bit 0, in a statistical way (avg=0, stddev=1) */
41
/* for the Projection 2D */
42
/* bit 1, in a range way (0,1) for the proj. 1D */
43
/* OUTPUT */
44
/* RT: Radon Transform. It is supposed to be already */
45
/* allocated */
46
47
#ifndef _RADON_HH
48
#define _RADON_HH
49
50
#include <
core/xmipp_image.h
>
51
55
void
Radon_Transform
(
const
MultidimArray<double>
&vol,
double
rot,
double
psi
,
56
MultidimArray<double>
&RT);
57
59
void
Local_Radon_Transform
(
const
MultidimArray<double>
&vol,
double
rot,
double
tilt,
60
int
label,
const
MultidimArray<double>
&vol_label,
61
MultidimArray<double>
&RT,
MultidimArray<double>
&RT_n);
62
64
void
Radon_Transform
(
const
MultidimArray<double>
&I,
double
rot_step,
65
MultidimArray<double>
&RT);
66
#endif
MultidimArray< double >
Radon_Transform
void Radon_Transform(const MultidimArray< double > &vol, double rot, double psi, MultidimArray< double > &RT)
Definition:
radon.cpp:30
xmipp_image.h
Local_Radon_Transform
void Local_Radon_Transform(const MultidimArray< double > &vol, double rot, double tilt, int label, const MultidimArray< double > &vol_label, MultidimArray< double > &RT, MultidimArray< double > &RT_n)
Definition:
radon.cpp:51
alglib::psi
double psi(const double x)
Definition:
specialfunctions.cpp:2492
Generated by
1.8.13