sisoIo.h Source File |
sisoIo.h
Go to the documentation of this file.
68dlldir int IoCreateAVIGrayW(void **AviRef, const LPCWSTR filename,int width,int height,double fps);
76dlldir int IoCreateAVIColorW(void **AviRef, const LPCWSTR filename,int width,int height,double fps);
125dlldir void *IoReadBmp(const char *filename,unsigned char **data,int *width,int *height,int *bits);
133dlldir int IoWriteBmp(const char *filename, unsigned char *data, int width, int height, int bits);
137dlldir int IoWriteBmpW(const LPCWSTR filename,unsigned char *data,int width,int height,int bits);
139dlldir int IoWriteRaw(const char *filename, unsigned char *data, int width, int height, int bits);
140dlldir int IoWriteRawW(const LPCWSTR filename, unsigned char *data, int width, int height, int bits);
141dlldir int IoReadRaw(const char *filename, unsigned char**data, int *width, int *height, int *bits);
145dlldir int IoCreateSeq(void **SeqRef, const char *pFilename, int width, int height, int bitdepth, int flags);
149// it will not write the image at a given sequence index in the file (there is no way to provide a sequence index)
150// the correct name for the function would be IoWriteNextSeqPicture; a wrapper for this is provided
158#define IoWriteNextSeqPicture(SeqRef,SeqIndex,Buffer) IoWriteSeqPicture(SeqRef, SeqIndex, Buffer)
164dlldir int IoOpenSeq(void **SeqRef, const char *pFilename, int* width, int* height, int* bitdepth, int flags);
174dlldir int IoSeqCreateAvi(void *SeqRef,const char* aviFilename,int StartSeqIndex,int StopSeqIndex);
188dlldir int IoWriteTiff(const char *filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel);
208dlldir int IoWriteTiffEx(const char *filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel, int RGBSequence);
226dlldir int IoWriteTiffW(const LPCWSTR filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel);
245dlldir int IoWriteTiffExW(const LPCWSTR filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel, int RGBSequence);
261dlldir void *IoReadTiff(const char *filename, unsigned char**data, int *width, int *height, int *bitPerSample, int *samplePerPixel);
276dlldir void *IoReadTiffW(const LPCWSTR filename, unsigned char**data, int *width, int *height, int *bitPerSample, int *samplePerPixel);
296dlldir void *IoReadTiffEx(const char *filename, unsigned char**data, int *width, int *height, int *bitPerSample, int *samplePerPixel, int RGBSequence);
303dlldir void *IoReadTiffExW(const LPCWSTR filename, unsigned char**data, int *width, int *height, int *bitPerSample, int *samplePerPixel, int RGBSequence);
311dlldir int IoWriteTiffCompression(const char *filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel, int compressionFlag);
386dlldir SisoIoImageEngine *IoOpenImageExt(const char *filename, unsigned char **data, int *width, int *height, int *bits);
Definitions for platform dependent types. dlldir int IoGetBitsPerComponent(const SisoIoImageEngine *handle) dlldir int IoCreateAVIColorW(void **AviRef, const LPCWSTR filename, int width, int height, double fps) dlldir int IoWriteRawW(const LPCWSTR filename, unsigned char *data, int width, int height, int bits) dlldir int IoCloseBmp(void *bmpHandle) dlldir int IoCreateSeq(void **SeqRef, const char *pFilename, int width, int height, int bitdepth, int flags) dlldir int IoCreateAVIGray(void **AviRef, const char *filename, int width, int height, double fps) dlldir int IoWriteBmpW(const LPCWSTR filename, unsigned char *data, int width, int height, int bits) dlldir void * IoReadTiff(const char *filename, unsigned char **data, int *width, int *height, int *bitPerSample, int *samplePerPixel) Load a TIF file into a memory buffer. dlldir int IoReadAVIPicture(void *AviRef, int PicNr, void *buffer) dlldir int IoCloseSeq(void *SeqRef) dlldir int IoSeqCreateAvi(void *SeqRef, const char *aviFilename, int StartSeqIndex, int StopSeqIndex) dlldir int IoOpenAVI(void **AviRef, const char *fileName, int *width, int *height, int *bitDepth) dlldir SisoIoImageEngine * IoOpenImageExt(const char *filename, unsigned char **data, int *width, int *height, int *bits) open an existing image file dlldir size_t IoCalculateBufferSize(int width, int height, int bits) Calculate the buffer size according to the bit depth This function will return the buffer size for a ... dlldir int IoGetHeight(const SisoIoImageEngine *handle) dlldir int IoWriteSeqPicture(void *SeqRef, int PicNr, const void *buffer) dlldir int IoFreeRaw(unsigned char *data) dlldir int IoWriteRaw(const char *filename, unsigned char *data, int width, int height, int bits) dlldir int IoGetSeqInfo(void *SeqRef, int *nrOfImages, int *nrOfLostImages) dlldir int IoWriteBmp(const char *filename, unsigned char *data, int width, int height, int bits) dlldir int IoWriteTiff(const char *filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel) Save Image data to to a file in TIF format. dlldir int IoSaveImageExt(const char *filename, void *data, int width, int height, int bits) save image to File. The channel order for color images is RED GREEN BLUE. Supported file formats: dlldir int IoOpenSeq(void **SeqRef, const char *pFilename, int *width, int *height, int *bitdepth, int flags) dlldir void * IoReadTiffW(const LPCWSTR filename, unsigned char **data, int *width, int *height, int *bitPerSample, int *samplePerPixel) Load a TIF file into a buffer,. dlldir int IoWriteTiffEx(const char *filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel, int RGBSequence) Save Image data to to a file in TIF format. dlldir int IoReadNextSeqPicture(void *SeqRef, int *PicNr, void *buffer) dlldir int IoCloseAVI(void *AviRef) dlldir int IoWriteAVIPicture(void *AviRef, int PicNr, const void *buffer) dlldir const void * IoImageGetData(const SisoIoImageEngine *handle) query the pixel data from an image. The channel order for color images is BLUE GREEN RED. dlldir int IoReadRaw(const char *filename, unsigned char **data, int *width, int *height, int *bits) dlldir int IoImageOpenEx(const char *filename, SisoIoImageEngine **handle, int RGBSequence) open an existing image file dlldir int IoConvert1BitTo8BitData(SisoIoImageEngine *handle) converts a bitmap in an 8 bit gray image. It normalizes the gray values. dlldir int DEPRECATED(IoReadSeqPicture(void *SeqRef, int SeqIndex, void *buffer)) dlldir int IoWriteTiffExW(const LPCWSTR filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel, int RGBSequence) Save Image data to to a file in TIF format. dlldir void * IoReadTiffEx(const char *filename, unsigned char **data, int *width, int *height, int *bitPerSample, int *samplePerPixel, int RGBSequence) Load a TIF file into a memory buffer (enhanced version). dlldir int IoWriteTiffCompression(const char *filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel, int compressionFlag) dlldir void * IoReadTiffExW(const LPCWSTR filename, unsigned char **data, int *width, int *height, int *bitPerSample, int *samplePerPixel, int RGBSequence) Load a TIF file into a memory buffer. dlldir int IoGetNrOfComponents(const SisoIoImageEngine *handle) dlldir int IoCreateAVIColor(void **AviRef, const char *filename, int width, int height, double fps) dlldir int IoCreateAVIGrayW(void **AviRef, const LPCWSTR filename, int width, int height, double fps) dlldir int IoImageOpen(const char *filename, SisoIoImageEngine **handle) open an existing image file. The channel order for color images is BLUE GREEN RED.... dlldir int IoFreeTiff(unsigned char *data) Release the memory resources of previously read image files. dlldir int IoFreeImage(SisoIoImageEngine *handle) dlldir int IoGetWidth(const SisoIoImageEngine *handle) dlldir int IoGetBitsPerPixel(const SisoIoImageEngine *handle) dlldir int IoWriteTiffW(const LPCWSTR filename, unsigned char *data, int width, int height, int bitPerSample, int samplePerPixel) Save Image data to to a file in TIF format. dlldir void * IoReadBmp(const char *filename, unsigned char **data, int *width, int *height, int *bits) Load data from a bitmap file to a memory buffer This functions loads the image data of a bitmap file ... |