6 #include <cuda/CudaExport.hpp>
10 #include <QStringList>
16 typedef util::Vector<3, unsigned int> Point3u;
19 mgx_EXPORT
QStringList supportedImageWriteFormats();
28 void allocate(
const Point3u& size);
33 if(i >= 0 and
size_t(i) < size.
z())
39 const ushort& operator[](
int i)
const {
43 ushort& operator[](
int i) {
62 unsigned int nb_digits = 0);
65 mgx_EXPORT
bool saveTIFFImage(
QString filename,
const Image3D& data);
67 mgx_EXPORT
bool loadTIFFImage(
QString filename,
Image3D& data,
bool allocate_data =
false,
Progress* progress = 0);
68 mgx_EXPORT
bool loadImage(
QString filename,
Image3D& data,
bool allocate_data =
false);
70 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:54
int plane
To load a 2D image in a 3D stack.
Definition: Image.hpp:53
Definition: Progress.hpp:89
CU_HOST_DEVICE void z(const T &v)
Short access to the third element.
Definition: Vector.hpp:669
Defines the Vector class template This file is shared by cuda, do not include headers that nvcc can't...