12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef PREPROCESSINCLUDE
- #define PREPROCESSINCLUDE
- #include "core/basics/Config.h"
- #include "core/image/ImageT.h"
- namespace OBJREC {
- class Preprocess
- {
- protected:
- static int normalizeWidth;
- static int normalizeHeight;
- static bool init;
- static std::string substituteFilenameRegex;
- static std::string substituteFilenameSubs;
- static bool disableReadImg;
- static bool disableReadImgHeader;
- public:
-
-
- static void Init ( const NICE::Config *conf );
-
- static NICE::Image ReadImgAdv ( const std::string & filename );
-
-
- static NICE::ColorImage ReadImgAdvRGB ( const std::string & filename );
-
- static void getImageSize ( const std::string & filename, int & xsize, int & ysize );
-
- };
- }
- #endif
|