From f7fcf8cdea57a043b99d90549407195ea1148042 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 16 Jul 2013 15:55:57 +0100 Subject: alpha not yet working --- rotord/cvimage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rotord/cvimage.h') diff --git a/rotord/cvimage.h b/rotord/cvimage.h index 6c237b4..7935ded 100644 --- a/rotord/cvimage.h +++ b/rotord/cvimage.h @@ -161,6 +161,8 @@ namespace Rotor { Image & operator+=(const Image &other); Image & operator*=(const Image &other); Image & add_wrap(const Image &other); + Image & alpha_blend(const Image &other); + Image & alpha_merge(const Image &other); Image & operator*=(const float &amount); Image * operator*(const float &amount); Image * operator+(const float &amount); @@ -173,5 +175,6 @@ namespace Rotor { bool ownsRGBdata,ownsAdata,ownsZdata; //better done through auto_ptr? cv::Mat rgb; + cv::Mat alpha; }; } -- cgit v1.2.3