16 #include <cuda/CudaExport.hpp> 20 #include <QStringList> 26 typedef util::Vector<3, unsigned int> Point3u;
29 mgx_EXPORT
QStringList supportedImageWriteFormats();
38 void allocate(
const Point3u& size);
43 if(i >= 0 and
size_t(i) < size.
z())
49 const ushort& operator[](
int i)
const {
53 ushort& operator[](
int i) {
72 unsigned int nb_digits = 0);
75 mgx_EXPORT
bool saveTIFFImage(
QString filename,
const Image3D& data);
77 mgx_EXPORT
bool loadTIFFImage(
QString filename,
Image3D& data,
bool allocate_data =
false,
Progress* progress = 0);
78 mgx_EXPORT
bool loadImage(
QString filename,
Image3D& data,
bool allocate_data =
false);
80 mgx_EXPORT HVecUS resize(
const HVecUS& data,
const Point3u& before,
const Point3u& after,
bool center);
bool labels
If the image contains labels.
Definition: Image.hpp:64
int plane
To load a 2D image in a 3D stack.
Definition: Image.hpp:63
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
Definition: Progress.hpp:99
CU_HOST_DEVICE void z(const T &v)
Short access to the third element.
Definition: Vector.hpp:679
Defines the Vector class template This file is shared by cuda, do not include headers that nvcc can't...