Last change
on this file since 17633 was 12259, checked in by neise, 13 years ago |
discriminator does now return vector<Region>
|
File size:
724 bytes
|
Line | |
---|
1 | // file: discriminator.h
|
---|
2 |
|
---|
3 | #ifndef __DISCRIMINATOR_H
|
---|
4 | #define __DISCRIMINATOR_H
|
---|
5 |
|
---|
6 | #include "Region.h"
|
---|
7 |
|
---|
8 | #include <vector>
|
---|
9 |
|
---|
10 | std::vector<Region> * discriminator(
|
---|
11 | std::vector<float>& input, // vector of floats, the discriminator acts on
|
---|
12 | float thr = 5., // threshold
|
---|
13 | bool clean = true, // choose here, if the discriminator should already discard Regions, which are assumend to sit on the predessesors falling edge
|
---|
14 | int fallingEdge = 100, // number of slices, after the maximum, which should be discarded...
|
---|
15 | bool debug = false
|
---|
16 | );
|
---|
17 |
|
---|
18 | int cleanRegionsOnFallingEdge (
|
---|
19 | std::vector<Region> &dest,
|
---|
20 | std::vector<Region> &src,
|
---|
21 | int fallingEdgeLen = 100,
|
---|
22 | bool debug = false);
|
---|
23 |
|
---|
24 |
|
---|
25 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.