-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCCBTypes.h
More file actions
25 lines (20 loc) · 784 Bytes
/
CCBTypes.h
File metadata and controls
25 lines (20 loc) · 784 Bytes
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
#pragma once
#include <itkLabelMap.h>
#include <itkShapeLabelObject.h>
#include <itkImage.h>
#include <itkLabelMapToLabelImageFilter.h>
//#ifdef ESPINATYPES_H
//#include "Core/EspinaTypes.h"
//#else
//for standalone version we input itkVolumeType ourselves
//FIXME this will define the typedef to every program that uses this header
typedef itk::Image<unsigned char, 3> itkVolumeType;
typedef itk::Image<float, 3> FloatTypeImage;
//#endif
//FIXME how to define our namespace but prevent having to add ESPINA:: everywhere?
namespace ESPINA {
namespace CCB {
typedef itk::LabelMap< itk::ShapeLabelObject< itk::SizeValueType, itkVolumeType::ImageDimension > > LabelMapType;
typedef itk::LabelMapToLabelImageFilter<LabelMapType, itkVolumeType> LabelMap2VolumeFilterType;
}
}