Changeset 1468 in Sophya


Ignore:
Timestamp:
Apr 12, 2001, 4:08:10 PM (24 years ago)
Author:
ansari
Message:

Correction coeff filtre gaussien ds simtst.cc - Reza 12/4/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/TestPipes/simtst.cc

    r1467 r1468  
    11#include "machdefs.h"
     2#include <math.h>
    23#include "array.h"
    34#include <unistd.h>
     
    189190
    190191    cout << " Creating a GaussianFilter SimpleFilter Object " << endl;
    191     SimpleFilter filt(8, SimpleFilter::GaussFilter, 1., 2.);
     192    double G_sigma = 2.0;
     193    double G_a = 1./(G_sigma*sqrt(M_PI*2.));
     194    SimpleFilter filt(16, SimpleFilter::GaussFilter, G_a, G_sigma);
    192195
    193196    filt.addInput("in", toideglioff);
Note: See TracChangeset for help on using the changeset viewer.