Xmipp  v3.23.11-Nereus
compare_views.h
Go to the documentation of this file.
1 /***************************************************************************
2  *
3  * Authors: Carlos Oscar coss@cnb.csic.es
4  * David Herreros Calero dherreros@cnb.csic.es
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19  * 02111-1307 USA
20  *
21  * All comments concerning this program package may be sent to the
22  * e-mail address 'xmipp@cnb.uam.es'
23  ***************************************************************************/
24 
25 #ifndef _PROG_COMPARE_VIEWS
26 #define _PROG_COMPARE_VIEWS
27 
28 #include <vector>
29 #include <CTPL/ctpl_stl.h>
30 #include "core/xmipp_program.h"
31 #include "core/xmipp_image.h"
32 #include "data/point3D.h"
33 
39 {
40 public:
44 
47 
49  double degstep;
50 
51 public:
54 
56  std::vector<double> tilt_v, rot_v;
57 
58 public:
60  void defineParams();
61 
63  void readParams();
64 
66  void show();
67 
69  void run();
70 
72  void computeCorrImage(int i);
73 
74 private:
75  ctpl::thread_pool m_threadPool;
76 };
77 
79 #endif
Image< double > V1
Images.
Definition: compare_views.h:53
FileName fnImgOut
Output corelation image.
Definition: compare_views.h:46
void computeCorrImage(int i)
Compute corr image.
#define i
Image< double > CorrImg
Definition: compare_views.h:53
std::vector< double > rot_v
Definition: compare_views.h:56
Image< double > V2
Definition: compare_views.h:53
void defineParams()
Define params.
FileName fnVol1
Volumes to compare.
Definition: compare_views.h:42
void show()
Show.
std::vector< double > tilt_v
Rot and tilt vectors.
Definition: compare_views.h:56
double degstep
Degree step.
Definition: compare_views.h:49
void readParams()
Read arguments from command line.