Public Types | Public Member Functions | Public Attributes | List of all members
EdgeTracker< S, D > Class Template Reference

Container for parameters of SegmentProber. More...

#include <EdgeTracker.h>

Collaboration diagram for EdgeTracker< S, D >:
Collaboration graph
[legend]

Public Types

typedef S src_t
 
typedef D dst_t
 

Public Member Functions

 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().
 

Public Attributes

Position pos
 
Direction::value_t dir = Direction::NONE
 
Position startPos
 
Direction::value_t startDir = Direction::NONE
 
Contour contour
 
ProberControlcontrol
 A convenience function for traversing a whole image. More...
 
const Channelsrc
 

Detailed Description

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

Member Function Documentation

◆ track()

void track ( const Position startPos,
Direction::value_t  startDir 
)
inline
Parameters

Member Data Documentation

◆ control

ProberControl& 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: