utilities.hpp

00001 // This file is part of the imaging2 class library.
00002 //
00003 // University of Innsbruck, Infmath Imaging, 2009.
00004 // http://infmath.uibk.ac.at
00005 //
00006 // All rights reserved.
00007 
00008 
00009 #ifndef STATISTIC_UTILITIES_H
00010 #define STATISTIC_UTILITIES_H
00011 
00012 #include <core/imaging2.hpp>
00013 
00014 
00015 namespace imaging
00016 {
00023   void mean(const ublas::matrix<float_t> & data, ublas::vector<float_t> & result);
00024   
00031   void var(const ublas::matrix<float_t> & data, ublas::vector<float_t> & result);
00032   
00038   float_t mean(const ublas::vector<float_t> & data);
00039   
00045   float_t var(const ublas::vector<float_t> & data);
00046 }
00047 
00048 #endif

Generated on Tue Feb 10 10:01:29 2009 for imaging2 by  doxygen 1.5.5