Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/_to_be_added@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// ------------------------------------------------------------
|
||||
// imageio.h
|
||||
//
|
||||
// Reading writing tiff images
|
||||
//
|
||||
// 12.03.2005, J.Ahrensfeld
|
||||
// ------------------------------------------------------------
|
||||
#ifndef IMAGEIO_H
|
||||
#define IMAGEIO_H
|
||||
|
||||
#include "mtypes.h"
|
||||
|
||||
// ------------------------------------------------------------
|
||||
typedef struct _image_t
|
||||
{
|
||||
UINT32 num_row, num_col, num_pixel, num_ch;
|
||||
double *pColor_data;
|
||||
|
||||
} image_t;
|
||||
|
||||
|
||||
// ------------------------------------------------------------
|
||||
void ImageInit(image_t *pObj, int num_row, int num_col, int num_ch);
|
||||
void ImageFree(image_t *pObj);
|
||||
void ImageCopy(image_t *pSrc, image_t *pDst);
|
||||
int ImageLoadTiff(image_t *pObj, char *filename);
|
||||
int ImageSaveTiff(image_t *pObj, double *pAlpha, char *filename);
|
||||
|
||||
// ------------------------------------------------------------
|
||||
#endif // IMAGEIO_H
|
||||
Reference in New Issue
Block a user