Classes | Public Member Functions | Public Attributes | Private Attributes
tuw::EllipseRefinement Class Reference

#include <ellipse_refinement.h>

List of all members.

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

Constructor/ destructor

Definition at line 38 of file ellipse_refinement.cpp.

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

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):
autogenerated on Sun May 29 2016 02:50:24