STIRA  0.1
Public Member Functions | List of all members
stira::imageanalysis::ContourTracing Class Reference

Contour tracing class Traces contours that go mainly horizontally. More...

#include <ContourTracing.h>

Public Member Functions

 ContourTracing (double alphaStraight, double alphaNotStraight, std::string filePath)
 constructor More...
 
 ~ContourTracing ()
 destructor
 
std::pair< ArrayGrid< double > *, ArrayGrid< double > * > Run (ArrayGrid< double > *pGridIn, int ID=0)
 Run method returns a pair where the first ArrayGrid is the result left-right, and the second right-left.
 
ArrayGrid< double > * RunLeftRight (ArrayGrid< double > *pGridIn, int ID)
 Run method Forward propagate from left to right; backward collection from right to left.
 
ArrayGrid< double > * RunRightLeft (ArrayGrid< double > *pGridIn, int ID)
 Run method Forward propagate from right to left to right; backward collection from left to right.
 

Detailed Description

Contour tracing class Traces contours that go mainly horizontally.

Constructor & Destructor Documentation

stira::imageanalysis::ContourTracing::ContourTracing ( double  alphaStraight,
double  alphaNotStraight,
std::string  filePath 
)

constructor

Parameters
pGridIninput grid in which to trace contours
alphaStraightlarger forgetting factor for straight lines, making them be forgotten less quickly
alphaNotStraightsmaller forgetting factor penalizing non-straight lines
filePathstring with path to be able to write intermediate files to

The documentation for this class was generated from the following files: