Changeset 2282 in Sophya for trunk/ArchTOIPipe/Processors


Ignore:
Timestamp:
Nov 28, 2002, 4:49:21 PM (23 years ago)
Author:
aubourg
Message:

deadlock work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Processors/toimedfilter.cc

    r2222 r2282  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toimedfilter.cc,v 1.3 2002-10-23 21:08:27 aubourg Exp $
     5// $Id: toimedfilter.cc,v 1.4 2002-11-28 15:49:21 aubourg Exp $
    66
    77#include <algorithm>
     
    3333    int j = i+window-1;
    3434    if (j>=sne) j = sne;
    35     //    cout << "median: fetching " << i << " -> " << j << endl;
     35    //   cout << "median: fetching " << i << " -> " << j << endl;
    3636    getData(0, i, j-i+1, data);
    3737    for (int ii=i+w/2; ii<=j-w/2; ii++) {
     
    5050
    5151void TOIMedFilter::run() {
     52  cout << "TOIMedFilter in : " << getMinIn() << " - " << getMaxIn()
     53       << " out : " << getMinOut() << " - " << getMaxOut() << endl;
    5254  multiset<double> low;  // w/2
    5355  multiset<double> high; // w/2
     
    7072
    7173  putData(0, snb+w/2, mid);
    72   //  cout << snb+w/2<< " -> " << mid << endl;
     74    cout << snb+w/2<< " -> " << mid << endl;
    7375
    7476  {for (int i=snb+w; i<=sne; i ++) {
Note: See TracChangeset for help on using the changeset viewer.