#include <pic_randomizer.h>
Public Member Functions | |
| void | random_homography (float src_width, float src_height, float min_angle, float max_angle, float min_scale, float max_scale, float h_range, float v_range) |
| void | get_min_max (float *minx, float *miny, float *maxx, float *maxy) |
| void | fit_in_image (int *width, int *height) |
| void | get_homography (CvMat *H, int src_width, int src_height) |
| void | interpolate (const Corners &a, const Corners &b, float t) |
Public Attributes | |
| float | p [4][2] |
Definition at line 28 of file pic_randomizer.h.
| void Corners::fit_in_image | ( | int * | width, | |
| int * | height | |||
| ) |
| void Corners::get_homography | ( | CvMat * | H, | |
| int | src_width, | |||
| int | src_height | |||
| ) |
Definition at line 224 of file pic_randomizer.cpp.
References p.
Referenced by SyntheticViewPath::genView().
| void Corners::get_min_max | ( | float * | minx, | |
| float * | miny, | |||
| float * | maxx, | |||
| float * | maxy | |||
| ) |
Definition at line 146 of file pic_randomizer.cpp.
References p.
Referenced by SyntheticViewPath::genView().
| void Corners::random_homography | ( | float | src_width, | |
| float | src_height, | |||
| float | min_angle, | |||
| float | max_angle, | |||
| float | min_scale, | |||
| float | max_scale, | |||
| float | h_range, | |||
| float | v_range | |||
| ) |
| float Corners::p[4][2] |
Definition at line 29 of file pic_randomizer.h.
Referenced by fit_in_image(), get_homography(), get_min_max(), interpolate(), and random_homography().
1.5.9