Class to store subpixel contours.
More...
#include <subpixel_image_contours.h>
Class to store subpixel contours.
- Author
- Luis Alvarez
ami::subpixel_image_contours::subpixel_image_contours |
( |
| ) |
|
|
inline |
Constructor without taking memory.
- Author
- Luis Alvarez
ami::subpixel_image_contours::subpixel_image_contours |
( |
int |
width_c, |
|
|
int |
height_c |
|
) |
| |
Constructor taking memory.
- Author
- Luis Alvarez
- Parameters
-
width_c | New subpixel width |
height_c | New subpixel height |
ami::subpixel_image_contours::~subpixel_image_contours |
( |
| ) |
|
Destructor to free memory.
- Author
- Luis Alvarez
Constructor taking memory.
- Author
- Luis Alvarez
- Parameters
-
point2d< double > ami::subpixel_image_contours::find_nearest_subpixel |
( |
point2d< double > |
point | ) |
|
Find the nearest point to point px,py in subpixel image contours.
- Author
- Pedro Henriquez, Carlos Falcon
bool * ami::subpixel_image_contours::get_c |
( |
| ) |
|
|
inline |
Return array c to identity contour points.
- Author
- Luis Alvarez
const float * ami::subpixel_image_contours::get_coseno |
( |
| ) |
|
|
inline |
Return array coseno of x coordinate contour point orientation.
- Author
- Luis Alvarez
float * ami::subpixel_image_contours::get_d |
( |
| ) |
|
|
inline |
Return array d of distance to a contour pixel to the boundary of contour pixel area.
- Author
- Luis Alvarez
const int ami::subpixel_image_contours::get_height |
( |
| ) |
const |
|
inline |
Return image height.
- Author
- Luis Alvarez
float * ami::subpixel_image_contours::get_seno |
( |
| ) |
|
|
inline |
Return array seno of y coordinate contour point orientation.
- Author
- Luis Alvarez
const int ami::subpixel_image_contours::get_width |
( |
| ) |
const |
|
inline |
Return image width.
- Author
- Luis Alvarez
float * ami::subpixel_image_contours::get_x |
( |
| ) |
|
|
inline |
Return array x of subpixel x coordinate location.
- Author
- Luis Alvarez
float * ami::subpixel_image_contours::get_y |
( |
| ) |
|
|
inline |
Return array y of subpixel y coordinate location.
- Author
- Luis Alvarez
ami::subpixel_image_contours::set_c |
( |
bool * |
c2 | ) |
|
|
inline |
Set array c to identity contour points.
- Author
- Luis Alvarez
- Parameters
-
void ami::subpixel_image_contours::set_coseno |
( |
float * |
coseno2 | ) |
|
|
inline |
Set array coseno of x coordinate contour point orientation.
- Author
- Luis Alvarez
- Parameters
-
void ami::subpixel_image_contours::set_d |
( |
float * |
d2 | ) |
|
|
inline |
Set array d of distance to a contour pixel to the boundary of contour pixel area.
- Author
- Luis Alvarez
- Parameters
-
int ami::subpixel_image_contours::set_height |
( |
int |
height2 | ) |
|
|
inline |
Set image height.
- Author
- Luis Alvarez
- Parameters
-
void ami::subpixel_image_contours::set_seno |
( |
float * |
seno2 | ) |
|
|
inline |
Set array seno of y coordinate contour point orientation.
- Author
- Luis Alvarez
- Parameters
-
void ami::subpixel_image_contours::set_width |
( |
int |
width2 | ) |
|
|
inline |
Set image width.
- Author
- Luis Alvarez
- Parameters
-
void ami::subpixel_image_contours::set_x |
( |
float * |
x2 | ) |
|
|
inline |
Set array x of subpixel x coordinate location.
- Author
- Luis Alvarez
- Parameters
-
void ami::subpixel_image_contours::set_y |
( |
float * |
y2 | ) |
|
|
inline |
Set array y of subpixel y coordinate location.
- Author
- Luis Alvarez
- Parameters
-
bool ami::subpixel_image_contours::subpixel_empty |
( |
| ) |
|
The documentation for this class was generated from the following files: