plastimatch
Loading...
Searching...
No Matches
image_stats.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _image_stats_h_
5#define _image_stats_h_
6
7#include "plmbase_config.h"
8#include "plm_int.h"
9
11{
12public:
13 template<class T> Image_stats (const T& t);
14public:
15 double min_val;
16 double max_val;
17 double avg_val;
18 plm_long num_vox;
19 plm_long num_non_zero;
20public:
21 void print ();
22};
23
24template<class T> PLMBASE_API void image_stats_print (const T& t);
25
26#endif
Definition image_stats.h:11
plm_long num_non_zero
Definition image_stats.h:19
double max_val
Definition image_stats.h:16
void print()
Definition image_stats.cxx:36
double avg_val
Definition image_stats.h:17
plm_long num_vox
Definition image_stats.h:18
Image_stats(const T &t)
Definition image_stats.cxx:16
double min_val
Definition image_stats.h:15
void image_stats_print(const T &t)
Definition image_stats.cxx:43
#define PLMBASE_API
Definition plmbase_config.h:19