This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Matrix with Timestamp

Tags: None
(comma "," separated)
robstrrr
Registered Member
Posts
1
Karma
0

Matrix with Timestamp

Fri Feb 27, 2015 7:06 pm
Hey,

im really new to eigen and want to use a Matrix of uint8_t with a fixes size of 800x600 ( for image processing ) in combination with a timestamp.
What is the best way of doing this (performance, c++ coding style) ? Derive from eigen like

Code: Select all
class Image : public Eigen::Matrix<uint8_t, Eigen::Dynamic, Eigen::Dynamic>
{
   public:
               int stmp;
               Image()
               {
                 resize(800,600);
               }
}


Hopefully im on the right place to ask :)
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Matrix with Timestamp

Mon Mar 02, 2015 1:40 pm
See this doc-page for further information on inheriting Matrix<>: http://eigen.tuxfamily.org/dox-devel/To ... tml#title1


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]