A.I.M.S algorithms


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 <aims/data/data_g.h>
14 
15 
17 {
18  public:
21 
22  template <class T>
23  void init(const AimsData<T>& ref, int level_start, int level_stop, double cutVar, double stopVar, double
24 seuilCorrel, 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 AimsData< T > &ref, int level_start, int level_stop, double cutVar, double stopVar, double seuilCorrel, const Point3d &tailleBloc=Point3d(4, 4, 4))
Point3d getTailleBloc()
Definition: scale_control.h:37
void setcutVar(double cV)
Definition: scale_control.h:33
double getcutVar()
Definition: scale_control.h:34
void nextScale()
double getSeuilCorrel()
Definition: scale_control.h:36
double getstopVar()
Definition: scale_control.h:35
bool minReached()
int getlevel_stop()
Definition: scale_control.h:31