Visual Servoing Platform
version 3.5.1 under development (2023-09-22)
|
#include <visp3/core/vpImageCircle.h>
Public Member Functions | |
vpImageCircle () | |
vpImageCircle (const vpImagePoint ¢er, const float &radius) | |
virtual | ~vpImageCircle () |
vpImagePoint | getCenter () const |
float | getRadius () const |
vpRect | getBBox () const |
float | get_n20 () const |
float | get_n02 () const |
float | get_n11 () const |
Class that defines a 2D circle in an image.
Definition at line 55 of file vpImageCircle.h.
vpImageCircle::vpImageCircle | ( | ) |
Default constructor.
Definition at line 38 of file vpImageCircle.cpp.
vpImageCircle::vpImageCircle | ( | const vpImagePoint & | center, |
const float & | radius | ||
) |
Constructor from a center and radius.
Definition at line 45 of file vpImageCircle.cpp.
|
virtual |
Default destructor.
Definition at line 61 of file vpImageCircle.cpp.
float vpImageCircle::get_n02 | ( | ) | const |
Compute the normalized moment of the image (2D) circle.
Definition at line 87 of file vpImageCircle.cpp.
float vpImageCircle::get_n11 | ( | ) | const |
Compute the normalized moment of the image (2D) circle.
Definition at line 92 of file vpImageCircle.cpp.
float vpImageCircle::get_n20 | ( | ) | const |
Compute the normalized moment of the image (2D) circle.
Definition at line 82 of file vpImageCircle.cpp.
vpRect vpImageCircle::getBBox | ( | ) | const |
Compute the bounding box, in the image, of the image (2D) circle.
Definition at line 76 of file vpImageCircle.cpp.
vpImagePoint vpImageCircle::getCenter | ( | ) | const |
Get the center of the image (2D) circle
Definition at line 66 of file vpImageCircle.cpp.
Referenced by vpDisplay::displayCircle(), and vpImageDraw::drawCircle().
float vpImageCircle::getRadius | ( | ) | const |
Get the radius of the image (2D) circle.
Definition at line 71 of file vpImageCircle.cpp.
Referenced by vpDisplay::displayCircle(), and vpImageDraw::drawCircle().