Xmipp
v3.23.11-Nereus
xmipp
libraries
reconstruction
program_image_ssnr.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Authors: Carlos Oscar S. Sorzano (coss@cnb.csic.es)
3
*
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
26
#include "
core/xmipp_metadata_program.h
"
27
#include "
core/xmipp_image.h
"
28
33
class
ProgImageSSNR
:
public
XmippMetadataProgram
34
{
35
public
:
36
double
R
,
Rwidth
;
37
double
fmin
,
fmax
;
38
double
sampling
;
39
double
ssnrcut
,
ssnrpercent
;
40
bool
normalizessnr
;
41
public
:
42
void
defineParams
();
43
void
readParams
();
44
void
preProcess
();
45
void
processImage
(
const
FileName
&fnImg,
const
FileName
&fnImgOut,
const
MDRow
&rowIn,
MDRow
&rowOut);
46
void
postProcess
();
47
public
:
48
Image<double>
img
,
imgS
,
imgN
;
49
MultidimArray<double>
maskS
,
maskN
,
spectrumS
,
spectrumN
;
50
size_t
imin
,
imax
;
51
}
53
;
//end of class ProgFilter
54
55
56
57
ProgImageSSNR::imax
size_t imax
Definition:
program_image_ssnr.h:50
ProgImageSSNR::imgS
Image< double > imgS
Definition:
program_image_ssnr.h:48
MultidimArray< double >
xmipp_metadata_program.h
ProgImageSSNR::postProcess
void postProcess()
Definition:
program_image_ssnr.cpp:153
ProgImageSSNR::R
double R
Definition:
program_image_ssnr.h:36
ProgImageSSNR::imin
size_t imin
Definition:
program_image_ssnr.h:50
ProgImageSSNR::imgN
Image< double > imgN
Definition:
program_image_ssnr.h:48
ProgImageSSNR::fmax
double fmax
Definition:
program_image_ssnr.h:37
FileName
Definition:
xmipp_filename.h:65
ProgImageSSNR::maskS
MultidimArray< double > maskS
Definition:
program_image_ssnr.h:49
xmipp_image.h
ProgImageSSNR::defineParams
void defineParams()
Definition:
program_image_ssnr.cpp:32
ProgImageSSNR::sampling
double sampling
Definition:
program_image_ssnr.h:38
ProgImageSSNR::normalizessnr
bool normalizessnr
Definition:
program_image_ssnr.h:40
ProgImageSSNR::processImage
void processImage(const FileName &fnImg, const FileName &fnImgOut, const MDRow &rowIn, MDRow &rowOut)
Definition:
program_image_ssnr.cpp:81
ProgImageSSNR::readParams
void readParams()
Definition:
program_image_ssnr.cpp:52
ProgImageSSNR::preProcess
void preProcess()
Definition:
program_image_ssnr.cpp:65
XmippMetadataProgram
Definition:
xmipp_metadata_program.h:44
ProgImageSSNR::maskN
MultidimArray< double > maskN
Definition:
program_image_ssnr.h:49
Image< double >
ProgImageSSNR::Rwidth
double Rwidth
Definition:
program_image_ssnr.h:36
MDRow
Definition:
metadata_row_base.h:53
ProgImageSSNR
Definition:
program_image_ssnr.h:33
ProgImageSSNR::ssnrpercent
double ssnrpercent
Definition:
program_image_ssnr.h:39
ProgImageSSNR::img
Image< double > img
Definition:
program_image_ssnr.h:48
ProgImageSSNR::spectrumN
MultidimArray< double > spectrumN
Definition:
program_image_ssnr.h:49
ProgImageSSNR::spectrumS
MultidimArray< double > spectrumS
Definition:
program_image_ssnr.h:49
ProgImageSSNR::fmin
double fmin
Definition:
program_image_ssnr.h:37
ProgImageSSNR::ssnrcut
double ssnrcut
Definition:
program_image_ssnr.h:39
Generated by
1.8.13