#include <Image.h>
Public Member Functions | |
Image (char *) | |
void | save (char *) |
int | valid () |
void | dim () |
darkens the entire picture so that marked points are more visable | |
void | markPoints (PointList &points) |
marks points on the image | |
void | smooth () |
gaussian smooth the image | |
void | display () |
for diagnostics, not utilized | |
int | verifyPoint (Point &, int radius=5) |
void | undistort (double k1, double k2, double u, double v, double alpha, double beta) |
undistort image according to the distortion parameters k1 and k2 and the principle point (u,v) and the ratio of focus lengths Alpha/Beta | |
Data Fields | |
IplImage * | img |
image data in the form of opencv | |
char | name [500] |
path and name of the reference picture |
class Image, Image.h holds image information as well as marks points and verifies points against said image points are identified by fitting a quadratic surface and then calculating the critical point things we might want to do to improve performance: interpolating between points
int Image::verifyPoint | ( | Point & | p, | |
int | radius = 5 | |||
) |
verify a point by fitting it to a 3-d quadratic function and finding the critical point this should not only verify that a point is what we want but also to improve accuracy