crawler/pic_randomizer.cpp File Reference

#include <assert.h>
#include <highgui.h>
#include "pic_randomizer.h"
#include <iostream>
#include <sys/file.h>

Include dependency graph for pic_randomizer.cpp:

Go to the source code of this file.

Defines

#define M_PI   CV_PI

Functions

FILE * open_and_lock (const char *fn)
void unlock_and_close (FILE *f)
float rand_range (float min, float max)
void random_homography (CvMat *H, int *width, int *height, float min_angle, float max_angle, float min_scale, float max_scale, float h_range, float v_range)
bool write_descriptor (FILE *descrf, pyr_keypoint *k, long ptr)


Define Documentation

#define M_PI   CV_PI


Function Documentation

FILE* open_and_lock ( const char *  fn  ) 

float rand_range ( float  min,
float  max 
)

void random_homography ( CvMat *  H,
int *  width,
int *  height,
float  min_angle,
float  max_angle,
float  min_scale,
float  max_scale,
float  h_range,
float  v_range 
)

Definition at line 288 of file pic_randomizer.cpp.

References rand_range().

Referenced by pic_randomizer::gen_view().

void unlock_and_close ( FILE *  f  ) 

bool write_descriptor ( FILE *  descrf,
pyr_keypoint k,
long  ptr 
)


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