Merge branch 'master' of goat:git/laserbrain_demo
[laserbrain_demo] / src / image.h
index b812ae1..1d16979 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef IMAGE_H_
 #define IMAGE_H_
 
+#include <string>
+
 class Image {
 public:
        enum Format {
@@ -18,6 +20,8 @@ private:
        void *pixels;
 
 public:
+       std::string name;
+
        Image();
        ~Image();
 
@@ -36,6 +40,8 @@ public:
        void flip_vertical();
        void rotate_180();
 
+       void resize_half();
+
        bool load(const char *fname);
        bool save(const char *fname) const;
 };