summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/img.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/ovision/see/img.hh')
-rw-r--r--2005/i/robert/src/ovision/see/img.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/2005/i/robert/src/ovision/see/img.hh b/2005/i/robert/src/ovision/see/img.hh
index 5033bbf..f88fecd 100644
--- a/2005/i/robert/src/ovision/see/img.hh
+++ b/2005/i/robert/src/ovision/see/img.hh
@@ -63,6 +63,10 @@ class Img
inline int minWithBorder (int n, int min) {return n > min ? n : min;}
/// Renvoie le maximum en fonction d'une bordure
inline int maxWithBorder (int n, int max) {return n < max ? n : max;}
+ /// Get data image buffer.
+ inline unsigned char * getBuffer (void) const { return tabData_; }
+ /// Get the size of the image (height * width * 3).
+ inline unsigned long size (void) const { return nbPixels_; }
private:
/// Crée le tableau Y