Classes | |
struct | BinAngles |
Public Member Functions | |
Constructor, assigment and destructor | |
BeoSubBin () | |
Constructor. | |
~BeoSubBin () | |
Destructor. | |
Compute functions | |
| |
std::vector< BinAngles > | binAngles |
std::vector< LineSegment2D > | getHoughLines (Image< PixRGB< byte > > &image, Image< PixRGB< byte > > &preHough, Image< PixRGB< byte > > &outputImage) |
void | pruneLines (std::vector< LineSegment2D > &lines, std::vector< LineSegment2D > &pruned, Image< PixRGB< byte > > *img) |
void | pruneAngles (std::vector< LineSegment2D > &lines, std::vector< BinAngles > &angles, Image< PixRGB< byte > > *img) |
void | removeOrangePipe (Image< PixRGB< byte > > &img) |
float | getBinSceneMass (Image< PixRGB< byte > > &cameraImage, Image< PixRGB< byte > > &outputImage, Point2D< int > ¢er) |
void | getWeightedBinMass (std::vector< BinAngles > &angles, Point2D< int > ¢er, bool cropWindow, Image< PixRGB< byte > > *img) |
void | getParallelIntersections (std::vector< LineSegment2D > &lines, std::vector< LineSegment2D > &frontLines, Image< PixRGB< byte > > &img) |
void | getBinCenter (std::vector< BinAngles > &angles, Point2D< int > ¢er) |
Definition at line 45 of file BeoSubBin.H.
BeoSubBin::BeoSubBin | ( | ) |
Constructor.
Definition at line 73 of file BeoSubBin.C.
BeoSubBin::~BeoSubBin | ( | ) |
Destructor.
Definition at line 84 of file BeoSubBin.C.
void BeoSubBin::getWeightedBinMass | ( | std::vector< BinAngles > & | angles, | |
Point2D< int > & | center, | |||
bool | cropWindow, | |||
Image< PixRGB< byte > > * | img | |||
) |
setup weighting system / ORIGINAL DISTANCE / (WEIGHT)^2 from CLOSEST DISTANCE * WEIGHT = ORIGINAL DISTANCE
Definition at line 389 of file BeoSubBin.C.
References Point2D< T >::distance(), and Point2D< T >::i.
void BeoSubBin::pruneLines | ( | std::vector< LineSegment2D > & | lines, | |
std::vector< LineSegment2D > & | pruned, | |||
Image< PixRGB< byte > > * | img | |||
) |
drawing ////////////////
we also want to return angles with their respective positions. / which will require a struct that associates angle, with an x and a y;
Definition at line 208 of file BeoSubBin.C.
References angle(), and drawCircle().