Changeset 2282 in Sophya for trunk/ArchTOIPipe/Processors
- Timestamp:
- Nov 28, 2002, 4:49:21 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Processors/toimedfilter.cc
r2222 r2282 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toimedfilter.cc,v 1. 3 2002-10-23 21:08:27aubourg Exp $5 // $Id: toimedfilter.cc,v 1.4 2002-11-28 15:49:21 aubourg Exp $ 6 6 7 7 #include <algorithm> … … 33 33 int j = i+window-1; 34 34 if (j>=sne) j = sne; 35 // 35 // cout << "median: fetching " << i << " -> " << j << endl; 36 36 getData(0, i, j-i+1, data); 37 37 for (int ii=i+w/2; ii<=j-w/2; ii++) { … … 50 50 51 51 void TOIMedFilter::run() { 52 cout << "TOIMedFilter in : " << getMinIn() << " - " << getMaxIn() 53 << " out : " << getMinOut() << " - " << getMaxOut() << endl; 52 54 multiset<double> low; // w/2 53 55 multiset<double> high; // w/2 … … 70 72 71 73 putData(0, snb+w/2, mid); 72 //cout << snb+w/2<< " -> " << mid << endl;74 cout << snb+w/2<< " -> " << mid << endl; 73 75 74 76 {for (int i=snb+w; i<=sne; i ++) {
Note:
See TracChangeset
for help on using the changeset viewer.