aimsalgo 6.0.0
Neuroimaging image processing
scale_control.h
Go to the documentation of this file.
1/* Copyright (C) 2000-2013 CEA
2 *
3 * This software and supporting documentation were developed by
4 * bioPICSEL
5 * CEA/DSV/I²BM/MIRCen/LMN, Batiment 61,
6 * 18, route du Panorama
7 * 92265 Fontenay-aux-Roses
8 * France
9 */
10#ifndef AIMS_REGISTRATION_SCALE_CONTROL_H
11#define AIMS_REGISTRATION_SCALE_CONTROL_H
12
13#include <cartodata/volume/volume.h>
14
15
17{
18 public:
21
22 template <class T>
23 void init(const carto::rc_ptr<carto::Volume<T> > ref, int level_start, int level_stop, double cutVar, double stopVar, double
24seuilCorrel, const Point3d& tailleBloc = Point3d(4, 4, 4) );
25 bool minReached();
26
27 int getN() {return _NN;}
28 int getDelta1() {return _delta1;}
29 int getDelta2() {return _delta2;}
30 int getScale() { return _currentScale;}
31 int getlevel_stop() { return _level_stop;}
32 void nextScale();
33 void setcutVar(double cV) {_cutVar = cV;}
34 double getcutVar() {return _cutVar;}
35 double getstopVar() {return _stopVar;}
36 double getSeuilCorrel() {return _seuilCorrel;}
37 Point3d getTailleBloc() {return _tailleBloc;}
38 bool goOn() {return ( (_currentScale>_level_stop - 1) ? true : false ) ;}
39
40 private:
41 int _currentScale;
42 int _level_stop;
43 int _delta1;
44 int _delta2;
45 int _NN;
46 bool _derniere;
47 double _cutVar;
48 double _stopVar;
49 double _seuilCorrel;
50 Point3d _tailleBloc;
51};
52
53#endif
void init(const carto::rc_ptr< carto::Volume< T > > ref, int level_start, int level_stop, double cutVar, double stopVar, double seuilCorrel, const Point3d &tailleBloc=Point3d(4, 4, 4))
Point3d getTailleBloc()
double getstopVar()
void setcutVar(double cV)
double getcutVar()
bool minReached()
void nextScale()
int getlevel_stop()
double getSeuilCorrel()
AimsVector< int16_t, 3 > Point3d