6#ifndef __SIFT3D_IMUTIL_H__
7#define __SIFT3D_IMUTIL_H__
19#define SIFT3D_UNSUPPORTED_FILE_TYPE 2
25#define SIFT3D_WRAPPER_NOT_COMPILED 3
39SIFT3D_EXPORT sift3d_image*
54SIFT3D_EXPORT sift3d_image*
77SIFT3D_EXPORT sift3d_mat_rm*
sift3d_mat_type
Definition imtypes.h:40
SIFT3D_EXPORT void sift3d_free_image(sift3d_image *)
Destroy an image.
SIFT3D_EXPORT sift3d_image * sift3d_make_image(const int nx, const int ny, const int nz, const int nc)
Make an image with specified dimensions.
SIFT3D_EXPORT float * sift3d_image_data(const sift3d_image *)
Get a pointer to the image's data.
SIFT3D_EXPORT sift3d_image * sift3d_read_image(const char *path)
Read an image from a file.
SIFT3D_EXPORT sift3d_mat_rm * sift3d_make_mat_rm()
Create a matrix.
SIFT3D_EXPORT void sift3d_free_mat_rm(sift3d_mat_rm *)
Destroy a matrix.
SIFT3D_EXPORT sift3d_mat_type sift3d_mat_rm_type(const sift3d_mat_rm *)
Get the type of elements in a matrix.
SIFT3D_EXPORT void * sift3d_mat_rm_data(sift3d_mat_rm *)
Get a pointer to the data array of a matrix.
SIFT3D_EXPORT void sift3d_mat_rm_dimensions(const sift3d_mat_rm *, int *num_cols, int *num_rows)
Get dimensions of a matrix.