BeoSubBin Class Reference

Collaboration diagram for BeoSubBin:
Collaboration graph
[legend]

List of all members.

Classes

struct  BinAngles

Public Member Functions

Constructor, assigment and destructor

 BeoSubBin ()
 Constructor.
 ~BeoSubBin ()
 Destructor.

Compute functions



std::vector< BinAnglesbinAngles
std::vector< LineSegment2DgetHoughLines (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 > &center)
void getWeightedBinMass (std::vector< BinAngles > &angles, Point2D< int > &center, 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 > &center)

Detailed Description

Definition at line 45 of file BeoSubBin.H.


Constructor & Destructor Documentation

BeoSubBin::BeoSubBin (  ) 

Constructor.

Definition at line 73 of file BeoSubBin.C.

BeoSubBin::~BeoSubBin (  ) 

Destructor.

Definition at line 84 of file BeoSubBin.C.


Member Function Documentation

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


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:20:26 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3