aimsdata
5.0.5
Neuroimaging data handling
texturetools.h
Go to the documentation of this file.
1
#ifndef AIMS_MESH_TEXTURETOOLS_H
2
#define AIMS_MESH_TEXTURETOOLS_H
3
4
#include <
aims/mesh/texture.h
>
5
#include <
aims/mesh/surface.h
>
6
#include <
cartodata/volume/volume.h
>
7
#include <
aims/rgb/rgb.h
>
8
9
10
namespace
aims
{
11
12
int
textureMax
(
const
TimeTexture<short>
& intex);
13
int
textureMin
(
const
TimeTexture<short>
& intex);
14
15
std::map<short, size_t> *
labelsHistogram
(
16
const
TimeTexture<short>
&intex,
int
maxlabel = 32767,
17
int
minlabel = -32768,
bool
verbose =
false
);
18
19
carto::VolumeRef<AimsRGBA>
giftiColormap
(
const
carto::Object
header);
20
21
template
<
typename
T>
22
carto::VolumeRef<AimsRGBA>
giftiColormap
(
const
TimeTexture<T>
& texture) {
23
return
giftiColormap
(
carto::Object::reference
(
24
texture.
header
()));
25
}
26
27
}
// namespace aims
28
29
#endif // AIMS_MESH_TEXTURETOOLS_H
aims::giftiColormap
carto::VolumeRef< AimsRGBA > giftiColormap(const carto::Object header)
aims::labelsHistogram
std::map< short, size_t > * labelsHistogram(const TimeTexture< short > &intex, int maxlabel=32767, int minlabel=-32768, bool verbose=false)
volume.h
aims::textureMax
int textureMax(const TimeTexture< short > &intex)
aims
The class for EcatSino data write operation.
Definition:
border.h:44
carto::VolumeRef
texture.h
carto::Object::reference
static Object reference(T &value)
rgb.h
carto::Object
aims::textureMin
int textureMin(const TimeTexture< short > &intex)
surface.h
TimeTexture
Definition:
surfacemanip.h:49
TimeTexture::header
const aims::PythonHeader & header() const
Get the header.
Definition:
texture.h:141
aims
mesh
texturetools.h
Generated by
1.8.13