mirror of
https://github.com/brmlab/medirap.git
synced 2025-06-10 10:04:00 +02:00
rework on slicing and thresholding
This commit is contained in:
parent
8039ff529a
commit
bc839e5d7c
5 changed files with 75 additions and 67 deletions
|
@ -2,8 +2,8 @@
|
|||
#define VOXELDATA_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
#define VOXELDATA unsigned char
|
||||
#include <QImage>
|
||||
#include <QVector>
|
||||
|
||||
class VoxelData
|
||||
{
|
||||
|
@ -12,9 +12,10 @@ public:
|
|||
inline int getDimY() { return dimy; }
|
||||
inline int getDimZ() { return dimz; }
|
||||
bool load(QString path, QString filename);
|
||||
const QImage *getSlice(int z);
|
||||
private:
|
||||
int dimx, dimy, dimz;
|
||||
VOXELDATA *data;
|
||||
QVector<QImage *> data;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue