Xmipp  v3.23.11-Nereus
transform_geometry.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Authors: Joaquin Oton (joton@cnb.csic.es)
3  * J.M. De la Rosa (jmdelarosa@cnb.csic.es)
4  *
5  *
6  * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21  * 02111-1307 USA
22  *
23  * All comments concerning this program package may be sent to the
24  * e-mail address 'xmipp@cnb.csic.es'
25  ***************************************************************************/
26 
27 #ifndef TRANSFORMGEOMETRY_H
28 #define TRANSFORMGEOMETRY_H
29 
30 #include "core/matrix2d.h"
32 #include "core/xmipp_image.h"
34 
39 {
40 public:
44 
45 protected:
50  String matrixStr; // To read directly the matrix
51 
52  void defineParams();
53  void readParams();
54 
58  void preProcess();
59  void processImage(const FileName &fnImg, const FileName &fnImgOut, const MDRow &rowIn, MDRow &rowOut);
60 };
62 #endif //TRANSFORMGEOMETRY_H
Matrix2D< double > T
Matrix2D< double > A
Matrix2D< double > B
std::string String
Definition: xmipp_strings.h:34
Matrix2D< double > R
void processImage(const FileName &fnImg, const FileName &fnImgOut, const MDRow &rowIn, MDRow &rowOut)