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>
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 
20 
21  template <typename T>
24  texture.header()));
25  }
26 
27 } // namespace aims
28 
29 #endif // AIMS_MESH_TEXTURETOOLS_H
carto::VolumeRef< AimsRGBA > giftiColormap(const carto::Object header)
std::map< short, size_t > * labelsHistogram(const TimeTexture< short > &intex, int maxlabel=32767, int minlabel=-32768, bool verbose=false)
int textureMax(const TimeTexture< short > &intex)
The class for EcatSino data write operation.
Definition: border.h:44
static Object reference(T &value)
int textureMin(const TimeTexture< short > &intex)
const aims::PythonHeader & header() const
Get the header.
Definition: texture.h:141