-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparameters.h
55 lines (41 loc) · 1.15 KB
/
parameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* Copyright (C) 2017, Abdelhak Saouli
* Laboratoire de Recherche des Systèmes Experts, Imagerie et leurs Applications dans l’ingénierie " LESIA"
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#ifndef PARAMETERS_H_
#define PARAMETERS_H_
#include <string>
/*MVSCPC includes */
#include "defines.h"
MVSDM_NAMESPACE_BEGIN
enum ViewStatus /*the view can be in 4 diffrent status : Main, Neighbor, invalid or none */
{
VIEW_IS_MASTER
,VIEW_iS_NEIGHBOR /* it mean selected us niegbhor condidate */
,VIEW_IS_NONE
};
struct Parameters
{
/* refrence view ID */
std::size_t master_id = 0;
/* status of the view */
ViewStatus status = VIEW_IS_NONE;
/* the output image dimontions */
unsigned int width = 512;
unsigned int height = 424;
/* image emmbeding */
std::string imgEmbedding = "undistorted";
/* max global neighbor */
unsigned int maxNeighbors = 10;
/* max local neighbors */
unsigned int maxLocNeighbors = 4;
//TODO add more
/* min parallex */
float alphaMin = 10.0;
};
MVSDM_NAMESPACE_END
#endif /* PARAMETERS_H_ */