density.H
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #include <stdio.h>
00010 #include <map>
00011 #include <string>
00012
00013 #include "Image/Image.H"
00014
00015
00016 class Object
00017 {
00018 public:
00019
00020 std::string name;
00021 int tag;
00022 double mu1;
00023 double sigma1;
00024
00025
00026 Object(std::string name, int tag, double mu1, double sigma)
00027 {
00028 this->name = name;
00029 this->tag = tag;
00030 this->mu1 = mu1;
00031 this->sigma1 = sigma1;
00032
00033 }
00034
00035 };
00036
00037
00038
00039 Image<float> density(const char* filename, std::map<int, Object*>& list);