Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
tuw::EllipseRefinement Class Reference

#include <ellipse_refinement.h>

Classes

class  Ellipse
 
class  Parameter
 

Public Member Functions

 EllipseRefinement (const Parameter &_param=Parameter())
 
bool refine (const cv::Mat_< short > &im_dx, const cv::Mat_< short > &im_dy, const std::vector< cv::Point2f > &points, Ellipse &ellipse)
 
 ~EllipseRefinement ()
 

Public Attributes

Parameter param
 

Private Attributes

std::vector< cv::Point2d > pointsToUse
 

Detailed Description

Definition at line 16 of file ellipse_refinement.h.

Constructor & Destructor Documentation

tuw::EllipseRefinement::EllipseRefinement ( const Parameter _param = Parameter())

Constructor/ destructor

Definition at line 38 of file ellipse_refinement.cpp.

tuw::EllipseRefinement::~EllipseRefinement ( )

Definition at line 44 of file ellipse_refinement.cpp.

Member Function Documentation

bool tuw::EllipseRefinement::refine ( const cv::Mat_< short > &  im_dx,
const cv::Mat_< short > &  im_dy,
const std::vector< cv::Point2f > &  points,
Ellipse ellipse 
)

Calculate exact ellipse parameters of the given ellipse using gradient images

Parameters
im_dximage gradients x ( e.g. cv::Sobel( im_gray, im_dx, CV_16S, 1, 0, 3, 1, 0) )
im_dyimage gradients y ( e.g. cv::Sobel( im_gray, im_dx, CV_16S, 0, 1, 3, 1, 0) )
pointscontour edgels
ellipseto be refined

Calculate exact ellipse parameters of the given ellipse hypothesis using gradient images

Definition at line 52 of file ellipse_refinement.cpp.

Member Data Documentation

Parameter tuw::EllipseRefinement::param

Definition at line 100 of file ellipse_refinement.h.

std::vector<cv::Point2d> tuw::EllipseRefinement::pointsToUse
private

Definition at line 97 of file ellipse_refinement.h.


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


tuw_ellipses
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:42:10