Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::perception::common::HoughTransfer Class Reference

#include <hough_transfer.h>

Collaboration diagram for apollo::perception::common::HoughTransfer:
Collaboration graph

Public Member Functions

 HoughTransfer ()
 
 ~HoughTransfer ()=default
 
bool Init (int img_w, int img_h, float d_r, float d_theta)
 
bool ImageVote (const std::vector< int > &image, bool with_distribute)
 
void PointVote (int x, int y, bool with_distribute)
 
void PointVote (int pos, bool with_distribute)
 
bool GetLines (int min_pt_num, int r_neibor, int theta_neibor, bool with_distribute, std::vector< HoughLine > *lines) const
 
unsigned int MemoryConsume () const
 
void FreeCache ()
 
void ResetMaps (bool with_distribute)
 
std::string name () const
 
bool is_prepared () const
 
const std::vector< int > & get_vote_map () const
 
const std::vector< std::vector< int > > & get_distribute_map () const
 
float get_d_r () const
 
float get_d_theta () const
 
int get_img_w () const
 
int get_img_h () const
 
int get_r_size () const
 
int get_theta_size () const
 
void ClearWithShrink ()
 

Constructor & Destructor Documentation

◆ HoughTransfer()

apollo::perception::common::HoughTransfer::HoughTransfer ( )

◆ ~HoughTransfer()

apollo::perception::common::HoughTransfer::~HoughTransfer ( )
default

Member Function Documentation

◆ ClearWithShrink()

void apollo::perception::common::HoughTransfer::ClearWithShrink ( )

◆ FreeCache()

void apollo::perception::common::HoughTransfer::FreeCache ( )

◆ get_d_r()

float apollo::perception::common::HoughTransfer::get_d_r ( ) const
inline

◆ get_d_theta()

float apollo::perception::common::HoughTransfer::get_d_theta ( ) const
inline

◆ get_distribute_map()

const std::vector<std::vector<int> >& apollo::perception::common::HoughTransfer::get_distribute_map ( ) const
inline

◆ get_img_h()

int apollo::perception::common::HoughTransfer::get_img_h ( ) const
inline

◆ get_img_w()

int apollo::perception::common::HoughTransfer::get_img_w ( ) const
inline

◆ get_r_size()

int apollo::perception::common::HoughTransfer::get_r_size ( ) const
inline

◆ get_theta_size()

int apollo::perception::common::HoughTransfer::get_theta_size ( ) const
inline

◆ get_vote_map()

const std::vector<int>& apollo::perception::common::HoughTransfer::get_vote_map ( ) const
inline

◆ GetLines()

bool apollo::perception::common::HoughTransfer::GetLines ( int  min_pt_num,
int  r_neibor,
int  theta_neibor,
bool  with_distribute,
std::vector< HoughLine > *  lines 
) const

◆ ImageVote()

bool apollo::perception::common::HoughTransfer::ImageVote ( const std::vector< int > &  image,
bool  with_distribute 
)

◆ Init()

bool apollo::perception::common::HoughTransfer::Init ( int  img_w,
int  img_h,
float  d_r,
float  d_theta 
)

◆ is_prepared()

bool apollo::perception::common::HoughTransfer::is_prepared ( ) const
inline

◆ MemoryConsume()

unsigned int apollo::perception::common::HoughTransfer::MemoryConsume ( ) const

◆ name()

std::string apollo::perception::common::HoughTransfer::name ( ) const
inline

◆ PointVote() [1/2]

void apollo::perception::common::HoughTransfer::PointVote ( int  x,
int  y,
bool  with_distribute 
)

◆ PointVote() [2/2]

void apollo::perception::common::HoughTransfer::PointVote ( int  pos,
bool  with_distribute 
)

◆ ResetMaps()

void apollo::perception::common::HoughTransfer::ResetMaps ( bool  with_distribute)

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