Go to the documentation of this file.
20 #include <QStringList>
26 typedef Vector<3, unsigned int>
Point3u;
38 void allocate(
const Point3u& size);
43 if(i >= 0 and
size_t(i) < size.
z())
71 mgx_EXPORT
bool saveImage(QString filename,
const Image3D& data, QString type =
"CImg Auto",
72 unsigned int nb_digits = 0);
78 mgx_EXPORT
bool loadImage(QString filename,
Image3D& data,
bool allocate_data =
false);
ushort & operator[](int i)
bool labels
If the image contains labels.
CU_HOST_DEVICE void z(const T &v)
Short access to the third element.
thrust::host_vector< ushort > HVecUS
unsigned short ushort
Simpler names for the various containers and iterators.
int plane
To load a 2D image in a 3D stack.
Distributed matrix library.
mgx_EXPORT QStringList supportedImageReadFormats()
Vector< 3, float > Point3f
mgx_EXPORT HVecUS resize(const HVecUS &data, const Point3i &before, const Point3i &after, bool center)
mgx_EXPORT bool saveTIFFImage(QString filename, const Image3D &data)
Vector< 3, uint > Point3u
mgx_EXPORT bool saveImage(QString filename, const Image3D &data, QString type="CImg Auto", unsigned int nb_digits=0)
mgx_EXPORT QStringList supportedImageWriteFormats()
const ushort & operator[](int i) const
mgx_EXPORT bool loadTIFFImage(QString filename, Image3D &data, bool allocate_data=false)
mgx_EXPORT bool loadImage(QString filename, Image3D &data, bool allocate_data=false)