-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_header.h
43 lines (34 loc) · 993 Bytes
/
main_header.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
#pragma once
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmdata/dctk.h"
#include "dcmtk/dcmimgle/dcmimage.h" /* for DicomImage */
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include "mammography.h"
#include "various.h"
#include "phantomCalibration.h"
#include "dailyCalibration.h"
#include "scanner.h"
/* #define KSENIA_STUFF */
using namespace std;
class phantomCalibration;
typedef map< string, phantomCalibration> calibData;
template <typename T> string various::ToString(T input){
stringstream ss;
ss << input;
string output = ss.str();
return output;
}
template <typename T> double various::ToDouble(T input){
double output;
istringstream i(input);
i >> output;
return output;
}