1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef CONVERSIONSINCLUDE
- #define CONVERSIONSINCLUDE
- #include "core/image/ImageT.h"
- #include "core/vector/VectorT.h"
- #include "core/vector/MatrixT.h"
-
- #include <vector>
- namespace OBJREC {
- class Conversions
- {
- protected:
- public:
-
-
- Conversions();
-
-
- virtual ~Conversions();
- static std::vector<double> stl_vector ( const NICE::Vector & x );
- static void resizeImage ( const NICE::Image & src, NICE::Image & dst, int newWidth, int newHeight );
- static void resizeImage ( const NICE::ColorImage & src, NICE::ColorImage & dst, int newWidth, int newHeight );
- static NICE::Image ReadImgAdv ( const std::string & filename, int normalizeWidth = -1, int normalizeHeight = -1 );
-
- };
- }
- #endif
|