imfile.hpp
来自「这是个人脸识别程序」· HPP 代码 · 共 37 行
HPP
37 行
// $image\imfile.hpp 1.5 milbo$ image file io// Warning: this is raw research code -- expect it to be quite messy.// milbo durban dec05#if !defined(imfile_hpp)#define imfile_hppchar *sLoadImage(Image &Img, // out const char *sPath, bool fVerbose=false, bool fExitOnErr=true); // inchar *sLoadImage(RgbImage &Img, // out const char *sPath, bool fVerbose=false, bool fExitOnErr=true, bool fRemovePad=true); // inchar *sLoadImage(Image *pImg, RgbImage *pRgbImg, // out const char *sPath, bool fVerbose=false, bool fExitOnErr=true, bool fRemovePad=true); // inchar *sGetFilenameGivenDirs(const char *sDirs, const char *sFile);char *sLoadImageGivenDirs(Image &Img, // out const char *sDirs, const char *sFile, // in bool fVerbose=false, bool fExitOnErr=true); // inchar *sLoadImageGivenDirs(RgbImage &Img, // out const char *sDirs, const char *sFile, // in bool fVerbose=false, bool fExitOnErr=true, bool fRemovePad=true); // invoid CheckFileExistsGivenDirs(const char *sDirs, const char *sFile, const char *sMsg);void WriteBmp(const Image &Img, const char sPath[], bool fVerbose=false); // invoid WriteBmp(const RgbImage &Img, const char sPath[], bool fVerbose=false); // invoid WriteBmpHeader(FILE *pBmpFile, char sPath[], int width, int height); // invoid WriteBmpPixels(FILE *pBmpFile, char sPath[], byte *buf, int width, int height); // invoid WriteBmpPixels(FILE *pBmpFile, char sPath[], tRGB *buf, int width, int height); // invoid DumpBmpHeader(const char sPath[]); // in#endif // imfile_hpp
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?