class to store the image primitives (points, lines, ellipses and ditortion model)
More...
#include <image_primitives.h>
|
| image_primitives (double *a, double *b, double *c, int size) |
|
image_primitives & | operator= (const image_primitives &primitiva) |
|
void | initialize (unsigned int npoints=0, unsigned int nlines=0, unsigned int nellipses=0) |
|
bool | IsProjected_3dpointsInvalid () |
|
const point2d< double > | get_distorsion_center () const |
| Return distortion center. More...
|
|
std::vector< point2d< double > > & | get_points () |
| Return points. More...
|
|
const std::vector< point2d
< double > > & | get_points () const |
|
std::vector< line_points > & | get_lines () |
| Return line_points collection. More...
|
|
const std::vector< line_points > & | get_lines () const |
|
const lens_distortion_model & | get_distortion () const |
|
lens_distortion_model & | get_distortion () |
| Return distortion model. More...
|
|
void | set_points (const std::vector< point2d< double > > &p2) |
| Set points collection. More...
|
|
void | set_lines (const std::vector< line_points > &lines2) |
| Set Lines collection. More...
|
|
void | set_distortion (const lens_distortion_model &distortion2) |
| Set distortion model. More...
|
|
int | read (char *name) |
|
int | write (char *name) |
|
unsigned int | Num_Puntos () const |
|
bool | is_empty () |
|
void | clear () |
|
void | find_nearest_point_in_primitives (point2d< double > &pto, point2d< double > &pto_out, double &distance, int &type_prim, int &prim, int &pos) |
|
void | find_nearest_point_in_others_primitives (point2d< double > &pto, point2d< double > &pto_out, double &distance, int &type_prim, int &prim, int &pos) |
|
void | find_nearest_line_equation (point2d< double > &pto, double &distance, int &prim) |
|
class to store the image primitives (points, lines, ellipses and ditortion model)
- Author
- Luis Alvarez
const point2d< double > ami::image_primitives::get_distorsion_center |
( |
| ) |
const |
|
inline |
Return distortion center.
- Author
- Carlos Falcon
Return distortion model.
- Author
- Luis Alvarez
const std::vector< line_points > & ami::image_primitives::get_lines |
( |
| ) |
|
|
inline |
Return line_points collection.
Return lines_poinst collection.
- Author
- Luis Alvarez
std::vector< point2d > & ami::image_primitives::get_points |
( |
| ) |
|
|
inline |
Return points.
- Author
- Luis Alvarez
Set distortion model.
- Author
- Luis Alvarez
- Parameters
-
distortion2 | Distortion model |
void ami::image_primitives::set_lines |
( |
const std::vector< line_points > & |
lines2 | ) |
|
|
inline |
Set Lines collection.
- Author
- Luis Alvarez
- Parameters
-
lines2 | collection of lines |
void ami::image_primitives::set_points |
( |
const std::vector< point2d< double > > & |
p2 | ) |
|
|
inline |
Set points collection.
- Author
- Luis Alvarez
- Parameters
-
int ami::image_primitives::write |
( |
char * |
name | ) |
|
|
inline |
std::vector< point2d<double> > ami::image_primitives::projected_3dpoints |
COORDINATES OF PROJECTED 3D POINTS LOCATED OUTSIDE PRIMITIVE PLANE
The documentation for this class was generated from the following file: