Xmipp
v3.23.11-Nereus
xmipp
libraries
reconstruction
mean_shift.h
Go to the documentation of this file.
1
/***************************************************************************
2
*
3
* Authors: J.R. Bilbao-Castro (jrbcast@ace.ual.es)
4
* Updated by: J.M. de la Rosa Trevin (jmdelarosa@cnb.csic.es)
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 _MEAN_SHIFT_H
28
#define _MEAN_SHIFT_H
29
30
#include "
data/filters.h
"
31
34
37
class
MeanShiftFilter
:
public
XmippFilter
38
{
39
public
:
40
double
sigma_r
,
sigma_s
;
41
int
iters
,
numThreads
;
42
bool
fast
,
save_iters
;
46
int
verbose
;
47
48
static
void
defineParams
(
XmippProgram
*program);
49
void
readParams
(
XmippProgram
*program);
50
53
void
apply
(
MultidimArray< double >
& img);
54
};
55
56
#endif
MeanShiftFilter::numThreads
int numThreads
Definition:
mean_shift.h:41
MultidimArray< double >
MeanShiftFilter
Definition:
mean_shift.h:37
MeanShiftFilter::sigma_r
double sigma_r
Definition:
mean_shift.h:40
MeanShiftFilter::defineParams
static void defineParams(XmippProgram *program)
Definition:
mean_shift.cpp:288
MeanShiftFilter::iters
int iters
Definition:
mean_shift.h:41
MeanShiftFilter::apply
void apply(MultidimArray< double > &img)
Definition:
mean_shift.cpp:313
XmippFilter
Definition:
filters.h:1441
MeanShiftFilter::readParams
void readParams(XmippProgram *program)
Definition:
mean_shift.cpp:302
filters.h
MeanShiftFilter::verbose
int verbose
Definition:
mean_shift.h:46
MeanShiftFilter::sigma_s
double sigma_s
Definition:
mean_shift.h:40
MeanShiftFilter::save_iters
bool save_iters
Definition:
mean_shift.h:42
MeanShiftFilter::fast
bool fast
Definition:
mean_shift.h:42
XmippProgram
Definition:
xmipp_program.h:52
Generated by
1.8.13