Corners Struct Reference

#include <pic_randomizer.h>

List of all members.

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]


Detailed Description

Definition at line 28 of file pic_randomizer.h.


Member Function Documentation

void Corners::fit_in_image ( int *  width,
int *  height 
)

Definition at line 209 of file pic_randomizer.cpp.

References get_min_max(), and p.

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 191 of file pic_randomizer.cpp.

References p.

Referenced by fit_in_image().

void Corners::interpolate ( const Corners a,
const Corners b,
float  t 
)

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 
)

Definition at line 155 of file pic_randomizer.cpp.

References p, and rand_range().


Member Data Documentation

float Corners::p[4][2]


The documentation for this struct was generated from the following files:

Generated on Tue Mar 30 15:53:25 2010 for Polyora by  doxygen 1.5.9