imappend.hpp

来自「这是个人脸识别程序」· HPP 代码 · 共 34 行

HPP
34
字号
// $image\imappend.hpp 1.5 milbo$// Warning: this is raw research code -- expect it to be quite messy.#if !defined(imappend_hpp)#define imappend_hppImage *pAllocImageArray (size_t nImages);void FreeImageArray(Image aImages[], size_t nImages);char *sAppImagePathName(const char sBasePath[], const char sFileSpec[], const char sExtra[]);void WriteAppendedImagesAsBmpFiles(const char sDir0[], const char sDir1[], 			int iStartIndex, Image aImages[], int nImages);void AppendImagesToBuffer(const char *sFileSpec, int iStart, int nImages, Image aImages[],							int ExpectedWidth, int ExpectedHeight);void WriteAppendedImageFile(char sPath[], Image aImages[], int nImages);void WriteAppendedImageFile1(char sPath[], Image aImages[], int nImages, bool fUseTagArray, int iTagArrayStart, int nTagArrayEnd);FILE *pStartApFile(bool fVerbose, char sPath[], int width, int height);void ContinueApFile(char sPath[], FILE *pFile, Image &Img);void EndApFile(char sPath[], FILE *pFile);int GetNbrImagesInAppendedImageFile(const char sPath[], int Width, int Height);void ReadAppendedImageFile(const char sPath[], Image *aImages, int nImages, int ExpectedWidth, int ExpectedHeight);#endif // imappend_hpp

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?