-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage.h
43 lines (33 loc) · 769 Bytes
/
image.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
#ifndef IMAGE_H
#define IMAGE_H
#include <QGraphicsScene>
#include <dcmtk/dcmdata/dctk.h>
#include "roi.h"
#include "graphics.h"
// Here are specific definitions for images
struct resolution_s{
unsigned int width;
unsigned int height;
};
struct metaInfoGlobal_s{
OFString patientName;
OFString modality;
OFString seriesDescription;
resolution_s resolution;
unsigned int nbSlices;
};
struct pixelSpacing_s{
Float64 verticalSpacing;
Float64 horizontalSpacing;
};
struct slice_s{
QString fileName;
DcmFileFormat dcmFileFormat;
Float64 sliceLocation;
pixelSpacing_s pixelSpacing;
MScene* scene_p;
//QGraphicsPixmapItem* pixmap_p;
MPixmapItem* pixmap_p;
QList<Roi*> roiList;
};
#endif // IMAGE_H