source: Sophya/trunk/ArchTOIPipe/ProcWSophya/noisegen.h@ 2078

Last change on this file since 2078 was 1860, checked in by aubourg, 24 years ago

noise, mean estimator

File size: 833 bytes
Line 
1// This may look like C code, but it is really -*- C++ -*-
2
3// ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
4// Eric Aubourg
5// Christophe Magneville
6// Reza Ansari
7// $Id: noisegen.h,v 1.1 2002-01-15 00:46:25 aubourg Exp $
8
9#ifndef NOISEGEN_H
10#define NOISEGEN_H
11
12#include "toiprocessor.h"
13
14#include "bruit.h"
15
16class NoiseGen : public TOIProcessor {
17public:
18 NoiseGen();
19 virtual ~NoiseGen();
20
21 virtual void init();
22 virtual void run();
23
24protected:
25 SOPHYA::NoiseGenerator* gen;
26
27 virtual int calcMinOut();
28 virtual int calcMaxOut();
29};
30
31class NoiseGenGauss : public NoiseGen {
32public:
33 NoiseGenGauss(float sigma);
34};
35
36class NoiseGenOOF : public NoiseGen {
37public:
38 NoiseGenOOF(float fknee, float sigma);
39};
40
41
42
43
44#endif
45
46
Note: See TracBrowser for help on using the repository browser.