Last change
on this file since 12262 was 12258, checked in by neise, 13 years ago |
zerosearch does now return vector<Region>
|
-
Property svn:executable
set to
*
|
File size:
958 bytes
|
Line | |
---|
1 | // file zerosearch.h
|
---|
2 | #ifndef __ZEROSEARCH_H
|
---|
3 | #define __ZEROSEARCH_H
|
---|
4 |
|
---|
5 | #include "Region.h"
|
---|
6 |
|
---|
7 | vector<Region> *zerosearch(
|
---|
8 | vector<float> &input,
|
---|
9 | int edge = 1, // search for transitions on rising edge=1, -1:falling
|
---|
10 | unsigned int step = 4, // search in steps of step
|
---|
11 | int VerbosityLevel = 1 // 1 means ... just normal warings are output.
|
---|
12 | );
|
---|
13 |
|
---|
14 | size_t ShiftRegionBy(vector<Region> &src,
|
---|
15 | int Shift,
|
---|
16 | int VerbosityLevel=0);
|
---|
17 |
|
---|
18 | size_t EnlargeRegion(vector<Region> &src,
|
---|
19 | int Left,
|
---|
20 | int Right,
|
---|
21 | int VerbosityLevel=0);
|
---|
22 |
|
---|
23 | size_t findAbsMaxInRegions(
|
---|
24 | vector<Region> ®ions,
|
---|
25 | vector<float> &data,
|
---|
26 | int VerbosityLevel=0);
|
---|
27 |
|
---|
28 | bool compMaxPosOfRegions (Region a, Region b);
|
---|
29 |
|
---|
30 | size_t removeEqualMaxima(
|
---|
31 | vector<Region> ®ions,
|
---|
32 | int VerbosityLevel=0);
|
---|
33 |
|
---|
34 | size_t removeReginWithMaximaOnEdge(
|
---|
35 | vector<Region> ®ions,
|
---|
36 | unsigned int EdgeWidth=3,
|
---|
37 | int VerbosityLevel=0);
|
---|
38 |
|
---|
39 | size_t removeMaximaBelow(
|
---|
40 | vector<Region> ®ions,
|
---|
41 | float threshold = 2.0,
|
---|
42 | int VerbosityLevel=0);
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.