|
STIRA
0.1
|
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. | |
Contour tracing class Traces contours that go mainly horizontally.
| stira::imageanalysis::ContourTracing::ContourTracing | ( | double | alphaStraight, |
| double | alphaNotStraight, | ||
| std::string | filePath | ||
| ) |
constructor
| pGridIn | input grid in which to trace contours |
| alphaStraight | larger forgetting factor for straight lines, making them be forgotten less quickly |
| alphaNotStraight | smaller forgetting factor penalizing non-straight lines |
| filePath | string with path to be able to write intermediate files to |
1.8.11