Container for parameters of SegmentProber.
More...
#include <EdgeTracker.h>
|
typedef S | src_t |
|
typedef D | dst_t |
|
|
| EdgeTracker (const Channel &src, ProberControl &control) |
|
void | setStart (const Position &startPos, Direction::value_t startDir) |
|
bool | next () |
|
void | track (const Position &startPos, Direction::value_t startDir) |
|
virtual void | init () |
| Called after src and dst have been set, but before processing. See clear().
|
|
template<class S, class D>
class drain::image::EdgeTracker< S, D >
Container for parameters of SegmentProber.
- Template Parameters
-
S | - storage type of the source image data (int by default, but should be floating-type, if src is). |
D | - storage type of the destination image data |
- Author
- Marku.nosp@m.s.Pe.nosp@m.ura@f.nosp@m.mi.f.nosp@m.i A recursive method for visiting pixels of a segment in an image. A helper class applied by FloodFillOp and SegmentAreaOp.
- Template Parameters
-
S | - storage type of the source image data (int by default, but should be floating-type, if src is). |
D | - storage type of the destination image data |
C | - configuration type, |
- Author
- Marku.nosp@m.s.Pe.nosp@m.ura@f.nosp@m.mi.f.nosp@m.i
◆ track()
void track |
( |
const Position & |
startPos, |
|
|
Direction::value_t |
startDir |
|
) |
| |
|
inline |
◆ control
A convenience function for traversing a whole image.
Applicable in cases where probing parameters are not spatically ("dynamically") changing.
void scan(){ }
The documentation for this class was generated from the following file: