Xmipp
v3.23.11-Nereus
xmipp
legacy
libraries
reconstruction
tomo_align_refinement.h
Go to the documentation of this file.
1
/***************************************************************************
2
*
3
* Authors: Carlos Oscar coss@cnb.csic.es (2006)
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
#ifndef _PROG_ANGULAR_PREDICT_TOMOGRAPHY
26
#define _PROG_ANGULAR_PREDICT_TOMOGRPAHY
27
28
#include "
core/xmipp_image.h
"
29
#include "
core/xmipp_program.h
"
30
#include "
core/matrix2d.h
"
31
36
class
AlignmentTomography
37
{
38
public
:
39
double
rot
;
40
double
tilt
;
41
double
psi
;
42
double
x
;
43
double
y
;
44
double
corr
;
45
Matrix2D<double>
M
;
46
FileName
fn_img
;
47
FileName
fn_mask
;
48
49
AlignmentTomography
();
50
};
51
53
class
ProgTomoAlignRefinement
:
public
XmippProgram
54
{
55
public
:
57
FileName
fn_ref
;
59
FileName
fn_sel
;
61
FileName
fn_out
;
63
double
max_rot_change
;
65
double
max_tilt_change
;
67
double
max_psi_change
;
69
double
rot_step
;
71
double
tilt_step
;
73
double
psi_step
;
75
double
max_shift_change
;
77
double
shift_step
;
79
bool
adjustGray
;
81
bool
generateAligned
;
82
public
:
83
Image<double>
V
;
84
std::vector<AlignmentTomography>
list_of_assigned
;
85
public
:
87
void
readParams();
88
90
void
show();
91
93
void
defineParams();
94
97
void
produce_side_info();
98
102
void
predict_angles(
size_t
i
,
const
FileName
&fnImgOut);
103
105
void
run();
106
};
108
#endif
AlignmentTomography::fn_mask
FileName fn_mask
Definition:
tomo_align_refinement.h:47
ProgTomoAlignRefinement::generateAligned
bool generateAligned
Definition:
tomo_align_refinement.h:81
AlignmentTomography::M
Matrix2D< double > M
Definition:
tomo_align_refinement.h:45
ProgTomoAlignRefinement::list_of_assigned
std::vector< AlignmentTomography > list_of_assigned
Definition:
tomo_align_refinement.h:84
AlignmentTomography::psi
double psi
Definition:
tomo_align_refinement.h:41
AlignmentTomography::rot
double rot
Definition:
tomo_align_refinement.h:39
ProgTomoAlignRefinement::shift_step
double shift_step
Definition:
tomo_align_refinement.h:77
ProgTomoAlignRefinement::fn_sel
FileName fn_sel
Definition:
tomo_align_refinement.h:59
AlignmentTomography::tilt
double tilt
Definition:
tomo_align_refinement.h:40
ProgTomoAlignRefinement::tilt_step
double tilt_step
Definition:
tomo_align_refinement.h:71
ProgTomoAlignRefinement::fn_ref
FileName fn_ref
Definition:
tomo_align_refinement.h:57
FileName
Definition:
xmipp_filename.h:65
i
#define i
Definition:
numerical_recipes.cpp:2493
AlignmentTomography
Definition:
tomo_align_refinement.h:36
AlignmentTomography::y
double y
Definition:
tomo_align_refinement.h:43
Matrix2D< double >
ProgTomoAlignRefinement::max_tilt_change
double max_tilt_change
Definition:
tomo_align_refinement.h:65
xmipp_image.h
AlignmentTomography::AlignmentTomography
AlignmentTomography()
Definition:
tomo_align_refinement.cpp:34
xmipp_program.h
ProgTomoAlignRefinement::adjustGray
bool adjustGray
Definition:
tomo_align_refinement.h:79
ProgTomoAlignRefinement::fn_out
FileName fn_out
Definition:
tomo_align_refinement.h:61
AlignmentTomography::x
double x
Definition:
tomo_align_refinement.h:42
ProgTomoAlignRefinement::V
Image< double > V
Definition:
tomo_align_refinement.h:83
matrix2d.h
ProgTomoAlignRefinement
Definition:
tomo_align_refinement.h:53
ProgTomoAlignRefinement::max_shift_change
double max_shift_change
Definition:
tomo_align_refinement.h:75
ProgTomoAlignRefinement::max_psi_change
double max_psi_change
Definition:
tomo_align_refinement.h:67
ProgTomoAlignRefinement::rot_step
double rot_step
Definition:
tomo_align_refinement.h:69
Image< double >
ProgTomoAlignRefinement::psi_step
double psi_step
Definition:
tomo_align_refinement.h:73
AlignmentTomography::corr
double corr
Definition:
tomo_align_refinement.h:44
XmippProgram
Definition:
xmipp_program.h:52
AlignmentTomography::fn_img
FileName fn_img
Definition:
tomo_align_refinement.h:46
ProgTomoAlignRefinement::max_rot_change
double max_rot_change
Definition:
tomo_align_refinement.h:63
Generated by
1.8.13