aimsalgo
5.1.2
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
16
class
ScaleControl
17
{
18
public
:
19
ScaleControl
() {};
20
~ScaleControl
() {};
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
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
AimsVector< int16_t, 3 >
ScaleControl
Definition:
scale_control.h:17
ScaleControl::~ScaleControl
~ScaleControl()
Definition:
scale_control.h:20
ScaleControl::getDelta1
int getDelta1()
Definition:
scale_control.h:28
ScaleControl::init
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))
Definition:
scale_control_d.h:21
ScaleControl::getTailleBloc
Point3d getTailleBloc()
Definition:
scale_control.h:37
ScaleControl::ScaleControl
ScaleControl()
Definition:
scale_control.h:19
ScaleControl::getN
int getN()
Definition:
scale_control.h:27
ScaleControl::getScale
int getScale()
Definition:
scale_control.h:30
ScaleControl::getstopVar
double getstopVar()
Definition:
scale_control.h:35
ScaleControl::setcutVar
void setcutVar(double cV)
Definition:
scale_control.h:33
ScaleControl::getcutVar
double getcutVar()
Definition:
scale_control.h:34
ScaleControl::minReached
bool minReached()
ScaleControl::nextScale
void nextScale()
ScaleControl::getlevel_stop
int getlevel_stop()
Definition:
scale_control.h:31
ScaleControl::getDelta2
int getDelta2()
Definition:
scale_control.h:29
ScaleControl::getSeuilCorrel
double getSeuilCorrel()
Definition:
scale_control.h:36
ScaleControl::goOn
bool goOn()
Definition:
scale_control.h:38
carto::Volume
carto::rc_ptr
volume.h
aims
registration
scale_control.h
Generated by
1.9.1